yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] claudenegm:
Isn't the problem of installing OTA updates is the Recovery used by Clockworld mod? Why not just flash in the stock recovery instead of clockword mod?

I don't know if that is possible, but I'll just say what I see and tell me if I'm wrong :)

The PG58IMG.zip used for flashing Clockworld mod, contained an image called "recovery.img" which is basically available for those CIDs

HTC__001
HTC__E11
HTC__032
HTC__102
HTC__Y13
HTC__203
HTC__405
HTC__N34
HTC__304
HTC__A07
HTC__016
HTC__J15

So, my CID is HTC__J15, can't I use the "recovery_signed.img" in the "rom.zip" of the RUU to flash my old recovery? I can't see why it may not be possilble of creating a "PG58IMG.zip" and write in an andoid-info.txt with this:

modelid: PG5813000
cidnum: HTC__J15
mainver: 1.34.415.1
hbootpreupdate:0
DelCache:1

or just flashing using ADB the recovery_signed.img and we're done?

What you think?

Please gently tell me if I'm wrong, I'm just willing to learn and know more about this ;)

Thank you :)
[HTC Sensation] claudenegm:
Nobody? Should this be posted in development? :D
[Android Q&A, Help & Troubleshooting] bitozoid:
Is there any app or any way to upload a recording stream (video/audio) from the phone to any cloud service?

Thx
[HTC EVO 3D] abdeviation:
So I was rooted with ViperRom. When the update came out, I decided I was just gonna go stock so I downloaded Sprint RUU EXE which took my phone back to stock and removed clockwork recovery.

Now, when I'm in HBOOT, it still says S-OFF but I'm running the 2.3.3 stock rom with no root. I've tried going to Settings->Software update but it keeps saying no update available even though I got the OTA notifications before when I was on Viper. I have the 45MB update file on my SD card and I was wondering if there's a way to get the phone to use the downloaded file and update itself.

Thanks!
[HTC EVO 3D] k2buckley:
Not sure how to do that, because I never play with ota. But I can tell you that you're still going to be s off. If you want s on, you need to do 'fastboot oem writesecureflag3' or something like that. Search the dev section for the s on thread and check for sure.
[HTC EVO 3D] abdeviation:
Okay i was able to get it to show S-ON again and I renamed them update package to PG86IMG.zip. when i boot into HBOOT, it goes through Loading PG86IMG.zip and then Checking PG86IMG.zip and then just returns to the hboot menu without any messages. Not sure what I'm doing wrong...
[HTC EVO 3D] luderbeck1:
Do you still want root with stock ROM?
[HTC EVO 3D] stkiswr:
Did u put it on the root of SD. Not in a folder.
[HTC EVO 3D] abdeviation:
No I don't care at this point. I just want stock everything so then in a few months when I get bored, I can play with all the things root has to offer. I realized this whole ROM business is getting addictive again and I can't afford to be poking around my phone all the time like I used to when I was rocking a Touch Pro 2 lol

I just want the stock 2.3.4
[HTC EVO 3D] abdeviation:
Yes I did. I'm trying again. I booted into the bootloader through the "adb reboot bootloader" command. Clicked the "power" button on "bootloader option. It goes through a "loading pg86img.zip" phase with a blue vertical progress bar on the right side and then to a "checking pg86img.zip" phase with a yellow vertical progress bar on the right. Then it just comes back to the Hboot screen and stays there...
[HTC EVO 3D] luderbeck1:
Just an idea...maybe that image/zip file is corrupt? Did you try downloading another copy and using that one instead?
[HTC EVO 3D] abdeviation:
do you have a link? I'm not sure where to find it. The one I have is the one my phone dowloaded when I was on ViperRom
[HTC EVO 3D] luderbeck1:
Here you go!

http://dev-host.org/4r335qu7ju0c/OT...1.13.651.7_release_208272zixlp5sgm4g08poh.zip
[HTC EVO 3D] abdeviation:
thanks for the link! Same thing happened though :(
[HTC EVO 3D] luderbeck1:
What hboot version?
[HTC EVO 3D] abdeviation:
1.4

I just tried doing it through fastboot. I used the following command

fastboot update pg86img.zip

it reported that the archive does not containt "android-info.txt" and "android-product.txt" and did not proceed.
[HTC EVO 3D] luderbeck1:
Did you try without fastboot just doing

adb shell reboot bootloader

Might not need "shell"
[HTC EVO 3D] abdeviation:
i'm not sure what that was supposed to do but it just booted the phone into Hboot. still doesn't flash the update. It loads it, checks it, and then nothing
[HTC EVO 3D] luderbeck1:
Almost sounds like something is wrong with hboot/bootloader. Maybe see if you can flash just the 1.4 hboot? Sorry, running out of ideas.
[HTC EVO 3D] abdeviation:
So i put this file on my SD card http://xdaforums.com/showpost.php?p=16150249&postcount=1 and hboot went through and updated a bunch of stuff giving me a factory restore. i then replaced the pg86img.zip file with the update for 2.3.4 and once again, it loads it, checks it, and then nothing..

Someone please help :(
[HTC EVO 3D] abdeviation:
i think the update zip has something missing...
[HTC EVO 3D] customhdrider:
If you get the hboot back to s-on it will update then,,
[HTC EVO 3D] abdeviation:
for what it's worth, the hboot screen says S-ON and this is after I run that little command that sets the flag to s-on

unless that command doesn't actually s-on...i'm not sure what else i can do
[HTC EVO 3D] abdeviation:
anyone have any ideas?
[HTC EVO 3D] xHausx:
If it were me, I wouldn't ever set S-ON again because there is absolutely no reason to. If you plan on rooting later just set S-OFF and forget about it, it won't hurt anything.

But as for updating, if you're completely stock with 2.3.3 rename the OTA zip to update.zip, place it on the root of your sd card, boot into the recovery, hold vol up+power, then select install update.zip. OTA updates are installed through the recovery like ROMs while firmware updates and RUUs are through the bootloader as PG86IMG files.
[Acer Iconia A500] dknova:
Hi All,

I was just wondering if this charger: Website - maplin.co.uk; Ordercode-L47BL could be used instead of the Acer charger as mine is US not UK... I don't want to pay £30 to buy a charger from Acer!

Am I right in thinking as long as the charger fit the following criteria: 12V 1500mA 1.5A AC/DC 5.5mm 2.1mm, everything should be ok.

Cheers

DK
[Acer Iconia A500] FloatingFatMan:
Power wise that's fine, but the tip is far too big. You need a 3mm x 1mm tip for the A500. Fortunately, Maplins sell those for their multi-adapters. £1.75 for the tip.
[HTC EVO 3D] jb4kats:
I finally got the nerve to try and root my 3D today and all for nothing, with the latest update on the phone you cannot root with the current HBOOT 1.5 until a update is devoloped so how long will it be before we get an update for this?

I am very anxious to root so is there an update coming soon??? PLEASE!!!!!

Sorry guys, As I was writing this post it was aready being answered, well sort of..... I still would like to find out how long it will be before an update will be out.....
[HTC EVO 3D] sbtim:
you can have root with hboot 1.5. Unlock using HTC's method and install CWM. From there you can install any rom with root access.
[HTC EVO 3D] chefdave12118:
Sitting back and watching this one... btw this should be in general or q&a.
[HTC EVO 3D] jb4kats:
sorry, I wasn't sure where to put it ...... I am fairly new to XDA, I don't post much or visit often so until I learn my way around I aplogize.....
[HTC EVO 3D] southern87:
Why would you want a semi...cwm is a hit or miss. Plus only previous s-off phones it works on. The unlock is just the.bootloader
[HTC EVO 3D] bradbusa:
ok, i've successfully completed the htc unlock method. trying to install CWM, do you mean rom manager? that doesnt allow me to flash a recovery, comes up with some error.

i'm coming from samsung forums, so this(htc) is all new to me. can you point me in the right direction?

i'm just trying to figure out what you mean by "install cwm".
[HTC EVO 3D] Martovitz:
http://xdaforums.com/showthread.php?t=1225974

Fallow this step by step and you'll be ok.

Remember to give THANKS were THANKS is due.
[HTC EVO 3D] scottspa74:
This thread caught my eye, and i have to ask; what what is "HTC unlock method"? Did HTC actually keep their word and support unlocking bootloader and i just didnt hear about it yet?

Thanks in advance.
[HTC EVO 3D] pbedard:
Yes they did
[HTC EVO 3D] scottspa74:
Thank you! Wow, that is awesome! I gotta go research that a bit. Just for a few limited devices, I'm guessing?
[HTC EVO 3D] willysp:
No, they didn't - they released something they call unlocked, but it can't be easily or reliably rooted. They are playing word games with us.
[HTC EVO 3D] alnzbail:
It's not easy but it can be done if pPl know what they are doing. And id they follow instruction. Mind you I did it without a guide on a Mac.
[HTC EVO 3D] donatom3:
The hboot is unlocked and you can install clockwork mod recovery how is what HTC did not easily rooted?
[HTC EVO 3D] lafester:
Because nobody around here actually reads the forum.

Since the first few had problems loading recovery now everyone thinks it can't be done.
[HTC EVO 3D] ivan1.ruiz:
so how do i add the recovery?
[HTC EVO 3D] jwzg:
Moved...OP in wrong section. Please see posting rules.
[Xperia Play General] MearWolf:
I've had a number of android devices, on all of these I've been able to sort contacts by surname and make them appear [First Name] [Surname]. On my band new XPERIA Play however, I can't find any way to sort by surname. Could someone please advise me if there is a way?
[Thunderbolt Q&A, Help & Troubleshooting] marcogiudice:
splash partition not found when trying to flash splash.png thru hboot fastboot commands

its corrupt somehow.. when i type fastboot flash splash splash.png in hboot i get an error parttition not found!

anyon got any ideas as to why and how to fix it?
[General Questions and Answers] kurt.killens:
Nobody knows what's going on?
[HTC EVO 3D] jcantol:
Anyone have a clue what this might be it came with the latest update its under the settings widgets

View attachment 695326
[HTC EVO 3D] Genjinaro:
Interesting, I can't connect to corp (corporate?) 4G though. I like the little animation.

Maybe it's a widget.slip up and it's just for here?

http://www.phonearena.com/news/Sprints-corporate-headquarters-will-finally-have-4G-WiMAX-access_id10692

Gotta wonder.
[HTC EVO 3D] jcantol:
Funny thing is I should be able to being I'm on a corp account, I'm using it right now for quick connecting to 4g
[HTC EVO 3D] Genjinaro:
Any different or faster?

It's not good for a on off toggle as it leaves the radio on.
[HTC EVO 3D] jcantol:
Connects faster that's all, and no it goes back to 3g when I'm on "corp 4g"
[Bravo General] snnyby:
FYI, there seems to be an issue with chrome2phone app, it creates a new ID with every flash and at some point you cannot register your phone with the service anymore.

http://code.google.com/p/chrometophone/issues/detail?id=158#c64

Mine stopped working yesterday :(
[Bravo General] snnyby:
google fixed the server bug.

Thats a miracle. Google fixed a server bug

http://code.google.com/p/chrometophone/issues/detail?id=158#c136
[EVO 4G Q&A, Help & Troubleshooting] Echo113:
I keep getting a message saying flash isn't available due to cold weather or using wifi router. Its hot here and I'm not using wifi router. Is it because I'm on 4g?
[EVO 4G Q&A, Help & Troubleshooting] gq3856:
bump my camera is not working either. flash works fine but no camera have tried several roms now both asop and sense.

Help
[EVO 4G Q&A, Help & Troubleshooting] Echo113:
I did figure out its my rom problem. If I turn off 4g it works fine.
[G2 and Desire Z Q&A, Help & Troubleshooting] JosepHenry:
I want to update my G2 to Gingerbread 2.3.3 but for some reason when my phone restarts for the update to take affect I see the little green android with the progress bar. It stops without reaching 100% and I get an installation error. Why wont it upgrade? Could ClockworkMod Recovery be the culprit?
[G2 and Desire Z Q&A, Help & Troubleshooting] xsteven77x:
I don't know for sure but I would think so. Manually push the stock recovery (find it on the forum somewhere) back via adb and try again maybe? Either that or just flash the entire pc10img and u definitely won't have a problem. You will lose all your data tho.
[G2 and Desire Z Q&A, Help & Troubleshooting] martonikaj:
So if you have ClockworkMod Recovery, that means you're rooted.

What are you trying to update to 2.3.3 with? Are you taking the OTA? You can't do this (or really really shouldn't) when you're rooted.

If you're rooted, head to the dev section and pick up a pre-rooted 2.3.3 OTA release. You'll keep your root and be upgraded to 2.3.3 like you want.

http://xdaforums.com/showthread.php?t=1211143 I used this one. Its literally just the OTA, pre-rooted. No radio, just the ROM. Flash through ClockworkMod recovery. You should backup apps with something like Titanium Backup first, because its in your best interest to

wipe all data

through recovery before flashing.
[G2 and Desire Z Q&A, Help & Troubleshooting] JosepHenry:
Thanks guys. I honestly didnt know that I wasnt suppose to update/install official updates if my phone has been rooted. The pc10img ROM xsteven77x didnt work for me but the one martonikaj suggested did.

Once again. Thanks! Problem solved.
[G2 and Desire Z Q&A, Help & Troubleshooting] martonikaj:
Yep no problem. Just know that when you're rooted, you can no longer take any official update. Gotta do it on your own manually with pre-rooted ROMs.

Feel free to click "thanks" for my post :P glad I could help you out.
[Eee Pad Transformer Q&A, Help & Troubleshooting] mastermind1234321:
My tablet's screen stopped working and asus said they would fix it if i sent it back. So, i am trying to revert my tablet back to the factory conditions. I had rooted my phone and changed the rom. I have replaced the rom with the stock rom.

However, i am not sure if that means i have also unrooted my tablet. Is there some way i can check and if i haven't, how do i unroot my tablet? Keep in mind i can't actually see anything on my tablet so it would all have to be done using adb.
[Eee Pad Transformer Q&A, Help & Troubleshooting] depulle87:
if you replaced your rom with a stock romthn your root is gone unless you used a pre-rooted stock rom but that info should you find where you downloaded your rom, you can use adb to check root acces do you know how it works or do you need more info ?

- open adb shell

- type ''su''

- if the $ symbol changes to # than you still have root

good luck
[Eee Pad Transformer Q&A, Help & Troubleshooting] depulle87:
by the way is this not a thread for Q&A ?
[Fascinate Q&A, Help & Troubleshooting] beezie42:
I recently flashed over to powerwash 1.2 and ever since then none of my data gets saved at all. Like when I reboot all my apps are there but when I use one of them it is like its brand new and have to reenter my info. I tried re-flashing, wiping the data everything and nothing seems to work. Any fix's?

Never mind i got it all sorted out now finally. Mods can close this thread
[Fascinate Q&A, Help & Troubleshooting] Kingali1997:
Did u wipe dalvik cache and system?
[Android Q&A, Help & Troubleshooting] Rokkk:
I am making an app that currently only make squares move on a "road" and make random desicions on where to go. Now I want to replace them with a image of a car.

I'm currently using the "onDraw(Canvas canvas)" method. (:confused:)

So how do I import images to the app.

And how do I do If I want it to animate with 2-3 images.

Easyer explained. I want to replace the drawRect with drawImage or drawBitmap and make it work. I want to load the image from the drawable folder.

@Override
protected void onDraw(Canvas canvas) {
Paint paint = new Paint();

paint.setColor(android.graphics.Color.RED);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square1.x, square1.y, square1.x + 20, square1.y + 20,
paint);
paint.setColor(android.graphics.Color.BLUE);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square2.x, square2.y, square2.x + 20, square2.y + 20, paint);
paint.setColor(android.graphics.Color.GREEN);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square3.x, square3.y, square3.x + 20, square3.y + 20,
paint);
paint.setColor(android.graphics.Color.BLACK);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square4.x, square4.y, square4.x + 20, square4.y + 20,
paint);
paint.setColor(android.graphics.Color.YELLOW);
paint.setStyle(Paint.Style.FILL);
canvas.drawRect(square5.x, square5.y, square5.x + 20, square5.y + 20,
paint);
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Generally the easiest way to animate a limited number of frames on any system is using clip rectangles and a single image that contains the frames side by side... depending on the system this doesn't even create a whole let of overhead if you use an uncompressed format like TGA or BMP, laid out vertically. Is there anything specific you need to know about that... or is your problem with the timing? You could just use the nanotime and decide which frame to draw based on y=(time%fullAnimationTime)/frameTime*tileHeight
[Android Q&A, Help & Troubleshooting] Rokkk:
That will be my problem in the future. :o

But right now I don't know how to even import and use images properly.:(

I'm very new at programming for android. Have only programmed a little java before ;)
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Just read up a little on this... seems AnimationDrawable actually does exactly what you need, just look it up in the reference.

If you still want to do the side-by-side thing I suggested first, here's some code to get you started, which uses assets to access a BMP. You still need a timer to actually cause the drawing, but I guess you've already set that up:

Bitmap animBmp=null;
try {
InputStream animStream=null;
animStream=this.getAssets().open("anim.bmp");
BufferedInputStream animBufStream = new BufferedInputStream(animStream);
animBmp = BitmapFactory.decodeStream(animBufStream);
animBufStream.close();
animStream.close();
} catch (IOException e) {
e.printStackTrace();
}

class AnimView extends View{
public int frameTime=100;
public int frames=-1;
public int frameWidth=0;
public int frameHeight=0;
public Bitmap animBmp=null;
public Paint paint=null;
private int lastFrame=-1;
public AnimView(Context ctx, Bitmap bmp,int frms) {
super(ctx);
animBmp=bmp;
frames=frms;
frameWidth=bmp.getWidth();
frameHeight=bmp.getHeight()/frames;
paint=new Paint();
}
protected void onDraw(Canvas c){
Log.i("draw", "draw");
int frame=(int)((SystemClock.elapsedRealtime()%(frameTime*frames))/frameTime);
if(frame!=lastFrame){
c.drawBitmap(animBmp, new Rect(0,frame*frameHeight,frameWidth,(frame+1)*frameHeight), new Rect(0,0,frameWidth,frameHeight),paint);
lastFrame=frame;
}
}
};

AnimView v=new AnimView(this,animBmp,3);
[Android Q&A, Help & Troubleshooting] Rokkk:
It says that

"animStream=this.getAssets().open("anim.bmp");"

The method getAssets() is undefined for the type MyTimedView

I am a real noob at this. Where am I suppose to set my test.bmp? (The image is named test) Which variables should I change for it to understand that it always should use the "test" image?

Also. I have a image of a house that I want to be placed on the screen. And this that you gave me doesn't help me there I think?

Thanks for all your help!! :D
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
getAssets operates on the Activity, not the View.

Change this line to your bitmap's path:

animStream=this.getAssets().open("anim.bmp");

in your case

animStream=this.getAssets().open("test.bmp");

You'll also have to change this line to match the actual number of frames:

AnimView v=new AnimView(this,animBmp,3);

And lastly, the file (test.bmp) should be inside the ASSETS directory of your eclipse project.
[Android Q&A, Help & Troubleshooting] Rokkk:
Ok I have done everything you have said. I made 3 images and stored them in assets. Named test1, test2, test3. But now I only get a white screen. I had some stuff from the beginning but they are now gone. And I don't get a image or anything.

Even more complex. How do I set the X and Y values to the animation?
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
It's supposed to be one image with the frames ontop of each other. Give me a second... I'll pack it into a project and attach it.
[Android Q&A, Help & Troubleshooting] Rokkk:
[2011-08-21 01:53:39 - SimpleAnimation] ERROR: Application requires API version 10. Device API version is 8 (Android 2.2).

[2011-08-21 01:53:39 - SimpleAnimation] Launch canceled!

Right now I feel like a 10 year old that doesn't understand how to spell.

Any quickfix to make it 2.2 compatible?
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Yep, go to Project /Properties /Android and set the checkmark somewhere else... the code is not using any of it, I just set it to something. Any 2.x should be fine, probably even 1.x
[Android Q&A, Help & Troubleshooting] Rokkk:
Thanks for all your awsome work!

But I have 1 problem. The picture. anim.bmp never gets placed on the screen. I have altered the x and y values but it seems like it's never getting loaded. I have changed all that I thought needed to be changed.

Lets keep this simple. After I am done with the above. I want to make 1 image on a specific x and y. And I want it to be clickable. Nobody really goes into detail about how to even get a picture into the app. Everyone believes it's so simple...
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
That's... troubling. You mean the unchanged project right? It works perfectly here and I can't see anything that would cause issues with the code, so it must be the project setup. Could you open the compiled APK with WinRAR or 7zip and verify that there is indeed a folder named assets, containing anim.bmp?

It's supposed to appear at 0,0... to move it, you'd have to change this line

,new Rect(0,0,frameWidth,frameHeight)

to

,new Rect(desiredX,desiredY,desiredX+frameWidth,desiredY+frameHeight)

I'm not really qualified to tell you how to work with resources... I just plain don't like the system, so I usually work around it and use assets instead, which are simply put into the assets folder and that's the end of it (BUT, they don't have any automatic resolution handling, so you have to implement that yourself).
[Android Q&A, Help & Troubleshooting] Rokkk:
Yay it worked! If I would want to use this code for my app, do I create a new class for it or just dump everything in activitys? Because right now when I dumped it in activitys it just made a white screen. No animation or anything. It's just printing out the backround.
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Phew! Your code will usually consist of a bunch of classes which inherit from View, which should each be contained in their own file. This AnimView will just be one more class among your collection.

According to the guidelines, you should then reference your Classes in res/layout/*.xml, but I've never done that (this strange, broken thing that Android calls XML gives me a headache), so well... you've got to find out how to do that without my help.
[Android Q&A, Help & Troubleshooting] Rokkk:
Why does it still give me a white screen? It is now back to the original and no new view is implemented.

I know my code looks horrible.
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
You load R.layout.main... but from what I can tell, there's nothing in there?
[Android Q&A, Help & Troubleshooting] Rokkk:
It is suppose to be loaded I think. If you mean when it is activitys.

And yes it isn't that much code. I recently started.
[Android Q&A, Help & Troubleshooting] Hans Schmucker:
Where?:

StepByStepActivity:

public class StepByStepActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
(...)
setContentView(R.layout.main);
}
}

This loads R.layout.main... as far as I can tell, that's the only thing being executed on load, aside from a few config changes.

res/layout/main.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
(...) android:id="@+id/mainlayout" (...)>
</LinearLayout>

That defines a linear layout.... but where is its content