yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Schmich:
If you've installed Darky's Rom 8.1 you've most likely lost Root as I had. So do the following:

old post (not relevant anymore):

Same here. Root explorer only shows this:

/efs

5.01MB used, 935K free, r/w

..

Parent Folder.​

Any ideas?
[Galaxy S I9000 Android Development] AllGamer:
make sure you are able to see hidden files
[Galaxy S I9000 Android Development] Schmich:
I don't want to pollute this thread but can someone be a bit more specific on what to do on the "simple" unlock shown below

I.e. "changed too nv_data.bak" means he renamed nv_data.bin to nv_data.bak

OR did he delete nv_data.bin and renamed .nv_data.bak to ny_data.bin?

I don't have nv_data.bak.md5 but I do have .nv_data.bak.md5 should I delete this other file?

(I don't mind the hex editing way but if there is a simpler way I'll try it first)
[Galaxy S I9000 Android Development] arvinghost:
hey guys i am just wondering would this instruction help getting verizon samsung fascinate to be on sprint network and data working?

i have my fascinate on sprint already but i just never can get the 3G icon to come up
[Galaxy S I9000 Android Development] mmetais:
hello, excuse me I am completly new with SGS

where can I find these 2 files ? (internal card ??)

thanks for your reply
[Galaxy S I9000 Android Development] CaracalSef:
I used root explorer to get nv_data.bin on PC. Then got eXchange.rar, putted nv_data.bin from the phone in the same folder with Reparation_nv_data.jar nv_data.binvierge from eXchange.rar, ran Reparation_nv_data.jar, putted some 8 digit random numbers in filed one and two (different ones), copied nv_data.binvierge back to phone, renamed it to nv_data.bin, deleted EVERYTHING from /efs folder BESIDE nv_data.bin and .imei. Then got the battery off from the phone (not turning it off from power button), left like that for 5 seconds, back in, power on...TADA! Phone unlocked :D

It has to be rooted.

This is a method from razvang :) in romanian.
[Galaxy S I9000 Android Development] graison:
Post #2 worked for me
[Galaxy S I9000 Android Development] mmetais:
unlock sim SGS

thanks but I am completly new wit SGS, where can I find these two files "nv_data.bin.md5 and nv_data.bak.md5" in my SGS ?

thanks for your answer
[Galaxy S I9000 Android Development] greeced:
Question about unlocking i9000m

Hello

I just had a new phone shipped to me with JH2 on it. I downloaded sgs unlock and it gave me the unlock and unfreeze codes no problem.

My question is, if i upgrade to JL2 will these same unlock codes work after the upgrade or should i unlock beforehand?
[Galaxy S I9000 Android Development] greeced:
Not sure why these other two posts were bundled with my question, but

I would still like to know if the unlock codes obtained from Jh2 will work if i inputted them after i upgrade to jl2.
[Galaxy S I9000 Android Development] AndroIrish:
I used Galaxy S Unlock from the market on my Galaxy S with custom rom on Froyo 2.2.1 and it worked perfectly. I clicked option 3 (Phone sold on 2.2), even though I bought it with 2.1, there was a small freeze then the phone rebooted on its own.

Logged back in, everything is fine.

I checked that the phone was locked (it was obviously) before and after that it was unlocked with this:

*#7465625#

Make sure you do step 1 too first, it will save your EFS partition (just in case it does not work on yours...).
[Galaxy S I9000 Android Development] lkh5650:
Hi So I am trying to unlock my phone using this thread.

I rooted the phone (using the one provided here)

then successfully obtained the nv_data.bin file (using the unlock1.bat file on the website (step 4))

then i changed the code to fido 370.

However, I can't seem to upload that modified bin file to the phone.

I tried using ADB (i have sdk-android thingy installed, and can run adb no problem.) but it will give me permission error.

i tried

adb shell

su

chmod 777 ....

gives me permission error

adb shell "mkdir /sdcard/efs"

adb push nv_data.bin /sdcard/efs

adb shell

su

ls -l -a /efs

gives me permission error..

so i dono what to do anymore.

I can try installing the terminal thingy on my phone using android market however I do not have wifi at home or at work :(:(O:(:(:(:(

so unless someone uploads me apk file and I install it using ADB (would it give me permission error to install the apk file?) i dono how I would do this..

please help!
[Galaxy S I9000 Android Development] lkh5650:
oh

I also tried step #3 outlined in this thread

http://xdaforums.com/showthread.php?t=761045

when i do this step

rm /efs/nv_data.bin

it will give me permission error :(
[Galaxy S I9000 Android Development] lkh5650:
to update

i got it working

i went to starbucks used their wifi

downloaded terminal emulator

did the code!

some code i did it in command prompt and some in terminal emulator

(since terminal emulator can only do stuff in adb shell i think)
[Galaxy S I9000 Android Development] vatovec:
I have ulocked my SGS locked on mts in Serbia!

I was trying this method http://xdaforums.com/showthread.php?t=761045 but i have been getting errors and it didnt worked for me but this!!

Brilliant!!!!

Question: how can I lock my phone if I need to do so?

Can I copy the original nv_data.bin (which I got from the phone when it was lock) back to efs fplder and delete other files beside nv_data.bin and imei and puul the batery out.

Will this return sim lock?
[Galaxy S I9000 Android Development] kintamanate:
None of these posts seem to work for me...

I have a Telus Samsung Galaxy S Fascinate (SGH-T959D) running on Froyo 2.2. TLJL3.

I have it rooted, I can navigate to and copy nv_data.bin to my PC and open it in a hex editor. Nothing that resembles numerical digits show up anywhere near that address. All I have is FF FF FF, etc etc.

I tried "deleting" (renaming them to .bak) nv_data.bin and md5, granted it doesn't ask me for a SIM unlock code, but it also fails to recognize there is even a SIM card inserted into the phone now..

I tried using the BusyBox/Galaxy S unlock. BusyBox simply fails to install itself. the Galaxy S app doesn't seem to think I've installed it onto a Galaxy S either.

All around bummer. I...may or may not update if I find a solution.

//update//

renaming the .bak files back to their original names got SIM card recognition back - and the SIM network unlock PIN request back.

Still no unlock code found...
[G2 and Desire Z General] setspeed:
I'm getting quite annoyed at my phone's lack of RAM.

I browse the internet and constantly open new windows (up to the max 4 allowed by the HTC browser, but that's another story) so that I can quickly go back a page when I need to.

If for some reason I go and use a couple of other apps on the phone, and then come back to the browser I constantly find that the oldest 3 pages have dropped completely out of RAM, and the 4th one has as well, and that last one alone loads up again.

This is annoying, time-consuming and messes up my browsing session. Is there some way I can prioritise the browser so that most other apps get killed off before it does?
[G2 and Desire Z General] bahmanxda:
Try using firefox instead on the defualt browser .its not perfect yet but its getting

better and better with every beta release .
[G2 and Desire Z General] setspeed:
I don't think an alternate browser will help with Android unwantedly killing off processes.

Incidentally, I tried Firefox a couple of months ago and found it to be completely unusable - I take it it's worth checking out again now then?
[G2 and Desire Z General] ianmcquinn:
Another possibility is to set the Android memory manager to be less aggressive in removing things from memory (you can use an app like AutoKiller to change the settings easily---try tweaking the settings to see if helps with your usage model).

I know AutoKiller will also allow you to lower the oom value for the process (the lower the oom, the less likely the memory manager will kill it in the background), but I don't think this will help for the browser (since the OS will dynamically change its oom each time you bring it to the foreground and send it to the background again). If someone knows a way to make the oom value permanently lower, that sounds like exactly what you want.

Maybe someone else has some ideas. I know often times launchers will have the option to keep themselves in memory, and CM6 has the option to keep messaging in memory (more like your situation), so it should be doable.
[G2 and Desire Z General] bahmanxda:
defo ,its much better now i figured since you were annoyed by 4 tab limit

you might find firefox helpful. because it doesnt have limit or if it does its more than 4 for sure also it has an aption called (your tabs from last time) which again i think

you will find it usefull ,you can also sync it with you pcs firefox too .

EDIT: I just tried it to make sure, even if you reboot your phone

and open firefox again you can just press on (your tabs from last time)

and it will restore them all.
[G2 and Desire Z General] mejorguille:
The way I see it there are a few things you can do...

Firstly, you could try a renice script. It does what other people have suggested and changes the oomph value to what you like. It was commonly used on the g1 for the dialer so that you wouldn't miss phone calls lol. Its easy to do if you know the syntax, I would make you one myself if I was near a computer lol.

Another thing you could do is try an aosp/CM based rom, as those generally have much, much lower ram usage compared to sense.

Lastly you could try a different browser. There are so many to choose from I'm sure one will fit your needs.
[G2 and Desire Z General] mr.boonet:
I use autokiller on my DZ, you have to have root to use this tho... quite satisfied about it, almost all the time 90+ free ram even when doing heavy stuff... quits the unused shizzle...

cheers
[G2 and Desire Z General] gbarayah:
I HIGHLY recommend Dolphin Browser HD.

It is significantly faster than the stock Browser and I have had no issues with Android closing it down. One feature I like is that there is actually an 'Exit' button in the menu for those individuals who have OCD like me and don't like the Browser running in the background when not wanted.

Thus far, this is the best mobile Browser I have used. That being said, I have not tried Firefox and have been a regular user of Opera Mini in the past on other devices.
[G2 and Desire Z General] mr.boonet:
You should try miren browser once, i'm using it now instead of dolphin hd, and there is a exit button in the menu to. I think its better styled, it has got all the features of dolphin HD without all the bloating around... no gestures tho

cheers
[G2 and Desire Z General] TheMan42:
I think its more of poorly optimized software because im pretty sure that google devs don't even utilize the full 512mb of RAM in 2.2. Chances are its the HTC sense limiting you.
[G2 and Desire Z General] steviewevie:
Yeah I don't think this issue is anything to do with a lack of RAM.
[G2 and Desire Z General] setspeed:
I may try another ROM, however I'm just not up for flashing all the time like I used to with my old Desire or G1 before that. I want a 100% working ROM, preferably something that allows overclocking with a kernel that doesn't break stuff.

And I also want my HTC phone dialler/contacts as well, not vanilla or a cheap copy from the Market. Oh, and I hate the vanilla lockscreen - it's just hard to operate compared to the Sense one. I don't know why it's so hard to unlock side to side on Android - the iPhone takes a little flick and it's unlocked - vanilla Android is like a mission to ensure I've dragged it far enough across to unlock.

And I don't want my keyboard or capacitive keys or quick keys mullered up (I am running a Euro DZ).

If these issues can be dealt with easily when setting up the ROM/phone then I'm prepared to devote a little time to doing it.

So - any suggestions, please? :-)
[G2 and Desire Z General] convolution:
dont use htc sense roms.
[G2 and Desire Z General] mr.boonet:
I'm running the virtuous sense rom with his advanced kernel, ive ran the normal rom about 2 weeks, and ive yet to see differences other then a huuuuuuuge speed increase... i would just try it once if i were you its such a relieve...
[G2 and Desire Z General] flinkisme:
I played with the latest over the weekend. I ended up uninstalling it. I'd hit a page with scripting and then firefox would lock up and crash.

Web2Go isn't perfect, but at least it doesn't crash as often.
[G2 and Desire Z General] bongd:
This has nothing to do with RAM. This phone handles RAM just fine. Use Miren and thank me later. It's the best browser by far! :cool:
[G2 and Desire Z General] setspeed:
No text reflow = showstopper.

Unless I'm just being blind, I can't find any way to enable this in the settings for Miren.
[G2 and Desire Z General] SuperDave81:
It's sense. Sense roms use way more RAM than vanilla roms do. Also check out dolphin HD or dolphin mini browser.
[G2 and Desire Z General] setspeed:
Another issue I'm having which points to lack of RAM (whether this is due to Sense sucking it all up or not) is that programs do not stay in in RAM for that long, ie I go away from an app then return after using a few other apps (not massive games or anything) and when I return the first app's UI has been kicked out of memory and has to load up again, causing anything between a momentary (dialler, mesaging) to an annoyingly long (browser, maps, market) white screen, as data is downloaded again.

People talk a lot of sh*t about the iPhone, but cacheing (caching? sp?) a copy of the last screen for each app before it's closed so you instantly get a visual image of the UI of the app following the opening animation is a pretty good idea IMO.

Has anyone here used the Desire HD? I would think with the 768MB of RAM on that badboy this would be less of a problem.
[G2 and Desire Z General] setspeed:
I've now installed Enomther's Official rom - what a difference to the speed of the phone! It absolutely flies, even when clocked at a lower CPU speed, and it appears to retain stuff in memory a lot better than the standard Sense rom. Also, there's over 100MB more of free RAM afte a fresh boot.

I'm definitely sold on the efficiency of stock Android, but I'm now missing some of my HTC goodies... I don't think anyone can deny that the HTC dialler is a different level to the rudimentary Android one. And I am missing my HTC browser - that seems a bit smoother, and the text reflow is more reliable, the stock browser seems a bit temperamental on that front.

Other than that, I can live without all the other Sense stuff. So my next question is, can the dialler and browser be installed on my new rom? Do they have any dependencies which would prevent me using them? How would I go about ripping the apps from the HTC rom? I'm an ADB noob so I need some kind expert to tell me how :-)
[G2 and Desire Z General] wtang:
I believe the HTC Dialer is included the Enomther's Official ROM. It isn't installed by default, but you just need to go into the Spare Parts app and install it. Then you have to reboot and... TA DA!

Thank me if I'm right :-)
[G2 and Desire Z General] setspeed:
Sadly not, there are some HTC apps available to install but it's rubbish like HTC Flashlight and Music :-(

I've thanked you anyway though, I didn't even realise all those options were in Spare Parts! I've got rid of some of pre-installed stuff that I don't want.
[G2 and Desire Z General] setspeed:
You're absolutely right. I've now been through a few ROMs (CM, Enomther's Official, MIUI) and they all run smoother and keep more apps in memory than the stock Sense one.

So I'm now trying to solve the abysmal battery life I seem to be getting on CM... :-(

Can anyone answer my earlier question, about if it's possible to get the HTC browser and dialler running on a vanilla ROM? Or are they dependant on other Sense stuff running?

Or, alternatively, can I disable a load of services and stuff on a Sense ROM so it runs better, perhaps using Titanium to freeze stuff or some sort of startup manager?

Advice from anyone who has can clue me in on either of these two ideas would be greatly appreciated.
[G2 and Desire Z General] setspeed:
I've now got over my Sense addiction. It just rapes your phone's resources - vanilla(ish) is the way forward. I can live without the pretty browser (which only allows 4 open pages - ugh!). As for the dialler - I do miss it, but not so much that I'll cry over it.
[G2 and Desire Z General] The Solutor:
Use operamini ! is waaaay better than anything else.

Use a stone age browser jus when you absolutely need it (eg flash pages, rapishare/megaupload, anything with a contdown)
[G2 and Desire Z General] daaango:
You guys have probably moved on already, but Miren does have text reflow. Only catch is you have to double tap to do it, you can't use two fingers to zoom in if you want to text reflow. May be annoying for you, but I like it that way. Gives me more control
[G2 and Desire Z General] setspeed:
Yeah, I'm kinda thinkin you have that the wrong way round - Opera Mini is the (admittedly fast) stone-age browser here. I can't be arsed with switching back and forth between browsers depending on what I'm doing/browsing, I just want one that handles everything, and Opera Mini can't... Might as well just get an iPhone if I wanted a crippled browsing experience!
[G2 and Desire Z General] The Solutor:
We must have different definitions of "crippled" browsing
[G2 and Desire Z General] setspeed:
I guess we do!

Still, thank the little green robot we can all get what works for US as individuals, rather than being told by Jobs what we have to use! :-)
[G2 and Desire Z General] The Solutor:
I'm not so optimist, google is just a big brother like others, is a better big brother *now*, but can be way more dangerous than apple in the future.

Basically Jobs wants "just" your money ( a lot of money) and a bit of adoration, google wants your life.

The folks @apple had already changed their minds about "thinking different" so what do you ting happens when the folks @google will change their ones about "don't being evil" ?
[G2 and Desire Z General] setspeed:
I'm fine with Google selling my eyes and profiling my habits to make a buck. Rather that than keep pay pay paying all the time to Apple, for less functionality and a forced way of using MY device. I'm happy having a choice.

And the day that Google starts trying to shaft customers and shaft developers like Apple does, well then that's the day I'll reassess my use of Android. Until then I'm more than happy with the deal I'm getting.
[G2 and Desire Z General] lainvalenajr:
Lol company's are company's. They all want money
[G2 and Desire Z General] xandermpls:
Dolphin browser is the best
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] gileneusz:
Hi,

We have been waiting for it so long :)

Now we start to hack win7 :D

Enjoy!
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] criszz:
my revolution started yesterday. i have 30 hours with wp7
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] berbecverde:
Mine started yesterday too, but i think it is going to end today.

Only thing i like is the 720p recording.:p
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] phoenixtraveller:
Give it a chance - augmented reality coming out soon - toolkit etc out.

But take note when flashing droid-wp6-wp7: to CLEAN or fkhd2 forever:

.....LIVE!
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] tkato:
I Really like WP7 for some reason... I Bought the HD2 for Android and just fell in love with WP7, it's so smooth, just a really great system, too bad it does miss some key things like c&p, but nothing really bugs me, the only serious issue is the RTL one, which can't be solved.
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] Aternus:
What are you talking about? WP7 supports RTL out of the box...

The only thing that is missing is a Office Suite counterpart that supports RTL, I'm sure somebody here can get it working.
[HD2 Windows Phone 7 Q&A, Help & Troubleshooting an] Braincrack:
Hey guys,

have anybody the same problem that the htc EQ in the Market change nothing???

The sound of Zune without EQ is very terrible :(
[EVO 4G Q&A, Help & Troubleshooting] drummer2780:
Ive been trying out new different launchers.. and i want to set it to default for a while.. to try everything out on the launchers.. but when i want to go back to HTC SENSE.. where do i go to, once i already put the launcher as a default?

last time i just had to uninstall the launcher to go back to the htc sense.. lol

PLEASE HELP.. quick question.. thanks
[EVO 4G Q&A, Help & Troubleshooting] mattykinsx:
Settings > Applications > Manage Applications > Pick HTC Sense and click reset defaults
[EVO 4G Q&A, Help & Troubleshooting] xlGmanlx:
settings - applications - manage applications - all - find your current launcher - clear defaults
[EVO 4G Q&A, Help & Troubleshooting] drummer2780:
Thanks.. but the button for CLEAR DEFAULT is grayed out.. cant press it :/
[EVO 4G Q&A, Help & Troubleshooting] mattykinsx:
Not to insult you but are you sure you picked HTC sense?

Cause I just did it on my freshly format phone, with no other launcher installed, and it wasn't grayed out.
[EVO 4G Q&A, Help & Troubleshooting] drummer2780:
Lmao.. yea i pressed HTC SENSE.. theres gotta be another way no?
[EVO 4G Q&A, Help & Troubleshooting] drummer2780:
Oooh.. nevermind i got it.. i was suppose to go to the launcher im currently runnning.. and press it there.. CLEAR DEFAULTS.. Hey thanks anyways i appreciated!!
[EVO 4G Q&A, Help & Troubleshooting] mattykinsx:
Well, if you uninstall whatever launcher you are using, then the next time you hit the home button it will ask which to use and it will have a check box to set whichever you choose as default.

Also, you could download a default controlling app from the market.
[EVO 4G Q&A, Help & Troubleshooting] drummer2780:
I just read your first reply and i didnt read carefully.. u put PICK CURRENT LAUNCHER. THANKS!!!
[G1 Android Development] nephron:
Hello there,

Im trying to create my own file explorer (a very stripped down one) with root privileges just to learn how to code for android. Anyways, i am able to access my /system folder and look in every folder besides the /data folder. There are no subdirectories... its just empty. When i check through ADB or through terminal emulator, i can see al the folders in the /data folder. So what am i doing wrong???

I have this setup for now,

final Runtime runtime = Runtime.getRuntime();
try {
runtime.exec("su");
}

just go get root access, but i dont even know if thats correct. The app asks for root permissions and i can accept it but i still cant view the /data folder...

I also tried

runtime.exec("mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /data");

and

runtime.exec("mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /data");

and still nothing...
[G1 Android Development] Firerat:
you don't actually have root

adb shell

# ls -l
drwxrwx--x 1 system system 2048 Jan 9 22:30 data
drwxr-xr-x 1 root root 2048 Jan 13 10:42 system

data is owned by system, and can only be read by system ( and root )

system is owned by root and can be read by everybody

you executed su

which got you root, but it didn't actually do anything, your app did not inherit root permissions
[G1 Android Development] nephron:
Hmmmm alright. Well what i can do to make my app inherit root permissions?

edit:

I was able to view the contents of /data by changing the permissions on the folder itself using:

runRootCommand("chmod 555 /data");

which would make it read-only and

runRootCommand("chmod 777 /data");

which would make it read/write (i think, maybe 755?)

where runRootCommand is :

public static boolean runRootCommand(String command) {
Process process = null;
DataOutputStream os = null;
try {
process = Runtime.getRuntime().exec("su");
os = new DataOutputStream(process.getOutputStream());
os.writeBytes(command+"\n");
os.writeBytes("exit\n");
os.flush();
process.waitFor();
} catch (Exception e) {
Log.d("*** DEBUG ***", "Unexpected error - Here is what I know: "+e.getMessage());
return false;
}
finally {
try {
if (os != null) {
os.close();
}
process.destroy();
} catch (Exception e) {
// nothing
}
}
return true;
}