yashsingh1/xdaforums huggingface dataset:
[Desire HD General] thodges999:
Following receipt of my new Desire HD (T-mobile UK) I decided to unlock it.

After some (too little!) research I went to edited... who promised on the first page of their website to;

I registered on their website, bought my credits (...., downloaded the software, entered the details given, received a password and login, entered this and then got an error message. (Convoluted process)

After a little while on email and live chat I was asked to send all my details by email, which I did, and was then told that mine is a 'new' phone and was referred to .... which advised me it would cost an additional...to unlock this 'new' phone.

Feeling somewhat aggrieved at this approach I promptly asked for a refund and after several hours received one. To be fair their communication was reasonably speedy and they have refunded my money.

I don't know whether this is a cynical scam or just a failure to provide customers with all the required information but either way I wont be using them again.

I now carried out some more research and decided to try .... who although they advertise a 'Best Price .... when you enter your phone details for a quote clearly show that for the HD it is .....

This is slightly more than ..... initial offer but much less than the final......and having entered my details on their website and bought the credits, I received my code within 5 minutes which worked faultlessly.

There is clearly a small issue (mainly cost) with unlocking recent HTC phones so please beware.

PS I think the HD is awesome.
[Android Apps and Games] dbzfanatic:
Post 2

[reserved for updates, explanations, pictures, present/future tweaks in progress, etc]

Pictures:

Superuser list,Marketplace (I like solitaire><), Terminal with su permissions, and re-rooted Terminal
​

Tweaks:

1: root (done!)

2: busybox (done!)
[Android Apps and Games] atoml:
Wow nice....
[Android Apps and Games] dbzfanatic:
Thank you :) the root resets after reboot, working on making it stick but its not hard to do it again, just start with the "-wipe-data" command and redo the root, market works after reboot though. Still working on getting a dumped system.img to boot, ill post that in its own thread when i get it. Glad you like this.

Edit: see first post on how to get root back,no data-wipe!
[Android Apps and Games] bcbaluga:
so cool!! Good job man!
[Android Apps and Games] dbzfanatic:
Thanks ^_^ let me know if you find any problems that I haven't already mentioned and I'll see if I can fix them or if they're just an emulator quirk.
[Android Apps and Games] dbzfanatic:
Sorry for the double post but I wanted to let you all know busybox is now included! Installation can be performed through scripts (included in the "Emulator Files.rar" archive) or manually. If you wish to do it manually simply open the script in a text editor to see what's going on and enter the commands in a command prompt/terminal window.
[Android Apps and Games] ropi313:
I'm not able to make this work, not with a toolkit downloaded yesterday anyway.

Pulling of build.prop works, but pushing fails with a directory related error.

"adb shell" followed by "cd /system" and "ls -l" gives a list of files that does not include build.prop, neither as a file nor as a directory.

"ls -l build.prop" works though, and lists a file with 0644 permissions.

Install of all apks different from Gmail fails, with an error that says that those apks are already installed. Uninstalling them through adb doesn't work, netting instead a simple generic error.

Does anyone know whether I'm doing something wrong or Google has modified the emulator images so to render the Market workaround unusable? If so, where could I download an earlier version of the 2.2 system image?

Many thanks

Rocco
[Android Apps and Games] dbzfanatic:
I actually had this issue as well. Try re-making the avd, worked for me. You could also try running the scripts to install, might work. If it doesnt post back and ill post the system.img from my sdk.
[Android Apps and Games] Pickx:
I have the same problem as ropi. Remade the avd several times with different properties, still no go.

I would really appreciate it if someone could upload a fully set-up avd somewhere.
[Android Apps and Games] ropi313:
I'll try again late this afternoon (I'm on CEST). Hope it works. If not, I'd be happy too if some kind soul would upload a link to a working avd :)

Thanks for the kind help

Rocco
[Android Apps and Games] dbzfanatic:
I have no idea why people are having so many problems :/. I had the problem and once I remade the avd it went away. Try starting with the -partition-size 96 option and see if that helps. If not here are the files, just extract to your avd directory, it has the ini and img files you need and it's already setup. Just run re-root to get root back and sign into market and you're good to go.

http://hotfile.com/dl/79959332/3efbade/froyo-avd.rar.html

Edit: I just downloaded the latest revision and everything seems to be working fine :/ As I've said before try starting with -partition-size 96 and also try using the scripts I've provided. That should fix the issues, but if it doesn't there's always the hotfile link I've provided :P (or if you're just lazy lol)

Edit 2: also,just thought of this, make sure before you push the build.prop you adb remount. Pulling will work fine without doing that but pushing won't. No one said if they had done this and still received the errors so I'm trying to cover all bases. If remount fails try the adb shell mount command posted on the first page.
[Android Apps and Games] Pickx:
Thanks dbzfanatic, that avd worked great.
[Android Apps and Games] dbzfanatic:
Glad it worked for ya. Let us know how everything works.
[Android Apps and Games] atoml:
:( A lot of apps can not be found in the Market :(... I cannot find Lookout....
[Android Apps and Games] dbzfanatic:
Yeah, I've mentioned that,firs post. It's a known bug. Nothing I can do to fix it at the moment. You could download the apk on your phone then pull it then install it in the emulator. Bit of a roundabout way of doing things but it's all we can do on the emulator for the time being, at least from what I know.
[Android Apps and Games] dbzfanatic:
Ok after a bit of poking around (sorry it took so long) I found out a bit about the market. It seems it's not just your region that it uses to show apps but things like your carrier, presence/absence of a SIM card, Android version, etc. It uses the filters to choose which apps to show and which to exclude (not showing an American user Japanese apps, not showing someone on Verizon T-Mobile apps, etc) so this explains part of the problem. I also found out that the SIM card and IMEI numbers were(are?) hard-coded into the emulator binary, changing these may allow us to see a few more apps. I looked through the binary file a bit and didn't find anything but I'll look more closely in a bit (new job, yay <- read as "groan"). I don't know how to emulate or spoof a carrier so that will still cut us back on some of the apps being seen. If anyone knows how to do this please post here and let us know! It would also be beneficial if a user who has already modified their IMEI and SIM numbers in the emulator to compare the apps list to the one you see in the standard, non-modded emulator binary and let us know if there is a difference or not. The more apps we can see in the marketplace the better!
[Android Apps and Games] Pickx:
Just wanted to confirm that I've tried Market Enabler a few days ago and it doesn't seem to work.
[Android Apps and Games] dbzfanatic:
Alright thanks for the feedback. Ill keep working on it.
[Android Apps and Games] ropi313:
Despite several tries, I've so far been unsuccessful in using this method to install the marketplace on a 2.2 avd. Many thanks for having provided ready-made avds, then!

I've been able to install marketplace on the Galaxy Tab images provided by Samsung, though!

Keep up the good work
[Android Apps and Games] dbzfanatic:
They give you system.img files though don't they? This is using standard emulator files but yeah the procedure should work the same for any bootable avd.
[Android Apps and Games] dbzfanatic:
Small update: If you are using an emulator with a system.img file you should be able to change the scripts or install method for root to place su and busybox in /system/bin instead of /system/xbin, it should stick but I'm not going to test (no time at the moment, and I'm working on a no system.img project) so if anyone wants to try this out and let me know that would be great. Also, before anyone points this out, yes I know that the emulator loads a default system.img whenever it boots but I'm referring to a different one, one you manually install/place/create. That is why I say "no system.img" file is needed. You don't need anything but the default image to get this to work.
[Android Apps and Games] Leandros_Ger:
Can't copy anything to /system because adb said "no memory" why? How can i fix it?

Edit: I fix it with -partition-size 96 ;)
[Android Apps and Games] lil-devil:
Thanks for getting the market place to work!

but i'm having a little trouble, some of the apps i try to install it gives me "Missing Shared Library" any idea how to fix that?

Thanks~

Btw

where do you type the partition-size 96 at? adb shell

what am i missing there? thanks~
[Android Apps and Games] psychoph:
I think partition-size is cache partion size when you crate the device but I could be very wrong there.

I set mine above the 66 mb and i don't get the out of memory error i instead get

failed to copy './build.prop' to '/system/build.prop': Directory not empty

I can't find anything telling me what this means or how to change things.
[Android Apps and Games] dbzfanatic:
Partition-size is for starting it. Like

emulator @test partition-size 96

As for the missing libraries I'm not 100% sure, just try installing basic frameworks. What apps are you trying to install?

Ps, sorry for delays but my nets off, dont know when itll be up again. Posting at a friends house.
[Android Apps and Games] lil-devil:
heya, no problem

for example pingchat won't install
[Android Apps and Games] dbzfanatic:
Well I have no idea what pingchat is so I can't help with that, all I can think is maybe some rendering libraries are missing or something. Try going through system/lib on ur phone and on the emulator, see what's missing and transfer the missing files over. Let us know if that works for you.
[Android Apps and Games] dreamss:
any chance anyone knows a workaround? the actual market install process went without a hitch but cant find tge app i need
[Android Apps and Games] lil-devil:
the only folder i'm missing is "d" and "sd-ext" (i think thats only for app to ext things, correct me if im wrong =x)

but i still can't move any things to the system i get "system out of memory" i tried changing the partition to 96mb still doesn't work~

Btw pingchat is a chating app, if you have time do you mind seeing if it works for you? Thanks~

i notice when i remade my avd, different apps appears at different time. but if that still doesn't work try installing slideme
[Android Apps and Games] dbzfanatic:
For the "system out of memory" make sure you use partition-size 96 and mount the system with the mount command. Otherwise your /system directory is read-only and it'll say "out of memory" even if you aren't.
[Android Apps and Games] lil-devil:
sorry for being so slow and confused but

i use this command "emulator @test partition-size 96" on the terminal/cmd window that opens when i open the sdk?

Thanks~
[Android Apps and Games] dbzfanatic:
Don't mean to sound like an ass but you might want to read up on the emulator. The "partition-size 96" is just a parameter passed to it when it starts up, "test" is the name of the avd you want to start, and it'd be easier to set up your sdk\tools directory to work from anywhere you open a cmd prompt. In a way yes you do it there but in a way no. The terminal/cmd window has to be able to find "emulator" to start the avd. Not trying to be a jerk but it's the whole "teach a man to fish" thing.
[Android Apps and Games] lil-devil:
Ahh icic

Really sorry about the stupid questions, and I totally understand, it does get annoying when simple stuff like this has to be repeated many times >.
[Android Apps and Games] dbzfanatic:
Its ok, but its better to learn than be handed answers you know?
[Android Apps and Games] lil-devil:
Yeah of course

I just got a little carry away when the first few anwsers was just handed to me ^^;
[Android Apps and Games] dbzfanatic:
Just let us know what works ok? :)
[Android Apps and Games] lil-devil:
Well i found out a little more about the "missing share folder" i was getting

i was trying another target name, "Google APIs (Google Inc.)" instead of Android 2.2, but both of them are froyo anyways.

i did a little research and it seems like that problem only appears when the API of the emulator and the app doesn't match properly, but the thing is when you look at the AVD manger, both the google APIs and android 2.2 says API level 8....

but using the google API you can't install the marketplace with the files you gave us but rooting it still works~

anyways thats what i found out, hopefully it might help some people
[Android Apps and Games] dbzfanatic:
Well at least root works :P I only really tried with the 2.2 not the Google API one so that's why I never had that problem. At least we know now this applies to a specific version. I might try to get marketplace working on the Google API version. Why don't you download an app then use adb to install it and compare the two to see which is better? I think the Google API one is more limited than the regular 2.2 image but I could be wrong.
[Android Apps and Games] lil-devil:
Yep, that's what I've been doing. It seems that the google api has more apps that works then the 2.2, like the apps I couldn't get to eork on the 2.2 works on the google api

And also for the google api, it says it has the google service frame and vending installed already but when I try to reinstall it, I get some other error~
[Android Apps and Games] dbzfanatic:
Seems like in the GoogleAPI version they disabled the install but the push method still works to get it on the system. I'm just not sure how to get them to show up in the appdrawer after a push. I'll look around and see how and I'll also see if I can delete the apps that are supposedly on there.
[Android Apps and Games] lil-devil:
sounds awesome, thanks man =]
[Android Apps and Games] dbzfanatic:
I'm still looking into the appdrawer issue but I also have another idea. If the security is so much tighter on the GoogleAPI version we might just be able to pull the /system and /lib folders then push them to a 2.2 standard avd and get the same functionality without all the issue of market not working. I'll explore that idea in a bit but if someone else wants to that's fine with me. I'm probably going to be leaving my house in about 2 hours and I'll be gone for a while so I might not have time to try everything.

Edit: I think we're boned in terms of getting stock GoogleAPI to run market. Even if we get the apk on there and registered if we run in partition-size 96 it won't connect to the machine's network. If you start without that option network connects just fine but it will give you the "out of memory" or "read-only filesystem" errors. I think the best option is to pull the /lib and /system folders then push them to a standard 2.2 avd. At least if we want improved functionality. Might also need a system.img file to keep the changes but I'm not 100% on that one, and I'm not going to really try since this is supposed to be a no system.img file needed thread :P.
[Android Apps and Games] lil-devil:
ahaha lol icic

i'll go ahead and play around with that later then and i'll post the results later :)

thanks for the info tho~
[Android Apps and Games] dbzfanatic:
No prob, hope all goes well with the testing.
[Android Apps and Games] dbzfanatic:
Just had kind of a funny thought that I can't test since I'm using my phone to tether and it won't show up in ADB (I'm not losing my internet) so could someone else please test? Or if you've already done it let me know the results?

adb pull /system
adb -e push system/* /system

Basically pull the system folder from your real phone and push it to the emulator (while it's running of course).

Edit: Just thought I'd give you guys a heads-up. I got the network connection to work with the -partition-size 96 parameter (somehow :S) and I thought I'd try using flash_image to flash a system.img file I had from an old nandroid backup. Unsurprisingly it didn't work but only because it said "could not find /system partition" with

flash_image /system /sdcard/system.img

I got a different error, "error writing system: No space left on device" when I used

flash_image system /sdcard/system.img

This leads me to believe one of two things, either I f*ked up the command (wouldn't surprise me :P) or flash_image just simply will not work while the system is running normally (again, wouldn't surprise me). I have another idea I'll try and update here but for now I've got no luck.

Edit 2: Well as I suspected my idea didn't work. Just so you don't waste your time (not saying don't try if you want to I'm just saying don't try thinking it's guaranteed to work) what I tried was loading up with a larger partition size, 150 actually. Still said "out of room" even after remounting so that didn't work and it's kinda ticking me off><
[Android Apps and Games] Xplorer4x4:
Thanks for this but for some reason it doesnt see my emulated device. I can start the emulator and avd using emulator -avd android_2.2 but I get this error when running the windows.bat file

hxxp://img254.imageshack.us/img254/1433/rootfail.jpg

Would you mind explaining where I went wrong?
[Android Apps and Games] dbzfanatic:
You let the device load up completely right? You might also want to make sure adb is running,just because the emulator is doesn't mean adb is. Also if you have your phone plugged in it may be causing a conflict, try adding -e after adb in the commnds.
[Android Apps and Games] Xplorer4x4:
Yes, the device is completley loaded. I did adb start-server to make sure ab was running then ran windows.bat, still failed. I edited the bat to include -e and it still failed. Nor do I have my phone plugged in to my computer.

Thanks for the quick response!
[Android Apps and Games] dbzfanatic:
try killing adb them restarting it,then do adb devices. see if it shows up :/
[Android Apps and Games] Xplorer4x4:
Ok looks like restarting adb did the trick. I did get the out of memory error, but I remember a fix for that earlier in the thread, but despite that it seems to work anyways. Thanks again for the great tut! I hope you get your nandroid working. I tried this to with no luck.
[Android Apps and Games] dbzfanatic:
Yeah I hope I get it working too :P. Glad everything got sorted out, feel free to tell your friends about this, the more people that try it the more ideas the community will have to try. Google may have a hundred or so developers, but we've got the entire planet potentially >:)
[Android Apps and Games] Xplorer4x4:
I already put in a link @ M3 as I had originally asked for something like this on 2.1 over there. Hope it helps. ;)

I started with a clean img this time(created by the sdk), and ran through it again with the partition fix, this time I had this error:

http://img441.imageshack.us/img441/4999/busyj.jpg

Busybox isnt ocmpletley nesscescary though is it? Because I cant seem to log in to the market. I keep trying and it says, it can't establish a reliable data connection.
[Android Apps and Games] dbzfanatic:
Busybox helps with stuff, if you run the bat script busybox will be installed automatically along with root and market. As far as the data connection i discussed that in the op so go see if those solutions work for u :)
[Android Apps and Games] Xplorer4x4:
I missed the data soltuions in the OP. Sorry, but I found a beter one:

MENU -> SETTINGS -> Accounts & sync -> Add account -> <select> Google -> create or log in

No need to restart.

As for busybox, that was the outbut from the bat. I just ran the bat from a cmd so I could verify the results of each command, otherwise if you just execute the bat, it flys by to quick to see anything and then the cmd window closes.
[Android Apps and Games] dbzfanatic:
I know thats the bat output but you can ignore the error, busybox still works. Sometimes the network wont sync with the emulator properly which does require a reboot so thats why i put that there.
[Android Apps and Games] Xplorer4x4:
Alright then. Thanks again!
[Android Apps and Games] mazodude:
Just thought I would let you know that this also works for the 2.3 sdk.

tested and working by me :D
[Android Apps and Games] dbzfanatic:
Oh, really? Thanks for telling us. :)

Edit: Just thought of something. Is it the marketplace fix, the root method, or both that work on the 2.3 SDK?
[Android Apps and Games] mazodude:
Both work.

but hardly any apps show up.

also still have to re-root on every boot
[Android Apps and Games] dbzfanatic:
Yeah that's normal -_- sorry but hey at least it works.
[Android Apps and Games] mazodude:
If we could some how get perm root that would be awesome
[Android Apps and Games] dbzfanatic:
That would require a system.img file, which this thread is about not using. It wouldn't be hard though. Just make one on the emulated sdcard and pull it using

adb shell mkyaffs2image /system /sdcard/system.img
adb pull /sdcard/system.img

That will store the system.img file from the emulator and it should load just fine since it's a direct emulator image. Might want to make sure the emulator is rooted before you make it though :P.
[Android Apps and Games] mazodude:
I get this error when trying to use mkyaffs2image
[Android Apps and Games] dbzfanatic:
Well it doesn't come pre-installed silly :P. It's in most pre-rooted ROMs so if you have one laying around open it up with winRAR or something similar and go into /system/bin and find it, extract it, then push it to /system/bin on the emulator. It's like root, they don't want you to have all these goodies even on an emulator.
[Android Apps and Games] mazodude:
Thanks again for that :D
[Android Apps and Games] dbzfanatic:
No problem :) I'm glad this thread is actually useful to people.
[Android Apps and Games] icc4p2:
Awsome it works good
[Android Apps and Games] Xplorer4x4:
I have looked in a few roms, and I cant seem to find this anywhere. Would you point me in the right direction or attach a pre-compiled download?

On a side note, I found this:

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

Might be of some use to you. ;) I dont have the patience right now to do this but hopefully this weekend.
[Android Apps and Games] dbzfanatic:
I'll attach a version here sure and thanks for the link but I already knew all that stuff :P. It doesn't seem to like working with anything above a 1.6 system.img file, not sure why.
[Android Apps and Games] dbzfanatic:
Work has stopped on this (for now) because...well...I don't know what else to do :confused:. If you guys have some ideas let me know ok? I know getting a permanent root is a good idea but how to do that is what I need ideas on, so if anyone has any good ones or just good ideas in general to try let me know and I'll see what I can do! :)
[Android Apps and Games] dbzfanatic:
Hope you can do something even more useful because of this :) and you're welcome
[Android Apps and Games] visik7:
a way to enable all the apps on the market ? I need to install facebook for android in the emulator but it doesn't come up any clue why ?
[Android Apps and Games] dbzfanatic:
Not having all the apps show up is a known bug, we can't fix it yet because I don't know how and no one else is helping with this :/. Like I said work on this has pretty much stopped for now. If you download the apk files then install them with adb they work fine.