In relation to ROMs, what is a mirror? I see that on there a lot and don't know what they are and what purpose they serve.
Mirror is not a ROM term at all, but a web term. A mirror is a server that is hosting a file for download. The idea is that in order to either reduce load on the original server or expedite the download by allowing you to choose a server closer to you. The term mirror is derived from the idea that it is a remote server with an exact copy of the original file. Because of the mirror system being out of the original content provider's hands, a checksum of the download is usually provided to help ensure that the file has not been modified in any way.
lineman78 said:
Mirror is not a ROM term at all, but a web term. A mirror is a server that is hosting a file for download. The idea is that in order to either reduce load on the original server or expedite the download by allowing you to choose a server closer to you. The term mirror is derived from the idea that it is a remote server with an exact copy of the original file. Because of the mirror system being out of the original content provider's hands, a checksum of the download is usually provided to help ensure that the file has not been modified in any way.
Click to expand...
Click to collapse
Awesome. Thanks. Do you know how to check the 'checksum' or 'md5sum' as I've seen it? I'm working on the MacOS platform.
BTW - do you know how to get a term added to the glossary?
Not so sure about the "checksum" thingy, try searching the forums??
However, adding a word is as simple as going:
Settings > Language & Keyboard> Touch Input> User Dictionary> Add New OR you can just spell the word when you're texting (for example) and click the correct spelling instead of the suggested spelling, that adds it too.
Awesome. Thanks. Do you know how to check the 'checksum' or 'md5sum'
Click to expand...
Click to collapse
On linux and windows you go to file directory and type md5sum {file name}. Couldn't see it being different for mac, don't forget the .zip, .apk, etc. at the end of the file name.
Sent from my ADR6300 using Tapatalk
On mac the command is md5 (filepath)
HeroMeng said:
On mac the command is md5 (filepath)
Click to expand...
Click to collapse
I don't have my UNIX book in my office, but this sounds right. OSx is based on FreeBSD, so it has a md5 utility built in. Just open up the terminal and type the above command. On windows, you will need to download a project called unixutils, which can be found on sourceforge. The command is md5sum {filepath}. But in order to get this working you will either need to provide the location of md5sum.exe or add the wbin folder from unixutils to your path environment variable.
I have Mac and if I type for example this:
Code:
md5 /Users/kevinsimac/downloads/darchdroid-v265.zip
it returns
Code:
MD5 (/Users/kevinsimac/Downloads/darchdroid-v265.zip) = 9a7af785d5ba97bbbac1ea044c99b420
What's the whole purpose of the md5 in relation to our work here?
jerry43812 said:
What's the whole purpose of the md5 in relation to our work here?
Click to expand...
Click to collapse
As I explained above, the MD5 is usually included for files hosted on a server other than the content provider so that you can ensure that the file has not been modified. For example, I could volunteer to be a mirror for Fresh and if flipz didn't post the md5, I could add an apk into system that could do something like send me your location or a copy of all your e-mails or something else and you wouldn't know that I had modified the file since flipz handed it off to me.
Related
For those of you who want to customize wm6.1, here it a simple ROM kitchen to do so. Beginners, please wait for my GUI release. It is much simpler to use. This isn't that hard, but it takes a little bit of time on your side.
The basics:
All software and regedits are contained in folders called OEM packages. These are in the OEM folder.
All operating system stuff is in the SYS folder. I've also moved the shadow drivers here so you don't have to mess with them.
To make OEM packages:
Download ervius's package creator 5.4 from XDA-developers. Use this to open the cab file to convert into a package.
Copy the OEM package to the OEM folder.
Do NOT delete the OEM packages you don't want. You will choose them later in a different way.
NOTE: You can always download premade OEM packages from XDA-Develoers. There are tons of options.
If you want to make a regedit.
Create a new folder in the OEM folder and convert it into a package using Package Creator 5.4.
Open the RGU file inside with notepad
Edit like following. Note that this isn't the way to comment in regedit files:
Code:
REGEDIT4 <-----Make sure this is always the first line
------Leave one line blank here-------
[HKEY_LOCAL_MACHINE\Software\Example Software\Example Key] <----- Navigate to keys like this
"Example String" = "test" <-------- Write values with quotes. Strings are given with quote after the equal sign.
"Example Directory" = "Windows\\test.jpg" <------ Use \\ to indicate a \ between directories. Otherwise, the ROM build will not work.
"Example Number" = dword: 5000 <----- use dword: to indicate a number or hex value.
<----- You can add more reg entries after the first one. Make sure to specify a different key when needed
-----leave 2 lines at the end of file------
For Sliding Panels:
Leave ROM as it is.
For Neo interface:
Replace Chome folders and bronze folders in SYS folder with the ones attached below.
Select Neo Interface in the buildos step.
Build ROM:
start buildos.bat
when it opens packagetools+buildos, click on the buildos tab.
Click load rom and navigate and select the kitchen folder
Select which oem packages you want and then click Go.
Once it is done, close out.
Sit back and relax for a while so the batch file can build the ROM.
Self-explanatory from here.
Post any questions/problems here.
link: http://www.sendspace.com/file/ap9n8w
NOTES: The inlcuded T-Mobile Edition Package is my beta version. Feel free to build on it. You might also notice the empty placeholder folder for my N33D4SP33D Edition rom that I haven't worked on yet.
To make OEM packages:
Download ervius's package creator 5.4 from XDA-developers. Use this to open the cab file to convert into a package.
Click to expand...
Click to collapse
I found the program but get many errors when I start it up on my computer.. Im currently running Vista Ultimate. I went into control panel and changed the enviroment to emulate WinXP when the program runs and still get many errors..
Is there a vista friendly program out there or alternative available?
I'm running Vista Ultimate too and it works perfectly for me.
Attached is the version I have.
ND4SPD said:
I'm running Vista Ultimate too and it works perfectly for me.
Attached is the version I have.
Click to expand...
Click to collapse
Great! yours works thanks alot now to get my feet wet in all this lol
I got this error
'Error building default.hv and user.hv! (see imto "BuildOsX-log.Txt")
i can't see anything in there. What now. Thanks
Do you mean there's nothing in the BuildOsX-lot.txt? There should be. A few lines from the last, or the last line, there should be the registry file that messed up and on which line it messed up on. The file is given by the GUID, or that long string of numbers and letters that you see.
no, there is nothing what tell me what to do. so what should i do with that error.
i will make stick this thread.Hope next times will see some roms with this kitchen
Thanks tom. I'll make sure to post my GUI kitchen soon to let more people create ROMs a lot easier.
kormanb1123 said:
no, there is nothing what tell me what to do. so what should i do with that error.
Click to expand...
Click to collapse
what kind of things did you modify or add? Maybe I can help based on that.
I get the same error for the following:
InitRegistry FAILED in file ".\Registry\fcbf420c-04fd-478f-bd29-e4ab55973337.rgu" within a few lines of line 359.
ImportFromPackageListStrict: (RGUComp) !ERROR failed importing ".\Registry\fcbf420c-04fd-478f-bd29-e4ab55973337.rgu"
wmain: (RGUComp) !ERROR failed building DEFAULT hives
Looked through each App in the OEM folder until I found the matching rgu number, which in my case is the HTC DirectShow. Took that out of my ROM build, ran again and it states that it completed.
I think there is a problem with the directshow package. I'll check the registry entries. Until then, I think you might need to go without that.
This may sound like a stupid question, but hear me out. I have used BuildOS in the past for an Apache from PPCGeeks\PPCKitchens. Once the ROM is finished creating in that version it auto prompts to update your device.
After the ROM is done in your version, I then selected the Package Tool tab and pointed it to the "temp" directory and it did it's thing. Now I am at a loss for what to do next. I see a .nb file temp\dump\ROM directory but i don't see a .nbh file. Do I use the NBHTool even though PHOEB is not listed?
ND4SPD said:
I think there is a problem with the directshow package. I'll check the registry entries. Until then, I think you might need to go without that.
Click to expand...
Click to collapse
I'm not too worried about the directshow, I just that maybe the other guy was getting the error for the same reason so figured I would pass on my resolution.
Sorry, I guess I didn't completely read you post. For the HTC Rom Tool, use the exacalibur settings. Those are the exact same as the Juno.
all I have is o4_osxip.nb.exe in the temp folder no nbh is this the right nb. file I use with
htc tool I put exacalibur settings but don't no what to put in firmware contents
do I put o4_osxip.nb.exe in system and none in the ipl spl and splash and 0x800 radio
ok i did this
Build ROM:
start buildos.bat
when it opens packagetools+buildos, click on the buildos tab.
Click load rom and navigate and select the kitchen folder
Select which oem packages you want and then click Go.
Once it is done, close out.
Sit back and relax for a while so the batch file can build the ROM.
ok where is the rom all i have is o4_osxip.nb.exe in the temp
i have no file imgfs-new.bin in the temp all i have is 04_OSXIP.nb.exe and cecompr_nt.dll and CECompressv4.dll
and where would i look for the batch file
Thank you for your works, ND4SPD
but i can not download your kitchen, it says reached the 4G limit.
because i want to know is there any wrong method i used.
My issue is :
when buildimgfs, the total sections can not bigger than 1B200.
when i put too many files into the imgfs file, the buildimgfs will quit without any info.
but the 71M imgfs.bin have about 22000 sections.
do you have issue too ?
Is it because my PC have only 1G RAM, not enough to do the building?
@Hikey: I have that same problem too. It's the way t-mobile packaged the rom. I'm going to try using the dopod rom for the base next. It might be the PC too. I only have 1GB of RAM, maybe it isn't enough.
@kron2:
run buildos
download this zip: http://www.sendspace.com/file/xuhlc5
copy the files from the zip archive to the temp directory.
open up the cmd that's now in the temp directory.
type the following:
Code:
ImgfsFromDump imgfs-old.bin imgfs-new.bin
Sit back and relax. If this finishes without crashing like Hikey said, do this:
Code:
ImgfsToNb imgfs-new.bin 04_OSXIPN.nb os.nb -conservative
Now you can run the htccert program in the main directory of the kitchen to build the rom. When you are done making the nbh, copy it to the RUU folder and run the update utility.
You can find the latest version of this app on the slideme app store.
http://slideme.org/application/adfree
This is the old thread, I started a new thread in the general section => http://forum.xda-developers.com/showthread.php?p=40759351
================================================================================================================================================
Spoiled by ad free browsing on my normal desktop computer it became increasingly annoying seeing all the ads on my phone. However it's really easy to make them disappear, although you most likely will need root on the phone.
Download the hosts.txt file from http://www.mvps.org/winhelp2002/hosts.txt, you may need to run dos2unix over the file to remote \r characters, rename the file hosts and copy it to /system/etc on your phone and say goodbye to most ads.
You may find the list to be imperfect, for example some feedburner URLs are "blocked" as a result which can screw with RSS feeds, although it's annoying giving too much info to Google but like everything else in life some things are a trade off.
If you want to root your phone, try this article.
Thanks for this!
As soon as I read the topic title I realised what you were doing and I never thought of it myself.
My hosts file was /etc/hosts though, not /system/etc/hosts
Dark X Dragon said:
As soon as I read the topic title I realised what you were doing and I never thought of it myself.
Click to expand...
Click to collapse
I've been using this technique for a bit, just didn't think to post about it before did a quick search and noticed no one else had so thought I might as well
My hosts file was /etc/hosts though, not /system/etc/hosts
Click to expand...
Click to collapse
Doesn't seem to matter, I just checked the /etc dir and it has the same hosts file.
Actually, /etc is a symbolic link to /system/etc, so your hosts file is really at /system/etc -- however, accessing the file through either path is equivalent.
Ha ha hosts exists on android!? I had no idea. I'm also a spoiled ad-less pc user. This is great. Thanks.
If you can't download the file above (it appears as text in browser), replace .txt with .zip at the end of the url. This will download the zip file which u can later unzip with an unzip app in the market.
Ok. I can't paste over the original hosts file using the phone? Astro and lynda file managers don't do it for me. And yes I am rooted, running 1.5 dudes build. Can this be done only from a PC?
ShatBag1105 said:
Ok. I can't paste over the original hosts file using the phone? Astro and lynda file managers don't do it for me. And yes I am rooted, running 1.5 dudes build. Can this be done only from a PC?
Click to expand...
Click to collapse
You have a couple of options, you can download the terminal app from the market and use it, or you can use ADB to shell into the phone, or wait for someone to code an app to do it all for you.
For the time being go with installing terminal, then type 'su' to become root. That is unless you have a copy of adb handy, if you can 'adb shell' the following commands are the same, except you can copy and paste.
Then remount the system partition read-write.
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
Then you go into the etc dir
Code:
cd /system/etc
Then you can rm the hosts file
Code:
rm hosts
Then grab the hosts.txt file
Code:
wget http://www.mvps.org/winhelp2002/hosts.txt -O hosts
Always more than one way to skin a cat, but the above works for me(tm)
lbcoder said:
Actually, /etc is a symbolic link to /system/etc, so your hosts file is really at /system/etc -- however, accessing the file through either path is equivalent.
Click to expand...
Click to collapse
Ugghh, I read that ages ago but really didn't commit it to memory. It is now. =)
There's a fair chance I won't get around to it but I'm tempted to take this ad blocking further. Namely an automatic app but there might be more to add to it.
Thanks for the help delta. I figured it had to be done in terminal. And you know, this would definitely become very popular as an app.
I'm a dummy its etc not ect
delta_foxtrot2 said:
Then grab the hosts.txt file
Code:
wget http://www.mvps.org/winhelp2002/hosts.txt -O hosts
Always more than one way to skin a cat, but the above works for me(tm)
Click to expand...
Click to collapse
(I am using the terminal program on the phone)
Until the above step, no problems
After typing in the above I get the following message:
"bad address "www.mvps.org"
I checked for typing errors, tried it 3 times but get the same error message
Any suggestions please?
thanks
nyayo99 said:
(I am using the terminal program on the phone)
Until the above step, no problems
After typing in the above I get the following message:
"bad address "www.mvps.org"
I checked for typing errors, tried it 3 times but get the same error message
Any suggestions please?
thanks
Click to expand...
Click to collapse
Try it without the http://www. It might work like that. This is a lot harder than it should be lol. The g1 is putting up a fight!
ShatBag1105 said:
Try it without the http://www. It might work like that. This is a lot harder than it should be lol. The g1 is putting up a fight!
Click to expand...
Click to collapse
Thanks, but this didn't work either.
Some googling indicated a possible DNS issue.
So I looked up the IP address (209.68.48.119), substituted that into your instructions and presto, everything worked!
Many thanks for the ad killer option for the G1
Aah beautiful work. Just to clarify for newbs like me. The last line is (# wget http://209.68.48.119/winhelp2002/hosts.txt -O hosts). Make sure that -O hosts is a captialized O.
ShatBag1105 said:
Aah beautiful work. Just to clarify for newbs like me. The last line is (# wget http://209.68.48.119/winhelp2002/hosts.txt -O hosts). Make sure that -O hosts is a captialized O.
Click to expand...
Click to collapse
Yes, capital letter o, lower case o stores the output of wget into the file which isn't the desired outcome
I plan on suggesting the following URLs to the hosts.txt guy to block admob ads in apps
p.admob.com
analytics.admob.com
r.admob.com
In the mean time you can manually add it to the hosts file yourself, just copy and past from another line.
After updating the hosts file you may need to reboot or wait for the hostname to expire from the internal lookup cache, unless someone knows a quick way to flush the cache to speed up the process that is.
Thanks for this. Worked great for me. Very helpful tutorial.
Just uploaded "AdFree" to android market, this does all the steps I laid out manually at the touch of a button.
Its funny how
127.0.0.1 localhost
is the only thing blocked in the /system/etc/hosts file. lol.
andonnguyen said:
Its funny how
127.0.0.1 localhost
is the only thing blocked in the /system/etc/hosts file. lol.
Click to expand...
Click to collapse
That isn't "blocked" and in fact nothing gets blocked by the hosts file it just points hostnames to the local system, which usually has no web server running so the connection fails immediately.
However you MUST have localhost listed or various things will fail and cause all sorts of issues.
New version of AdFree is now up, I have the app adding the admob hostnames to the bottom of the list.
Hi, I am using the iskoot software, installed by an apk files. But I need to change a setting of this software, and in Windows Mobile I used to change the registry setting I need, but now, we do not have a registry....so what I am asking is, there is a way to unpack an apk files to see where and wich files it install? So that I can go there and edit the conf file I need?
Thanks!
alex_time said:
Hi, I am using the iskoot software, installed by an apk files. But I need to change a setting of this software, and in Windows Mobile I used to change the registry setting I need, but now, we do not have a registry....so what I am asking is, there is a way to unpack an apk files to see where and wich files it install? So that I can go there and edit the conf file I need?
Thanks!
Click to expand...
Click to collapse
apks are just zip files. Set them to open with your archive manager or change the extension to .zip. All applications install their settings into /data/data/%PACKAGENAME% where %PACKAGENAME% is the Java-style package name of the app.
Ugh, no need to use the evil "R" word here. You're going to give us nightmares!
Each application stores its configurations/settings in its home directory in /data/data as pointed out by the previous poster. You might want to bone up on 'sqlite3' as most configuration settings tend to be stored in such databases.
alex_time said:
Hi, I am using the iskoot software, installed by an apk files. But I need to change a setting of this software, and in Windows Mobile I used to change the registry setting I need, but now, we do not have a registry....so what I am asking is, there is a way to unpack an apk files to see where and wich files it install? So that I can go there and edit the conf file I need?
Thanks!
Click to expand...
Click to collapse
I'am trying right now to find this confing files, thanks, I'll let you know if it's ok.
Note that depending on what you are trying to do, the config files may or may not be able to adjust the property you're after. No matter what, the program itself must support what you are trying to do (this goes for ALL OS's -- you simply can't change something that is irrelevant and expect it to do what you want) and more often than not, the ability to adjust that property would be presented by the program itself.
That is, of course, not to say that manually adjusting the config files is useless, because there IS a lot you can do directly from the config files.
alex_time said:
I'am trying right now to find this confing files, thanks, I'll let you know if it's ok.
Click to expand...
Click to collapse
Er, delete please
Modify an " .apk " file in " .exe " file
Hi everybody ,
Please , does anyone know how
I can modify an Android Mobile File .apk
in a .exe to use it with Windows Mobile ?
ccpgclap said:
Hi everybody ,
Please , does anyone know how
I can modify an Android Mobile File .apk
in a .exe to use it with Windows Mobile ?
Click to expand...
Click to collapse
No, they have absolutely nothing in common.
Modify an " .apk " file in " .exe " file
Originally Posted by ccpgclap View Post
Hi everybody ,
Please , does anyone know how
I can modify an Android Mobile File .apk
in a .exe to use it with Windows Mobile ?
Originally Posted by RubenGM View Post
No, they have absolutely nothing in common.
Originally Posted by ccpgclap View Post
But I have found this and it doesn't work ....
Download APK2EXE and NSIS install system
Follow these steps to create your executable!
* Extract APK2EXE to a new directory
* Add your APK to the directory
* Doubleclick APK2EXE.NSI and edit the 3 lines containing information about your application.
* Right click the NSI file, and select 'Compile NSIS Script' - this will create your install EXE
* Done!
And it is a .apk to .exe converter !!!
Can anyone tell me why it doesn't work ? Many thanks
because your trying to run a Android application on Windows.
it's like saying I want to make this MAC application run on windows.. it just doesn't work..
I dont care what programs say.. Its not coded for Windows so it wont understand what the program does...
BTW you application you speak of is meant to install APK's FROM windows not TO windows
"Hot on the heels of my installAPK utility to let you install APKs from your Windows desktop, I now have another neat trick... which allows developers to distribute APKs as Windows EXE files instead."
boostnek9 said:
because your trying to run a Android application on Windows.
it's like saying I want to make this MAC application run on windows.. it just doesn't work..
I dont care what programs say.. Its not coded for Windows so it wont understand what the program does...
BTW you application you speak of is meant to install APK's FROM windows not TO windows
"Hot on the heels of my installAPK utility to let you install APKs from your Windows desktop, I now have another neat trick... which allows developers to distribute APKs as Windows EXE files instead."
Click to expand...
Click to collapse
shouldnt be too tough. just make a executable file that installs and configures adb, allows user to select apk or select a folder of apk's, create a .bat file that tells windows command prompt adb push the .apk to the sd card, then adb install /sdcard/nameofapk.apk
simple enough!
Can anyone tell me how to edit the app / extracted APK file to make the phone think it's a completely different app i.e. install it twice...
Not trying to cause trouble, I'm just looking to install an older version of an app as well as the updated version...
RichCowell said:
Can anyone tell me how to edit the app / extracted APK file to make the phone think it's a completely different app i.e. install it twice...
Not trying to cause trouble, I'm just looking to install an older version of an app as well as the updated version...
Click to expand...
Click to collapse
apk manager will let you
Asadullah said:
apk manager will let you
Click to expand...
Click to collapse
Thanks for replying, I've had a go with that and extracted / decompiled, compiled, signed, and that doesn't work, when I try to install the newly created apk it still tries to overwrite it...
I've watched the vid and read the comments but haven't worked it out yet... Can you point me in the right direction about which bit to edit?
i think you need apktool
Cool, I'll look into that... Any pointers on how to do it once I've got apktool?
command line usage, this tool unpak and repak
One of the things I've been trying to do is get a browser to always load the google mobile version of a website (basically load http://google.com/gwt/x?wsc=URL_GOES_HERE).
I know enough java that from the stock browsers source files that all I have to do is edit line 649 in BrowserActivity.java to say
url = new StringBuffer(url).insert(0, "http://www.google.com/gwt/x?wsc=%3a%2f%2f").toString();
however when i try to load the browser source files into eclipse I get about 500 errors due to dependencies on other java files built into android. If anyone could either
a) tell me how to compile the updated browser
or
b) tell me a browser that automatically loads the google mobile version of websites
i'd greatly appreciate it.
apktool(http://code.google.com/p/android-apktool/): unpack/rebuild the binary apk file directly.
arda99 said:
apktool(http://code.google.com/p/android-apktool/): unpack/rebuild the binary apk file directly.
Click to expand...
Click to collapse
How can I convert it to source while using that. When I do the source files are all in smali not java, which have different code (and much less, making believe its not even fully decoded)
yes, its not java but you should be able to find the corresponding string and just modify/repack. I didn't check the specified browser file hopefully it works.
arda99 said:
yes, its not java but you should be able to find the corresponding string and just modify/repack. I didn't check the specified browser file hopefully it works.
Click to expand...
Click to collapse
I couldn't find the correct line I wanted but thanks for trying. A temporary solution i've found is to set google.com to its on gwt version and then just search for url's rather than enter them. Links retain the gwt format so its a sort of work around for when I want a faster browser (pages load much faster using this method and the formatting is a bit better if you wish to zoom in on text)
With the extent you need to check hash numbers I have a solid tool I use for verifing files md5.
http://implbits.com/HashTab.aspx
Haxcid said:
With the extent you need to check hash numbers I have a solid tool I use for verifing files md5.
http://implbits.com/HashTab.aspx
Click to expand...
Click to collapse
That's convenient... I've been using this:
http://etree.org/md5com.html
Or maybe I'm a liar. I have no idea where my md5sum.exe comes from. It works the same as the linux one.
I can't remember the name of the one i used to verify the md5sum for cwm. It's just an exe that you drag the file over and it pops up w/ a window that says the md5sum and date created and some other stuff.