yashsingh1/xdaforums huggingface dataset:
[Desire Q&A, Help & Troubleshooting] Freddan80:
and now when only trying to move it to '/data/data/rageaginstthecage-arm5.bin', I'm getting 'permission denied'

but I should be getting that I don't have root, so I don't even understand why that command even should work.
[Desire Q&A, Help & Troubleshooting] godina:
Same here. Tried typing su first but it allso gives me premission denied:mad:. So what now, how can i make it work and fix my desire and how did you guys did it:confused:?
[Desire Q&A, Help & Troubleshooting] quanchi:
If you get a directory nonexistent error it means that the target directory (/data/data/ in this case) doesn't exist. This is rather due to a misspelled command.

Please read the post about the /data/data/jackpal.androidterm/shared_prefs/ directory below
[Desire Q&A, Help & Troubleshooting] quanchi:
try the /data/data/jackpal.androidterm/shared_prefs/ directory. That's the directory which should belong to the Android Terminal Emulator app, and should be writable by it.

I have a strong suspicion that the people succeding in wrting to /data/data who posted that info in this thread already had root and unintentionally misinformed the rest of you :) If you read the thread from the beginning you will see that I wasn't able to write to /data/data and chose another directory
[Desire Q&A, Help & Troubleshooting] Freddan80:
After checking my '/data/data' I can see that I have absolutly nothing in there.
[Desire Q&A, Help & Troubleshooting] Freddan80:
I have tried that command several times and yes I have checked my spelling and I'm using 'Android Teminal Emulator' so the "working" folder should be named the same.

I'm going to try to wipe the phone and try again.
[Desire Q&A, Help & Troubleshooting] Freddan80:
Are you sure that you didn't have some kind of root yourself, cause when trying to write something to that folder I only get "directory doesn't exist"

?
[Desire Q&A, Help & Troubleshooting] Freddan80:
SUCCESS!!!!

I used 'Better Terminal Editor' (it's better in every way :)) and changed some of your lines to the place whete 'BTE' rests and it went well.

Thanks for all the help this thread gave me.
[Desire Q&A, Help & Troubleshooting] NYRican:
Which changes did you make? I would like to try your approach.
[Desire Q&A, Help & Troubleshooting] quanchi:
Nice,

What I have done took place a while ago. It's possible that the developer of Android Terminal Emulator changed the directory name. Either way you got the idea, and figured out for yourself that you just need to find a directory writable by the process of any terminal app you're using :)

Cheers
[Desire Q&A, Help & Troubleshooting] quanchi:
My bad :)

I just checked. It seems that the Android Terminal Emulator creates the "shared_prefs" directory only after you change something in its settings.
[Desire Q&A, Help & Troubleshooting] Mosquito2001:
Just wanted to say a big thanks for your procedure, I flashed the RUU after a failed s-off attempt in order to restore the hboot without realising my usb/sdcard was gone...

I'm now rooted again and successfully restored my nandroid backup :)
[Desire Q&A, Help & Troubleshooting] cris.arce.ramos:
this save my HTC Desire! Thanks to all tools developer and to this thread! I have a question, is it possible to use this hack to remove stock apps that I dont need? From what I understand, rageagainstthecage-arm5.bin provides temporary root right? So is it possible to use this temporary access to remove some apps via terminal because I dont really want to root my device.

THANK YOU!
[Desire Q&A, Help & Troubleshooting] Blubba10:
This thread saved my phone from going in the bin. Big thanks!
[Desire Q&A, Help & Troubleshooting] mortenmhp:
No it isn't. The desire is still nandlocked, so you will not have write access to the /system partition without a custom recovery.
[Desire Q&A, Help & Troubleshooting] ramatomo:
I LOVE YOU!!! :D

after 4day now I see USB on my desire
[Desire Q&A, Help & Troubleshooting] scorror:
@Quanchi

How were you able to get the CID. I type "fastboot oem boot'' in fastboot mode using the laptop's command prompt, and i get ''waiting for device''. please advice me or did i do something wrong.
[Desire Q&A, Help & Troubleshooting] mahastat:
I've no su

I've no super-user access. So I can't run these commands in terminal emulator on my phone or pc. I get 'permission denied' error. Is there any way for me now ?
[Desire Q&A, Help & Troubleshooting] mahastat:
permission denied

It's checked, but I'm getting permission denied error in pc and phone both. Any way to get it worked ???
[Desire Q&A, Help & Troubleshooting] mahastat:
I just got command over my phone. I've rooted it. Will be trying steps again.
[Desire Q&A, Help & Troubleshooting] mahastat:
Rooted, but unable to execute steps

Ok. I tried some steps and I got this:-

# cat /sdcard/rageagainstthecage-arm5.bin > /data/data/jackpal.androidterm/share

d_prefs/rageagainstthecage-arm5.bin

cat /sdcard/rageagainstthecage-arm5.bin > /data/data/jackpal.androidterm/shared_

prefs/rageagainstthecage-arm5.bin

cannot create /data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm

5.bin: directory nonexistent

#

Please suggest me to get these commands run successfully. My main problem is that my sdcard is not mounted in recovery or in android.
[Desire Q&A, Help & Troubleshooting] tadzio:
I think the solution for your problem is in this post.

Cheers

tadzio
[Desire Q&A, Help & Troubleshooting] lldesire:
Please suggest

Please see my problem and details of phone at :-

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

and suggest steps.

I've root access. I can't mount sd. it says /dev/block/mmcblk0 not found. If it is a usb brick situation, I'll like to try your solution.

Thanks
[Desire Q&A, Help & Troubleshooting] lldesire:
As I'd no sd access, I did this

D:\Softwares\htc\android-sdk-windows\tools>adb push ./rageagainstthecage-arm5.bi
n /data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm5.bin
658 KB/s (5392 bytes in 0.008s)

D:\Softwares\htc\android-sdk-windows\tools>adb push ./flash_image /data/data/jac
kpal.androidterm/shared_prefs/flash_image
1768 KB/s (76044 bytes in 0.042s)

D:\Softwares\htc\android-sdk-windows\tools>adb push ./mtd0.img /data/data/jackpa
l.androidterm/shared_prefs/mtd0.img
1616 KB/s (655360 bytes in 0.396s)

D:\Softwares\htc\android-sdk-windows\tools>adb shell

~ # cd /data/data/jackpal.androidterm/shared_prefs/
cd /data/data/jackpal.androidterm/shared_prefs/
/data/data/jackpal.androidterm/shared_prefs # chmod 755 rageagainstthecage-arm5.
bin flash_image
chmod 755 rageagainstthecage-arm5.
bin flash_image
/data/data/jackpal.androidterm/shared_prefs # /data/data/jackpal.androidterm/sha
red_prefs/rageagainstthecage-arm5.bin
/data/data/jackpal.androidterm/sha
red_prefs/rageagainstthecage-arm5.bin
/sbin/sh: /data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm5.bi
n: not found
/data/data/jackpal.androidterm/shared_prefs # rageagainstthecage-arm5.bin
rageagainstthecage-arm5.bin
/sbin/sh: rageagainstthecage-arm5.bin: not found
/data/data/jackpal.androidterm/shared_prefs # ^C
D:\Softwares\htc\android-sdk-windows\tools>adb shell
~ # /data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm5.bin
/data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm5.bin
/sbin/sh: /data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm5.bi
n: not found
~ # cd /data/data/jackpal.androidterm/shared_prefs
cd /data/data/jackpal.androidterm/shared_prefs
/data/data/jackpal.androidterm/shared_prefs # ./flash_image misc mtd0.img
./flash_image misc mtd0.img
/data/data/jackpal.androidterm/shared_prefs #

Only one step was unsuccessful. Please suggest.

I've 'can't mount /dev/block/mmcblk0' error. I think if it is brick then your solution will fix it. Isn't it ?
[Desire Q&A, Help & Troubleshooting] Sprut:
Thank you.

This method has helped me.

Only I used chmod 777 for all files instead of chmod 755, but otherwise flash an error.
[Desire Q&A, Help & Troubleshooting] lldesire:
I learned to do this by changing commands

adb push ./rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage-arm5.bin

adb push ./flash_image /data/local/tmp/flash_image

adb push ./mtd0.img /data/local/tmp/mtd0.img

Now

adb shell

su

cd /data/local/tmp

chmod 755 rageagainstthecage-arm5.bin flash_image

./rageagainstthecage-arm5.bin

Restart terminal

adb shell

su

cd /data/local/tmp

./flash_image misc mtd0.img

But my problem "E: Can't mount /dev/block/mmcblk0" is same.

Atleast I learned something. Is there any to help here ?
[Desire Q&A, Help & Troubleshooting] lldesire:
Use this method instead.

http://xdaforums.com/showpost.php?p=10835746&postcount=56

It uses tmp folder. :)
[Desire Q&A, Help & Troubleshooting] quanchi:
People please read carefully

If you are able to use ADB you don't have an "USB Bricked" phone!!!

The whole Idea of this thread is to help people solve problems with not working USB. How can you assume this thread will solve your problems if you have USB working ? :D
[Desire Q&A, Help & Troubleshooting] lldesire:
Definitely. But, as I read that failing to mount sd card may be caused by a brick propelled me to try this. :p

Is any one here to help as fastboot oem enableqxdm 0 went in vain. It said OK. But no sd access even now.

I've root and S-Off too.

Should I send it to Service Center ?:confused:
[Desire Q&A, Help & Troubleshooting] sir_hc:
I am USB briked :(

Everything works fine (sd, bt and radio working) exept the USB. My phone is rooted and S-ON. I have HBOOT 0.80.

How can I find my CID??? I tryied the adb commands but since I have no usb connection I get the "waiting for device" message.
[Desire Q&A, Help & Troubleshooting] Sprut:
- boot in fastboot mode: power off -> hold BACK + POWER

- connect phone to PC

- open cmd

- cd c:\android-sdk-windows\tools

- fastboot oem boot

...

INFOCID is HTC__A07 <-- is CID

...

also need the driver for fastboot mode: c:\android-sdk-windows\usb_driver
[Desire Q&A, Help & Troubleshooting] sir_hc:
I can't connect my phone to PC so I can't boot in "fastboot

USB

" mode. When I send the command I get the "wating for device" message.
[Desire Q&A, Help & Troubleshooting] Sprut:
hmm....

if drivers installed, imho JTAG only

Google:

"**** HTC Desire Unlock/Repair mega thread ****"

"RIFF JTAG – HTC Desire Unlock, Unbrick, IMEI repair supported"
[Desire Q&A, Help & Troubleshooting] sir_hc:
which drivers??
[Desire Q&A, Help & Troubleshooting] Sprut:
:D No.

Which Soldering iron :)
[Desire Q&A, Help & Troubleshooting] jaaystott:
When I do this /data/data/rageagainstthecage-arm5.bin I get an error saying ADB cannot be found. I then close the terminal, open it again and when I try and do the last command, I get a permission denied error. Can anyone shed any light please?
[Desire Q&A, Help & Troubleshooting] HyperL:
Damn...if only I had seen this thread 2 days ago before sending my Desire to a service :(, had the exact same problem, flashed an official rom aver the bricked usb...dumb thing to do!!!

Good job with the fix! I hope I won't need it again :D
[Desire Q&A, Help & Troubleshooting] ReyTech:
@quanchi

thanks for the solution! but this is for working phones! what if we have a complete usb brick and a solid brick device which doesnt even allow updating as always error "update partition fail" while doing it thru SD card? and which is always in HBOOT mode when ever i press poweron? pls shed some light!

WBR

ReyTEch.
[Desire Q&A, Help & Troubleshooting] helios66:
I seem to be okay until this point I get a

bash cd: /data/data/./flash_image Not a directory error.

Can anyone help please
[Desire Q&A, Help & Troubleshooting] ReyTech:
@quanchi

is it possible to fix a completely bricked desire (which only boots in HBOOT 0.93.10) when i press the power button! and which is also a usb brick (no usb connectivity to comp) and no (back+ poweron fastboot mode)but with sd card support and possiblilty to go to original android recovery(volumne down key + power then recovery then volumnekey up + power)? if yes!

then can i copy the files to sd card and flash the phone with adb shell in (hboot then fastboot usb?) and so what will the commands be and can i use the same files? or is there anything more to add? pls help me out! i need to fix my phone or else endup paying for this phone! PLEASE!

wbr

reyetch.
[Desire Q&A, Help & Troubleshooting] abz54:
hi, thank you to the people that found this solution, i had problems with getting root using the rageagainstthecage mod as it didnt give me root, but if you search for visionary+, i dont think it is on android market, it will give you temporary root and then you can follow the process in the following thread: http://xdaforums.com/showthread.php?t=691639&page=36
[Desire Q&A, Help & Troubleshooting] rawdealer:
I have a question :)

I put all files on SD (have no access to SD) via pc and other stuff, but when type this:

5. Copy the files to the Terminal app data directory (the only place on the data partition you will have write access while running the Terminal), and make the binaries executable

Code:

cat /sdcard/rageagainstthecage-arm5.bin > /data/data/jackpal.androidterm/shared_prefs/rageagainstthecage-arm5.bin

it says permission denied :/
[Desire Q&A, Help & Troubleshooting] amoskas:
I know it's desire forum.

But I have HTC Legend, and I had this same problem (Unrooted device, which was USB bricked as well)

What I did to solve it was:

1. Did the USB unbrick guide:

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

(Ofcourse I used sdcard to USB adapter to copy the files to the phone, because the computer didn't recognized the phone)

2. Before the steps which required root access (the steps at the end of the guide),

I downloaded and installed on the phone (with astro file manager) the program z4root , which has an option for temproot: (first tried visionary but it got stuck)

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

3. After getting the temp root with z4root, I did the last steps in the USB unbrick guide with no problem :) and now the problem is gone!

Hope it helps.
[Desire Q&A, Help & Troubleshooting] bortak:
ok it's too long for me to read all of this but if anyone is still wanting a way to restore usb brick without (full) root, there's a section on my guide to this.
[Desire Q&A, Help & Troubleshooting] snebojsa:
Can you please explain to me step by step what you do with QuickSSHd program, don't understand part with "made executable from binary"? I have Incredible S, hboot 2.0, locked, s-on, usb-brick. Thanks.
[XPERIA X10 General] netomx:
I tried SwitchPro and NoLock, but they don't do the trick.

I don't like the slide to unlock, I just want pattern... any ideas?

Thanks!
[XPERIA X10 General] SXUsr:
Wait for 2.1, even rooted users are stuck with it, but a lot of people don't actually mind it, myself included. You could try "GOTO", I wasn't impressed with it though.
[XPERIA X10 General] urs74:
Me neither GOTO looked very generic looking to me.
[Epic 4G Q&A, Help & Troubleshooting] Moguledyouth:
I was able to access the Audio Tuning "hidden menu" once by entering a code into the dialer, but I could not get any of the settings to stick. Does anyone know the audio dialer codes & how to use them successfully for the Epic 4G?
[Epic 4G Q&A, Help & Troubleshooting] JungleJiujitsu:
Whats the code to bring up the "hidden menu?"
[Epic 4G Q&A, Help & Troubleshooting] asj2583:
http://xdaforums.com/showthread.php?t=804795
[Epic 4G Q&A, Help & Troubleshooting] Moguledyouth:
In the dialer enter *#28346# to get to the hidden audio menu, but I'm not sure how to get the settings to stick...
[Droid X Themes and Apps] nycorduroy:
Ok i can't stop messing with my X. does anyone know what file the gmail icon is in.I am talking about the one that appears in the top left of the notification bar when you get new gmail. i tried changing the icon I found in the gmail app itself and had no luck when i got new mail.

No biggie if no one does just like to tinker.

Nycorduroy
[Droid X Themes and Apps] will2live:
I forget the name off the top of my head but if memory serves me it is in the framework-res.apk. So if you know what you have now decompile that and look in there to change it.
[Droid X Themes and Apps] Corey@rabbit:
it used to be in the gmail apk, but since we got the update, search your data/app folder. you will find the update in there. For this one you must pull it from your phone, delete the old update (via market or app manager) change your image drop it into a good apk (one that wasnt decompiled) then re sign it. then install from sd or adb.
[Droid X Themes and Apps] nycorduroy:
So in data/apps I see com.google.android.gm-1.apk. I checked and sure enough the icon is in there. So let me see if I got this right. Pull that file using adb to my computer. Then uninstall gmail app from phone. Download clean gmail app from market. Place icon I want in the apk using something like 7zip and then install gmail??? Am I understanding you correctly?

Thanks bad
[Droid X Themes and Apps] Corey@rabbit:
pull the apk

uninstall gmail

modify the apk

sign the apk

install new apk
[Droid X Themes and Apps] nycorduroy:
Ok hopefully last question. what is the best way to sign an application??

Edit: alright I figured it out. Thanks again bad4u
[Droid X Themes and Apps] Corey@rabbit:
no prob, sorry i wasnt able to get back to ya on the last question.
[Droid X Themes and Apps] nycorduroy:
Alright,

I have tried and tried but no luck. Here is what i have done so far:

pulled the update from phone. uninstalled gmail updates. Modified the icon image in the gmail update. Signed the modified new gmail update apk ( did it twice separately with 2 different methods found on these forums). Sent signed, modified new update for gmail back to data/app on phone. disconnected phone from pc. through root explorer clicked on the new update. It attempts to install and then comes back with application failed to install. Just to check if i click on the unmodified update.apk it installs just fine.

Any ideas?? So little of a mod, but it is driving me nuts!!!
[Droid X Themes and Apps] Corey@rabbit:
You placed in system/data then tried to install? if so just place on sd then try to install.

Are you decompiling then recompiling? if so, just take your edited images and drop them into the apk you didnt decompile, into their correct folders then resign.

do you have "unknown sources" checked in settings>app

try those, if you still cant get it, i might be able to look at them and check it out.
[Droid X Themes and Apps] nycorduroy:
Finally got it!!! The only way I got it to work after trying every possible suggestion was to use Ninjamorph. No matter how many times i uninstalled, edited, signed, and attempted to install I kept getting application did not install. Don't know why but it would not accept my signed apk. I never even decompiled it. Weird but i am new at this stuff. ninjamorph took the least amount of work and effort and it worked 1st try.

Go figure.. thanks bad4u for all your help. i almost gave up but your suggestion kept me going.

Now, what can i mess with :rolleyes:
[Droid X Themes and Apps] thepolishguy:
I would like to see the image you used. Maybe I will do the same. Could you do a little step by step on your ninja morph process? Thanks.
[Droid X Themes and Apps] nycorduroy:
Ok I attached icon I am using.

These were my steps. 1. Download and install Ninjamorph from market

2. Put the gmail icon on root of sdcard

3. start ninjamorp

4. click allow checks in ninjamorph

5. when done click start new project

6. click data folder

7. click app

8. scroll down to and click com.google.android.gm-1.apk

9. NM will extract files, just wait

10. when down click res

11. click drawable-hdpi

12. scroll down and click stat_notify_email.png

NM will bring you to the root of the sdcard

13. click on the new icon that you want to use

14. NM will replace it, once done, click on blue arrow in bottom right of NM

15. click finish project

16. You should see com.google.android.gm-1.apk. Click it.

17. hit ok at all warnings. One will mention zipalign or something like that I clicked no for that one.

18. Phone should reboot (if not do it yourself) and you should have the new icon appear in top left of notification bar when you get Gmail.

This is how I got it to work. Of course make a backup and don't blame me if anything screws up

Nycorduroy
[Droid X Themes and Apps] nycorduroy:
Here it is in action
[Droid X Themes and Apps] thepolishguy:
Man! That is the kind of write up I can appreciate.

+10

Do you have any other images you can share? i.e. tweetdeck, set cpu etc?

Also - I assume - just right click on the icon and "save as"? It is the proper size? I mean the gmail icon is the exact one you are using?

thanks a bunch.
[Droid X Themes and Apps] nycorduroy:
glad you like the right up. This forum has taught me so much so I gotta give back what little I do know. Yeah just right click and save as. It is the right size and named correctly. As for other icons, don't have anything special really. All the ones I have, I've snagged from these forums and other droid spots.
[Droid X Themes and Apps] honki:
where is this icon on gingerbread? Ur Guide doesnt works for me :-( ne new icon is inside the .apk file but still the old gmail icon appears and makes me crazy:(

im on gingerbread 2.3.3 with a ram build on HTC HD2

any help?
[Droid X Themes and Apps] ColePatrol:
I'm having the same issue :mad: I've tried everything to change it.
[Android Apps and Games] orangekid:
Is there an APK for the advanced power control used in CM ROMs?

I really want to add this to my current ROM and can't find this anywhere.
[Wing, P4350 General] amrsohil2000:
Hello,

Guys i have a question, i was using Nokia for along time then i decided to change to HTC some of my friends gave me HTC P4350,( HERA100 ) or Herald. He told me that " This phone was locked on Mobinil Egypt Network And Some One Unlocked It " i don't know how he did it but the phone works great with any SIM Card, but there is a problem it's running Windows Mobile 5.0 ( And It Sucks ) i Would like to upgrade to Windows Mobile 6 or 6.1

i have searched through this forum but it didn't find what i'm looking for, every post says " Your SPL /IPL should be 4.XX or more "

The Problem Is MY SPL & IPL are : 1.08.001

GSM 02.71.90

OS : 1.8.0.0

And I don't know how to update SPL Or IPL to 4.XX

Please Help me and guide me ....

Extra informations :

ROM Version : 1.8.452.2 WWE

ROM Date : 11/3/2006

Radio Version : 02.71.90

Protocol Version : 4.1.13.31

ExtraROM Version : 1.8.452.102
[HD2 Android Q&A, Help & Troubleshooting and Genera] t0ny0:
Do you guys know if there is some way that we can get UMA working on our HD2?

And is it true that the new Glacier is going to support it? And if so - are we going to get UMA working if we use the Glacier rom for HD2?

Oh so many questions, but I really need to have it working, because T-mobiles coverage is just horrible in my house, and my business is suffering from sudden call drops and whatnot. :mad:

And if you guys know any other way or app that can work as UMA or something simillar - that would be greatly appreciated.

Thanks in advance :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] t0ny0:
Anyone?
[HD2 Android Q&A, Help & Troubleshooting and Genera] enneract:
The first example of a TMOUS UMA Android phone hasn't even been released yet. All anyone has to work with is a leaked rom from an unknown point in the development cycle, that has been floating around for like 2 days.

Some of the people here work miracles, but asking them to have a working UMA client for a completely unsupported device running an OS it was never designed to run, based on a pre-release version of a rom from an unreleased phone less than 48 hours after any info on it at all existed...

Man, cut em some slack.

It will come later, I'm fairly certain.
[HD2 Android Q&A, Help & Troubleshooting and Genera] t0ny0:
No rush here, was just asking if theres something available or if its going to support :) I love my android on HD2 and will NEVER change my phone for any other, and thats only thanks to all the devs here in XDA :) A big Thank you for everyone.