yashsingh1/xdaforums huggingface dataset:
[Desire HD Q&A, Help & Troubleshooting] randomdud:
ok here is my question..

im trying to extract the system.img files to restore some of the original files i changed.

here is the things i want to know in a list :)

1, Which tool is used to extract those IMG files? guide please. if you do need to compile it please post guide on how to compile as well? :)

2, how to repack the files into readable Img files which we can use to fastboot flash system with?

3, the shutdown.zip and downanimation.zip what are the requirements? i have sucessfully made a custom bootanimation.zip but failed the downanimation and shutdown. the bootanimation works when i made zip file with store only attributes "no compression", but the other 2 wont work either way..

if i can get this information i would make a general thread about DHD with all the information so it would be easier for anyone to find out all about xda and the development for DHD ;)

example, Radio/Eng S-Off CID-1111111 simunlock, adb commands/tools/guide, cygwin/unyaffs GIMP etc including graphical mods and specific how to's.

please help me out :) this might reward the newbies alot saving loads of precious time searching.. just like me ;)

rofl edited to change adb to fastboot. sry my bad. stupid typo ;x
[Focus General] jessiethe3rd:
Hey picked up an Samsung Focus and I am trying to figure out if there is an HSPA icon or it always puts 3G? I unlocked the service menu but can't determine if I am connecting. This is a AT&T Focus running on Telus. I have heard they are basically the same network and HSPA+ should react the same (depending on coverage of course) here on the TELUS Network like AT&T. Help and clarification appreciated.
[Focus General] AngelSpirit:
Well first of all you'd have to setup your apn in the settings (not that MMS won't work for the moment), and when HSPA is active 3G changes to 3G+ at the top. :) hopes this helps!
[Focus General] dead_on_the_floor:
I know the Rogers branded Focus has HSUPA disabled by default and only has HSDPA enabled.

I had to go into the configuration settings for mine to enable HSUPA for SaskTel's 3G+ (which I guess we're allowed to call 4G now).....
[Focus General] jessiethe3rd:
So it shows 3G+ ... I assume mine is not set up correct then... I'll go fiddle around with it.
[Focus General] goldenpipes:
i enabled HSUPA on my focus and have seen greatly improved speeds while tethering and browsing on my phone. however i have never seen 3G+ icon.

http://samsungwp7.com/blog/2010/12/...boost-hack-enable-hsupa-not-on-by-defaul.html

is where i got the steps to turn on HSUPA.

is this even the same thing?

AT&T network Minnesota

i think the reason i never see the 3G+ is because AT&T hasn't set up the 4g here yet. not sure.

but the crazy thing is that my speeds are ridiculous fast. 6.20mbps Download and 1.5mbps upload.
[Focus General] Seed 2.0:
I think for at&t you need a certain sim card to access the hspa+ network. I looked for about 20 min to find one of the articals but cant find them. Anyone reading this remember seeing information about this?
[Focus General] goldenpipes:
Makes sense I guess, but I am happy with the speed that I am getting. I must be getting the HSPA+ speeds probably do to backhaul?
[Focus General] JamesAllen:
Revert?

I would like to try this but need to know what the default settings should be if I want to revert. Is it possible to revert back to default?
[Focus General] tootall2:
thanks for

http://samsungwp7.com/blog/2010/12/3...by-defaul.html

my focus flys now on AT&T and my home network
[Focus General] wildbilll:
I was hestiant to change any settings like this, but I decided to go ahead and do it.

I think overall my download speed is 75% faster than it was before this setting change.

Thanks for posting this one.:D

Second thought: Why in the world isn't this turned on by default? Is there a downside to it?
[Focus General] OGCF:
I just followed all of the steps, but how can you tell if there's been any change? Will it show 3G+ at the top when you're in a supported area?
[Focus General] Schismal:
Does this have any perceivable effect on battery life?

Did someone say MMS would stop working with this change?

How do I revert back to default if there are issues?
[Focus General] wildbilll:
Mine still shows 3G.

I restarted mine and the settings held, that was one question I had, if it would revert or not.

I am now seeing more than double what I had before, which was a struggle to get 1,000 KB.

Just for comparison purposes, when I first used http://www.dslreports.com/mspeed?jisok=1

for my tests on a non 3G phone it would give me a result. That was a 100k file size.

When I went to the HTC 8925, 3G phone this would not work. It told me to try a larger file as it was "unstable/too fast a result".

It then offered the link:

http://www.dslreports.com/mspeed?jisok=1&more=1

which has a 1 meg file. This would give me a ~800K result.

Now, with the change we are discussing here I am getting the "unstable/too fast a result" again! :D

There are not a lot of speeds tests that will run in this phones browser. I am forced to use http://www.ispgeeks.com/wild/module...23744.9&downloadtime=1.035&KB=3000&recorded=1

and it ranges from 1.39 to over 3 meg.

Battery life. Looks fine from yesterday. Down 20% from full charge last eventing till this morning, but I expected that, since last night I ran the browser a lot playing with the new speeds.

Update: try http://testmy.net/mobile/upload to assess upload speeds. I am getting ~400K to 600K uploeads. I used to be at less than 200K before the change.
[Focus General] Sebo1985:
You could also just get the "bandwidth" app out of marketplace ;)
[Focus General] bennyj71:
Original settings...

How do you go back to the original settings? While there is a big speed increase on my phone, the battery went from full to dead in seven hours. I can't have that.

I tried the hack yesterday, and today for the first time ever (Bought phone on December 12th) the phone rebooted itself. There is no storade card installed. Never had a storage card in it.
[Focus General] wildbilll:
Those don't do upload and they all suck as far as accuracy.
[Focus General] OGCF:
You basically do the same steps but you change "Release 6(HSDPA/HSUPA)" to "Release 5 (HSDPA Only)". Here's the modified instructions in case you forgot:

BTW, I tried to do some tests with the Bandwidth app on the marketplace, but it's not such a great app and constantly froze up especially on the upload tests.
[Focus General] Sebo1985:
The app got an update a few days ago and now works pretty flawlessly.
[Focus General] Reflexx1:
According to mobilespeedtest.com I'm getting around 1400 kpbs. Not too bad.
[Focus General] Fuzzy John:
My Focus with this tweak got 1220 kbps.

My HTC Tilt 2 with the Energy ROM got 2150 kbps.
[Android Software Development] obvious.sarcasm:
Hey all,

I've been trying to get my app to authenticate with a webserver. (Not my own webserver).

But I've been having major issues. I've looked all over for a proper way to authenticate and have tried different methods, but I keep getting the same errors.

I either get:

1. 401 authorization required

2. 400 bad request

3. Cookie gets rejected because of illegal path attribute.

4. 200 ok, but I'm not getting the proper site info that pertains to the authorized part of the site.

This all depends on the different methods I try.

Currently, this is the code I am using:

private int auth(String username, String password) throws IOException {

String login = username + ":" + password;

String auth = Base64.encodeToString(login.getBytes("US-ASCII"), Base64.DEFAULT);

int response = 0;

URL url = new URL(esims_login);

URLConnection conn = url.openConnection() ;

conn.setRequestProperty("Set-cookie", "OBBasicAuth=fromDialog");
conn.addRequestProperty("Authorization", "Basic " + auth);

conn.connect();

return response;
}

I end up getting a bad request response using this method.

The OBBasicAuth=fromDialog is a header from the server that is supposed to pop up a dialog that receives the username and password. So I added that to the initial request.

So my question is, what am I not doing/doing wrong?! I've been trying to accomplish this for weeks.
[Android Software Development] mobuto:
have you tried to trim the base64 encoded string ?

conn.addRequestProperty("Authorization", "Basic " + auth.trim());
[Android Software Development] obvious.sarcasm:
Well, trimming the auth string helped, but now I am getting an expired session.
[Galaxy Tab General] whitetiger2429:
i rooted by tab with z4root, now how do i get a recovery image i tried using rom manager to use clockwork i kept get a error while attemping to back it up. so i unistalled it any ideas help please
[G2 and Desire Z Themes and Apps] JonathanFermin:
Game dev story is 75% off in the market and its approximately $1.21..this game is ridiculously addicting and for that price it is very worth it! what do u guys think of this game? Honestly I think its a steal for that price!
[G2 and Desire Z Themes and Apps] Gwanatu:
Yeah, that's quite a deal! The game is great, easily one of the best games on Android!
[G2 and Desire Z Themes and Apps] minotauri:
75? dang, i just bought it for 50% off... the game is fantastic.
[G2 and Desire Z Themes and Apps] guy3o3:
I only see it as 50% off...
[G2 and Desire Z Themes and Apps] zalmann:
I only see it as $2.43 as well. Was the 75% off something they walked back on instantly?
[G2 and Desire Z Themes and Apps] ruleftbehind:
I am so addicted to this game right now!!
[G2 and Desire Z Themes and Apps] zsouthboy:
I played this for 3.5 hours after buying it (for only 50% off at the time). I looked up and realized it was 1:30 and had to go to bed. Very addictive game.
[G2 and Desire Z Themes and Apps] kevnkate:
$4.91 now. Oh, well.
[G2 and Desire Z Themes and Apps] ruleftbehind:
I killed my battery playing this for a few hours. Apparently after playing the game for 20 in game years you are given the option to start over!! this game is like crack. lol
[G2 and Desire Z Themes and Apps] JonathanFermin:
Yea the 75% off was for only a day I think, but yea this game definately helps u pass the time, got me hooked for 4 hours straight and when I looked at the time I couldn't believe it..
[G2 and Desire Z Themes and Apps] charlieton:
i didn't want to believe hype. i saw the game on appbrain and saw the rave reviews. i was like eehhhh 5 bucks is not worth it.

then i saw it in market under a related game and thought maybe next time the sale comes on.

then i come onto xda and everybody loves it.

so i pulled the trigger.

this game is so ****ing simple yet so fun. it's amazing and totally worth the $5.00. like the other reviews. i bought it at 11:00pm. played for about an hour, looked up and it was 2:00am. unbelievable.
[Droid 2 Themes and Apps] gps1992:
jklgjhg;h'j
[Nexus One Q&A, Help & Troubleshooting] str4vag:
Hey all

A little background :

I have a Nexus and a Desire. Both phones are pretty much identical when you look at the hardware. The Desire (GSM) version has a way to repartition its NAND chip in order to resize the /system , /data and /cache partitions on the device. Details can be found in alpharev. The method requires 2 hacks to be implemented,

1. to unlock the security and obtain s-off status

2. to fastboot flash a modified hboot that repartitions the NAND.

My question is:

Is it possible for us to do the same with the N1, seeing that with just "fastboot oem unlock", we can flash anything we want from the fastboot interface, negating the need to implement the first part of the alpharev hack.

all we need is a modified hboot image.

Check the alpharev page for the 4 choices of partition sizes.
[Nexus One Q&A, Help & Troubleshooting] chota_shivaji:
Probably not easy as this requires updating fastboot whose source code is not available.
[Nexus One Q&A, Help & Troubleshooting] str4vag:
Probably, but seeing as the HW of N1 and Desire is so similar, there is a chance that the code used in the alpharev hack might work, after a little modification to fit the N1.

But then I don't know anything about coding/hacking. I need more input from the dev community.
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
This requires modification of the bootloader, which wasn't done and requires quite a lot of effort with unknown results. Checking Desire bootloader compatibility might (and probably will) result in a bricked N1, I don't know many people that are willing to take the risk. I know I wouldn't. Without bootloader, repartitioning isn't possible.
[Nexus One Q&A, Help & Troubleshooting] str4vag:
I understand. But what I mean was not flashing the desire bootloader directly to a N1, but using it (or the code base) as a reference for a modified N1 bootloader.

Again, more input is needed from people who have done this kind of thing before.

If i remember correctly,

Firerat has something like this for the G1.
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
Nobody bothered trying to hack N1 bootloader until now because it has the unlock function built-in - the main reason for reverse-engineering bootloaders isn't there. Bootloader code is binary, no code base there.

Given those facts, the future of bootloader modifications on N1 doesn't look too promising.
[Nexus One Q&A, Help & Troubleshooting] str4vag:
I see. Cool.

Thanks for the answers :)
[Hero CDMA Q&A, Help & Troubleshooting] Bierce22:
Hey I was wondering if the native USB tether on cm6.1 is it free like USB for root users or is it like the normal USB tethering on sprint stock roms were u have to pay extra also how stable is it
[Hero CDMA Q&A, Help & Troubleshooting] Twolazyg:
Are you talking about data tethering? That's free (But you still have to pay the phone bill) because your phone is telling your computer "Hey, here's some internet!" and your phone is telling sprint "Hey, I'm just using the internet for myself and I'm not sharing it." Just like using wireless tether.
[Hero CDMA Q&A, Help & Troubleshooting] Bierce22:
Yea that's what I was wondering because on stock sprint rom it does USB tethering the same way but it wont tell u right away that it charges u sprint will just bill u at the end of the month by how much KB used I actually called them about it so I was just making sure the tethering built into cm settings is still free I do have unlimited everything btw lol
[Optimus One, P500 Android Development] ruigui:
I've posted this ROM some days ago in a portuguese forum. Now i'm also doing it here.

If you don't like it, don't use it!!

This ROM is based in portuguese unbranded v10a (android 2.2).

I've been using it in my phone since i have it, and is just a minimalist ROM, with some tweaks made.

---

Partitions data and cache will NOT be erased while flashing.

It is highly recommended to erase them before starting to use this ROM.

CHANGES MADE

- app & framework deodexed

- apk zipaligned

- rooted + superuser

- busybox added

- jit enabled

- heapsize increased to 32m

- market updated to version 2.2.7

- apns all removed, except Portuguese Vodafone (link to full apns below)

- lots of apps removed (see the removed apk file to see what's missing)

---

REQUIREMENTS

a)

Phone with Custom Recovery

b)

ROM download: LINK

md5 be56c77b6c84cab2e5454c46965ee36c

INSTRUCTIONS

1º

Copy ROM to flash card

2º

Start phone in Recovery mode (Vol- + Home + Power)

3º

Wipe data/cache and .android_secure, flash zip, reboot

Done!

Note:

If for some reason something you want to do doesn't work, just find the apks missing and install them. It's easy to find what you want!

---

Enable other tweaks: LINK

Download of full apns file: LINK

md5 eb9427d559c2f9b1bbf78f60aebbe4c8

To have all apns back, just copy the file to /system/etc/, and overwrite the file. Reboot your phone and it's done.

Don't forget to change /system/ to read-write before trying to copy the file.

Download of removed apps: LINK

md5 3abbee8e55e8f31f286a9f13a902530c

To install any app you want, just copy the file to /system/app/, change permissions of files copied to 644 and reboot you phone.

Again, don't forget to change /system/ to read-write before trying to copy any file.

---

Benchmarks:

(after running script for tweaks)

NOTE: benchmarks were done after instaling some apps.

hardware acceleration - on

jit - enabled

stagefright player - true

heapsize memory - 32m

benchmark: run1 run2 run3 run4 run5

linpack 1.1.7 7.447 7.38 7.378 7.441 7.486

quadrant 1.1.4 1084 1039 1059 1073 1056

neocore 1.9.22 with sound 42.7 43.2 43.5 43.5 43.6

neocore 1.9.22 without sound 48.5 48.5 48.3 48.3 48.4

cpu benchmark 1.7.1 1581ms 1525ms 1531ms 1572ms 1566ms

gpu bench 1.0.0 absolute 23515 23904 23894 23465 23722

gpu bench 1.0.0 relative 27476 27617 27550 27328 27529

membench 1.1 copy MB/sec 8.70 8.77 8.93 8.70

membench 1.1 add MB/sec 8.67 8.67 8.72 8.72

benchmarkpi 1.11 2691 2662 2697 2685 2672

speed pi 1.0 10m 8.175 8.203 8.393 8.483 8.294
[Optimus One, P500 Android Development] antopt1:
can i install the oc_kernel on this rom??? thanks
[Optimus One, P500 Android Development] antopt1:
please, can you post a home screenshot of this rom ?
[Optimus One, P500 Android Development] ruigui:
I think so, but it's better to ask to nojein about that. I never used that kernel.

No screenshot needed. This ROM uses the default LG homescreen.

This is just a stripped down original ROM, with few tweaks. I like it that way ;)
[Optimus One, P500 Android Development] kpbotbot:
I know this is old, but thanks :D Apparently, this and void are the only light ROMs that don't come with Darktremor's apps2sd. I dont like putting everything in the SD card :)
[Optimus One, P500 Android Development] ruigui:
My ROMs will never have app2sd included.

I'm using a newer version, with Zeam instead of LG launcher. But i don't know if i can use Zeam in my ROMs without having issues with the author of the app... So i didn't upload it.

Anyway my laptop is broken, so i don't have a computer to use. When i earn enough money and buy a new one, i'll upload another ROM with a new look.

Why do you say this is old?

EDIT:

I managed to boot my phone with only five apps, but of course it wouldn't do anything...

I could remove more apps and make it lighter, but this is the minimum stuff needed to have full functionality without FCs somewhere. If i started to remove more stuff, i would lose basic apps, or make FC.

I also didn't enable hardware acceleration by default because i didn't see any improvement in performance. Same goes to stagefright. Only visible improvement was in quadrant, but that really means nothing.

Most people that complain about phone speed, should look at the amount of apps they install.
[Optimus One, P500 Android Development] kpbotbot:
Because it was on the last page. Sorry, I was just being paranoid about mods sort of bashing people for opening up old threads :D

This makes this the most sensible ROM out there (that's my opinion) :) On my previous ROM, i couldn't disable stagefright for some reason, so I flashed this. I'm still playing around with HW acceleration and JIT.

Agree. With the amount of apps I have because of this rom, I dont have those long term usage slowdowns where only a reboot could "clean" the RAM.

Also, I'll try to make a ROM of my own(soon, granted im not lazy). I'm running Arch Linux (main), but I have been really really lazy on finding the appropriate (arch equivalent) packages for compiling xD
[Optimus One, P500 Android Development] ruigui:
This ROM doesn't even have one month!

There are lots of new threads, and this isn't a popular ROM, so it went to last pages...

I thought about adding a kernel that could enable oc, but my phone works so well that i didn't see any advantage in doing that.

It's better to keep things simple and running.

About arch, can't help. Never used it. I'm a debian user ;)

I also hardly reboot my phone. Only when i forget to charge battery.

Are you seeing any improvements with hw acc? I didn't. I enabled jit by default because it was so talked when 2.2 came out. But never tried to use phone with it disabled.
[Optimus One, P500 Android Development] kpbotbot:
Not really. However, with the stock ROM at stock everything, I get a 400+ quadrant score. In this ROM with HW acceleration and JIT enabled, I get 555. I'll test it again with less variables and factors or stuff.

I'm not turning them off, btw. I might come across something well that used to not work properly with HW accel off :D
[Optimus One, P500 Android Development] denaz:
I've just installed your rom.

Restored apps and data with Titanium Backup.

Well...

AWESOME ROM! Thank you very very much!

It is so fast and stable.

Very very good work :)

I've only one problem. I've installed calcoulator and calendar apk. All fine for the first one but i cannot sinc gmail calendar nor exchange calendar, and when i go in to the calendar options, it give com.calendar.com error.
[Optimus One, P500 Android Development] ruigui:
To restore apps from original ROM, always copy them to /system/app (dont forget to mount it first as read-write). Lots of these apps have issues if the go to /data/app.

After cppying them, change their permissions to 644 and reboot.

I dont use sync stuff, so it was removed...

First download the zip file with apk removed. Uncompress it, and copy to /system/app these apk:

calendar.apk

calendarprovider.apk

googlecalendarsyncadapter.apk

googlecontactssyncadapter.apk

calculator.apk

These should be enough to have calendar with sync, contacts with sync, and calculator.

If you installed these apps to /data/app, dont forget to remove them first. If you remove manualy, you must delete files in /data/app, /data/dalvik-cache, /data/data

EDIT:

This ROM only has gereric mail app. If you want gmail app, also copy gmail.apk

My primary mail account is gmail, but i only use generic email app. Never really needed gmail one.... And all works ok
[Optimus One, P500 Android Development] denaz:
Thx today i'll try with to add

calendarprovider.apk

googlecalendarsyncadapter.apk

googlecontactssyncadapter.apk

as you said :)

Thank you very much :)

Edit:

It works! Thank You very much! :)
[Optimus One, P500 Android Development] jeffkid182:
I have a question... Do i need to partition my micro sd for this to work? thanks in advance.
[Optimus One, P500 Android Development] ruigui:
No you don't. This ROM doesn't have a2sd.
[Optimus One, P500 Android Development] jeffkid182:
Thanks. let me try this.
[myTouch 4G Q&A, Help & Troubleshooting] dkdontforget:
Hey everyone, Im having this weird issue with my data speeds. When i had my TP2 i would always get speeds of about 700Kb/s dl/ul with pings of around 150ms

BUT on my MT4G my speeds are a little screwy 1st off is sometimes my pings are 650+ other times normal, Also my download speeds are getting 250-600Kb/s which is obviously slower than my TP2.

The weird thing is (besides slower with random ping times) my upload speeds. For a VERY quick second i will see a speed of 3+Mb/s then it will drop down to either around 700 or stay at exactly 1Mb/s...odd

i was thinking maybe the towers dont have the backhaul in place yet, but with a burst of 3+Mb im thinking there is something wrong because if it WASNT there i wouldnt even get that burst, or even get to 1Mb because before the 4g max i could get is 800Kb/s up and down.

I called tmobile and they want to do a master reset....psh please! to much hassle

What do you think could be the problem? i got a new sim card with the new phone so i couldnt be that.
[myTouch 4G Q&A, Help & Troubleshooting] marcos.lennis:
Try having ur GPS on when running Speedtest. Also, make sure that you are connected to the closest server. I am getting 6Mbps in Miami.
[myTouch 4G Q&A, Help & Troubleshooting] dkdontforget:
GPS is on and ive tried all local servers but still getting this weird issue
[Desire Q&A, Help & Troubleshooting] ahac85:
Hi is it possible for shortcuts for bluetooth devices in HTC Sense homescreen? i understand its possible to have a bluetooth shortcut, but any apps out there that allow you directly start a device by tapping on it in the homescreen??
[Vibrant Q&A, Help & Troubleshooting] C-4Nati:
So I've been flashing roms and what not for a while. Now I want to get into developing everything from roms to apps , can't find any good guides or anything I can't find any. Thanks