yashsingh1/xdaforums huggingface dataset:
[Motorola Triumph] jasoncol01:
I just updated my PRL from 01120 to 60679.

I received an NV Write error at the end of the "write to phone" process in QPST (second post here) but the updated PRL is showing on my phone. Data and voice are OK. Actually, data is much faster for me on 60679.

Does anyone know what the NV Write error means? It doesn't appear to be affecting my phone...yet...
[Windows Phone 7 Q&A, Help & Troubleshooting] MrKickstand:
Ok, so since i had to get a new HD7 and when i update the phone instead of going to 7.0.7390 it goes to 7392 and i cant use the mango update tool i used before, is there any way i can update it to mango from here?
[Windows Phone 7 Q&A, Help & Troubleshooting] jallenashley:
Have you tried the mangoforall provisioning tool? If you search the general threads you can find it. Actually, if you look through my posts I link to the download for the tool with instructions.
[myTouch 4G Q&A, Help & Troubleshooting] howichill:
Ok I am wondering is their a mod to where I can get just the name of the person who is texting me to show in the status bar? I don't want the message txt to show just the name of the sender is that possible?
[Verizon Droid Charge] thizzmaster:
ODIN doesn't seem to want to install any kind of odin file that I put into it on my phone.

It gets stuck at dbdata.rfs and then it just remains there for over 2 minutes.

Tried to pop the battery back in once it got there, but that didn't work either.

Also can't get into recovery, by pressing volume down + power key.

You should know my phone died 2 days ago, and I used ODIN to bring it back to life. By died I mean it would bootloop to the recovery and then it finally gave me the bootloader=7 error after which it would just boot into the samsung recovery and nothing else.

Does this mean I will be stuck with a phone that I cannot root or backup or even install a custom rom?
[Verizon Droid Charge] anoninja118:
try leaving the battery in for the whole flash, also recovery is volume up+home button+power

blazing through on my 4G Droid Charge
[Verizon Droid Charge] thizzmaster:
I also tried leaving the battery in for the whole flash process as well, for some reason ODIN is super slow even on my comp which is not the least bit slow for the specs(3.8ghz amd 545 with 4 gb of ram ddr1666) so I do not know why it would be so slow either. when the flash is done it says 134:00 minutes and whatever rom I flash doesn't actually get flashed, it just sticks to the stock ram.

i can't even install a recovery on the phone either, and can't even get root for some reason, maybe the one click root i am using might be outdated or something.
[Verizon Droid Charge] thizzmaster:
actually just tried to do the recovery mode, but it only got me to the samsung recovery not the clockworkmod recovery. even after I had a successful flash of the odin for the recovery portion.
[Verizon Droid Charge] hazard209:
Are you using the PDA section? Leaving repartition UNchecked?
[Verizon Droid Charge] thizzmaster:
i was using the phone section, but whats the difference, isn't it all the same? and yes i was leaving the partition unchecked.
[Verizon Droid Charge] anoninja118:
that's your problem right there, DO NOT use any section except PDA and PIT for flashing stuff with Odin... try again with it in PDA and you should be able to boot into it and it'll work fine
[Verizon Droid Charge] blarrick:
PHONE SECTION =

BAD

! NEVER EVER use the phone section! It can cause some seriously bad issues, the most problematic being the infamous brick(unrecoverable).
[Verizon Droid Charge] kvswim:
These don't work for the Charge.

Sent from my Droid Charge running GummyCharged 2.0
[Verizon Droid Charge] hazard209:
...Have you not read ANY of the tutorials??? If you want to brick you're phone (you'd be one of the few and the proud, because you really have to try to do it), then keep on using the phone section and have a $500 paperweight.
[Verizon Droid Charge] kvswim:
Haha. We should let him brick it.

Sent from my Droid Charge running GummyCharged 2.0
[Verizon Droid Charge] hazard209:
That was a little mean on my part... But come on people, please read thoroughly through the tutorials, how to's, and OPs before posting about a problem. Actually even before doing ANYTHING to your phone. Use the search, it's there for a reason. Users and Devs have taken the time to compile all of this for you and you've just wasted their time and insulted them by ignoring it.

Ok. Done ranting. Thizzmaster, sorry for the outburst. For future reference always use the PDA section for .tar.md5 files for your Charge. It matters and there is a difference.
[Verizon Droid Charge] galaxyuser88:
Last time i checked, Most of these superphones are actually super pda's with phone capabilities. :D
[Atrix 4G Q&A, Help & Troubleshooting] madman1923:
When I was trying to unlock my atrix boot loader using the Automatic unlock I followed the steps and plugged the trololol-unlock234.sbf into rsd I get Failed to boot, and when I try to continue i get fastboot is not a recognized command..... HELP

And what is your unique id number and where do you find it,

and when I try to navigate through the failed to boot menu with the volume keys it wont do anything.!
[Atrix 4G Q&A, Help & Troubleshooting] live4nyy:
If I'm not mistaken but I think you just need to run the application(script) again and select option 3 this time and it will guide you through the rest of it.
[Atrix 4G Q&A, Help & Troubleshooting] madman1923:
When I do that now I get Battery is to low to flash. Awh man Im screwed
[Atrix 4G Q&A, Help & Troubleshooting] madman1923:
Please any ideas. please please help
[Atrix 4G Q&A, Help & Troubleshooting] live4nyy:
You could probably plug it into an wall charger and let it sit for a couple hours or try to find someone with an Atrix that can charge your battery (or borrow theirs).
[Defy Q&A, Help & Troubleshooting] TweetyPeety:
Hi,

Iam trying to start a fullwipe.sh during the updater-script prozess. It works on the Optimus Speed, but it doesn't work on the DEFY. I know that the file is copied in the right folder because I tried it also with an SDCard, but it doesn't get executed.

ui_print("Mounte Partitionen...");
run_program("/sbin/busybox", "mount", "/system");
run_program("/sbin/busybox", "mount", "/dbdata");
run_program("/sbin/busybox", "mount", "/cache");
run_program("/sbin/busybox", "mount", "/data");
run_program("/sbin/busybox", "mount", "/sdcard");

# Fullwipe
delete_recursive("/tmp/vorkKernel");
package_extract_dir("tmp", "/tmp");
set_perm(0, 0, 0777, "/tmp/vorkKernel/busybox");
set_perm(0, 0, 0777, "/tmp/vorkKernel/fullwipe.sh");
run_program("/tmp/vorkKernel/fullwipe.sh");

As I said it works flawless on the Optimus Speed and maybe somebody know why it doesn't work on the Defy. Are there maybe different mounts or different names for some codes.

It works until it should run_program and it doesn't have to do something with the fullwipe script because I tried it even without any code only giving out some ui_print and it didn't work.

Hopefully somebody can help, because I am getting tired of trying. The fullwipe.sh is added to this post
[Defy Q&A, Help & Troubleshooting] rdannar:
Are you sure the script has right partitions because the updater script itself looks good as long as the binary matches it
[Defy Q&A, Help & Troubleshooting] TweetyPeety:
You mean the run_program mount scripts? But they worked usually everytime and the tmp folder and the script should even start but it even doesn't start. I will try tonight something different and mount it with old stuff. What's strange ist that it says run_program and than sbin/busybox but I looked on the defy after it and on my Speed, but there is no busybox file in the sbin???? How this can work or isn't needed.
[Defy Q&A, Help & Troubleshooting] UEman:
I think it has to be xbin instead of sbin
[Defy Q&A, Help & Troubleshooting] TweetyPeety:
thanks for the help, but I tried it also with xbin and nothing. I tried nearly everything and wanted to test if a normal shell script even works.

#!/system/bin/sh

mount /system

rm /system/app/Email.apk

unmount /system

or something like this

#!/system/bin/sh

mount -o rw /system

rm /system/app/Email.apk

unmount /system

nothing, if I execute this Shell Script at the boot with the normal firstboot in the ini.t folder it does nothing. This is a desaster, is something different with MIUI and Shell Scripts or why any Shell Scripts doesn't work in the bloody phone.

Do I have to mount differently, to I have to use another sh Folder. I checkt every bin and xbin folder and tried different folders, nothing.

ANY IDEA:???
[Defy Q&A, Help & Troubleshooting] rdannar:
Try a different binary and edify script... there are like 4 different kinds, all with different mount codes
[Defy Q&A, Help & Troubleshooting] TweetyPeety:
Can you tell me them?
[Defy Q&A, Help & Troubleshooting] rdannar:
Do a search for updater zips on xda... there are several good tutorials each binary has to have matching mounts to that particular binary
[Defy Q&A, Help & Troubleshooting] mostafaz:
just in case which someone else had this issue

in update binary

assert(run_program("/tmp/install.sh") == 0);

and this is the content of the install.sh

#!/sbin/sh

dd if=/tmp/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot || exit 1
exit 0
[Milestone 2 General] Maudiefech:
rootzwiki.com/showthread.php?t=3406

It seems it's the final version, and as I understood, motorola will soon release a version like this or liker. But I have a question. I have motorola milestone 2 (A953) and the leak is for A956. If I flash my A953 with this A956 version, will i have problems related to network? And if I want, am I able to restore original sbf version of my A953?

Thanks!!
[Milestone 2 General] dangpzanco:
Network won't work. And downgrade is not guaranteed (40% chance you can get back by flashing a Stock SBF).

Sent from my Milestone 2 XDA App
[Milestone 2 General] robertoszym:
if you have problems with baseband (gsm) you can use this method http://xdaforums.com/showthread.php?t=1182050

I use this on 2.2.2 and 2.3.4 and works.
[Milestone 2 General] MegaBubbletea:
Sounds risky. I'll just wait for official Gingerbread update from Motorola.
[Milestone 2 General] Maudiefech:
Yeah, I'm afraid of that. I'll wait till the end of time when motofail will release the official version =p. Just for notice, google will soon release ice cream sandwich, and motofail still stuck on updating their mobiles to gb -.-
[Droid Incredible Android Development] jermaine151:
This will work for the 4.06.605.3 OTA and any roms based on it.

9/23/2011 - Thanks to MicroMod777 for getting the lib we needed to 00McD00, who passed it on to me! I tested it and it worked great for trackpad wake, but not for unlocking the HTC lock screen. I then proceeded to hack the HtcLockScreen.apk to allow the trackpad to unlock it as well.

I'm posting 2 zip files. One is ONLY trackpad wake and doesn't replace/add the HtcLockScreen. If you're using a senseless rom or the vanilla lockscreen and want to keep using it, flash the trackpad_wake zip.

The second file is trackpad wake/unlock and will replace your HTC lockscreen, so if your current lockscreen is themed or mod'd in any way, it will be replaced with the stock HTC lockscreen if you flash this.

You may have to press the trackpad a few times to wake the phone from a deep sleep. There's a kernel hack that needs to be made to always send the key event, even when in deep sleep.

9/14/2011 - I finally fixed that Settings.apk file to remove that nag message for good. Even after flashing another mod, the message should not come up.

Thanks to RMarkwald for Brainstorming with me on hiding the icon and sharing his logcats that helped to point me in the right direction!!

The Satellite GPS icon will still appear when GPS is being accessed. This just hides the useless crosshair icon.

*Disclaimer: I'm not responsible for you and your phone.. blah blah blah..

Flash via recovery

It only takes a second to click "Thanks"! :D

Download GPS Nag Message Removal (Flawless Version 2)

Remove Useless GPS Recticle Icon
[Droid Incredible Android Development] big_mike_2k6:
Great work you are the man
[Droid Incredible Android Development] incubus26jc:
good work buddy :) i may have to update my rom with this!! Thanks for your contributions :)
[Droid Incredible Android Development] jermaine151:
Thanks Mike! Can you verify that it works for you? I only tested it on my phone.
[Droid Incredible Android Development] Deleted member 2776902:
And a "Thank you" well deserved. This has been driving me crazy, even though it is a relatively minor issue.
[Droid Incredible Android Development] jermaine151:
:) Thanks Incubus!
[Droid Incredible Android Development] incubus26jc:
no, thank you.. also, how did you remove the gps icon from statusbar when not in use? I know ive done this before but dont remember :(
[Droid Incredible Android Development] jermaine151:
It's one edit in the bytecode of SystemUI.apk.

change line 1064 in:

smali\com\android\systemui\statusbar\policy\HtcCdmaStatusBar.smali

from:

invoke-virtual {v0, v6, v4}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V

to

invoke-virtual {v0, v6, v[color=red][b]3[/b][/color]}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V

RMark figured it out about the same time, in a different way, and posted his code edit in the themes and apps section.
[Droid Incredible Android Development] big_mike_2k6:
Worked like a charm
[Droid Incredible Android Development] ogre150:
It worked. Thanks.

His 'monkey business' is his official dealings with primates.
[Droid Incredible Android Development] iowabowtech:
Nicely done, thanks man.
[Droid Incredible Android Development] LifTeD_JK:
Hey jermaine, not to be a pain but I tried editing the code and I list my status bar. I unpacked it using apktool navigated to the location above, made the edit and repacked the apk. I placed it back in my rom and reflashed. Any thoughts?

Sorry I'm still learning and would like to make the change myself.
[Droid Incredible Android Development] jermaine151:
What rom and what happened when you tried your modified apk?
[Droid Incredible Android Development] jaykresge:
In my experience, placing it in the ROM won't get the desired result. You'd have to flash the ROM, boot up, and then flash the separate fix. Jermaine should be able to give more info, but this is the experience I'm having.
[Droid Incredible Android Development] LifTeD_JK:
I lost my notification bar. It's the gb leak that came out a couple weeks ago. I cooked it up with the kitchen. Fully Deodexed added superuser and busy box and debloated it. I ran it for a week as my daily with no issues until I made this change and reflashed this weekend.
[Droid Incredible Android Development] jermaine151:
I'm guessing that you just took the apk from your dist folder and flashed it. You can't do that. Open the one in the dist folder with 7zip, Open the original with 7zip. Drag the META-INF folder and AndroidManifest file from the original into your newly built apk. Then flash that and wipe dalvik or to save time do this using adb:

adb shell rm /data/dalvik-cache/system@app@SystemUI.apk@classes.dex

It may say it doesn't exist since you flashed an unsigned one. Let me know.
[Droid Incredible Android Development] jermaine151:
I do it all the time. If you do the steps I posted above, it'll work like a charm and save a lot of time from flashing over and over.
[Droid Incredible Android Development] LifTeD_JK:
Awesome thanks man. Appreciate you sharing your knowledge. I wondered about replacing parts of the file instead of the whole thing. I'll give it another shot.
[Droid Incredible Android Development] jermaine151:
Updated the OP with a new Nag message removal zip that works much better and a GPS icon removal zip. These both work with the latest OTA and roms based off of it.

Enjoy! :)
[Droid Incredible Android Development] RMarkwald:
You found how to remove the location icon in the latest OTA last night huh? Nice!
[Droid Incredible Android Development] jermaine151:
Well, the GPS icon for the OTA removal is the same as the previous one. I just updated a new Settings.apk that won't show the nag message, ever. I still haven't figured out how to hide the GPS recticle on the Desire HD based roms. :(
[Droid Incredible Android Development] RMarkwald:
Dang! Thanks for clarification! Maybe I'll play today if I have time...
[Droid Incredible Android Development] kzoodroid:
How easy is it to make a file to remove the clock from the status bar? There is one for froyo in the themes section but the op doesn't answer posts any more. Would this be something I could do using the kitchen in my working folder? You know an easy edit of a line of code in a file.
[Droid Incredible Android Development] RMarkwald:
You need to decompile classes.dex inside of SystemUI.apk, and to hide the status bar clock (which is what I do each time before flashing a ROM!), go to com/android/systemui/statusbar - and open the Clock.smali file in Notepad++ or something equivalent.

Search for: invoke-virtual {p0}, Lcom/android/systemui/statusbar/Clock;->updateClock()V

There should only be one instance of this in the file.

Add this ABOVE the line you just searched for:

const v1, 0x8

invoke-virtual {p0, v1}, Lcom/android/systemui/statusbar/Clock;->setVisibility(I)V

The code should now look like this:

const v1, 0x8

invoke-virtual {p0, v1}, Lcom/android/systemui/statusbar/Clock;->setVisibility(I)V

invoke-virtual {p0}, Lcom/android/systemui/statusbar/Clock;->updateClock()V

Recompile classes.dex and add it back into SystemUI.apk, and either use ADB to push the file back or use 7zip to put it into the ROM zip file before flashing.

Hope this helps.
[Droid Incredible Android Development] kzoodroid:
Thanks for the help. This will keep me busy for a while.
[Droid Incredible Android Development] RMarkwald:
Have you made these type of edits before?
[Droid Incredible Android Development] kzoodroid:
I'm trying to do this with apkManager but not finding a classes.dex file, just clock.smali and clock$1.smali (under status bar in system.ui folder) and neither of them has the line of code you mentioned.

---------- Post added at 11:46 AM ---------- Previous post was at 11:33 AM ----------

Okay found directions on how to edit classes.dex using baksmali and smali in my sdk tools folder. Been a long time since I ran sdk so may take me a while to figure how to run commands again.
[Droid Incredible Android Development] jermaine151:
No. You already have the files decompiled. Just modify Clock.smali as RMarkwald specified. You don't get a classes.dex file until after you've recompiled your changes.
[Droid Incredible Android Development] RMarkwald:
I use Java and the command prompt to use smali/baksmali jar files to decompile the classes.dex file. The method I use is to use 7zip to remove the classes.dex file from the SystemUI.apk, then using the command prompt and smali/baksmali jar files, decompile/re-compile to create a new classes.dex file. If you've done it this way before and forgot the commands, I can get those to you.
[Droid Incredible Android Development] kzoodroid:
Okay got it all edited and pushed back over but when the phone rebooted got a force close in status bar and now have no staus bar. Will have to do some playing around.
[Droid Incredible Android Development] RMarkwald:
So you decompiled it to make the edits, and then re-compiled it to create a new classes.dex file correct?
[Droid Incredible Android Development] kzoodroid:
Okay got it thanks everyone. I had copied and pasted a line of code and forgot to change it to setVisibility. Then the second time I tired to edit it the old dex file in my tools folder got mixed in with the new one and caused more problems. Finally just started over from scratch and now got it working right.

Using java and smali/baksmali in adb was a lot easier than trying to get apkManager working.
[Droid Incredible Android Development] jermaine151:
Apktool (NOT apk manager) is the easiest for me and works great! I'm glad you got it working.
[Droid Incredible Android Development] RMarkwald:
Good to hear bud! I do it this way, as that's how I learned to do it, and I can just get it done real quick now. I've had issues using apk manager and apktool for some reason as well, just no real time to figure out what/why.
[Droid Incredible Android Development] kzoodroid:
I had apkManager already installed from an attempt back in May to edit apps. I had wanted to make this a flashable file so I could use it over again but I was having too many issues with apkManager and gave up on it. Been at least 18 months since I used adb commands to do anything and was a little rusty but doing a lot of google searches helped.
[Droid Incredible Android Development] RMarkwald:
Wow, just figured out why APKtool was erroring out decompiling...such an idiot Ryan! I needed to put BOTH framework-res and com.htc.resources.apk's into the apktool folder and run apktool if blah-blah-blah for both items, then decompile/compile worked just fine...DOH!
[Droid Incredible Android Development] jermaine151:
Yes sir! And if you work on different roms, with different framework, tag the framework files when you install them. For instance, I do work on the desire stuff, so I leave my stock OTA framework as the default to use and I install the desire framework like this:

apktool if framework-res.apk desire
apktool if com.htc.resources.apk desire

(and the same for bliss or runny or any other roms).

THEN, if I'm just decompiling from stock OTA (default) it's:

apktool d filename.apk

BUT, if it's for desire or another, I specify the framework file with the "-t" switch:

apktool d -t desire filename.apk

Works great!
[Droid Incredible Android Development] RMarkwald:
Great, great tips! I am putting that in my little text document to keep this "in mind"... I found the post from 'Stang that had that info in it. I knew about framework-res, but no where did it say com.htc.resources was needed to have the same command run on it. I did that, poooof! Errors gone and works flawless now. I should've asked about that stuff sooner, oh well!

:cool:
[Droid Incredible Android Development] jermaine151:
Yeah, I didn't know you were having any issues or I would've spoke up sooner. :)
[Droid Incredible Android Development] RMarkwald:
I didn't say anything cause the other method worked fine, so no need. I had time today so I figured, let's get this going on this PC!
[Droid Incredible Android Development] Hand76:
Ok this is weird after a couple of weeks without the GPS nag (using the fix posted here) it all of a sudden came back on reboots. LOL

I have no idea why.

Going to reflash the fix again later tonight, just thought that was weird.
[Droid Incredible Android Development] jermaine151:
The first one would do that after wiping battery stats or weird things like that. The version 2 fix I posted in the OP will remove it for GOOD! :)
[Droid Incredible Android Development] Hand76:
Ohhhh kk will give that a go.
[Droid Incredible Android Development] dmeadows013:
Hey Jermaine what file in SystemUI did you edit to remove the GPS icon? I have my own modified systemUI and don't really want to start from scratch again :)
[Droid Incredible Android Development] jermaine151:
See this post. for the file name and what to change.
[Droid Incredible Android Development] funnelweaver:
So I flashed this earlier today, but I'm still getting GPS nag. Any idea what's up?
[Droid Incredible Android Development] jermaine151:
Try downloading and flashing it again. Make sure you're flashing version 2. Post a copy of /tmp/recovery.log
[Droid Incredible Android Development] funnelweaver:
I tried that three times to no avail. Could it be because I'm using CWM 5.0.2.0?

Also, I don't have /tmp/recovery.log.
[Droid Incredible Android Development] jermaine151:
That's the version of CWM that I'm using too. Maybe you can just take the Settings.apk file out of the zip and put it in /system/app with root explorer. Be sure to hit the "Mount R/W" button in the top right of root explorer before pasting. Then long press Settings.apk and choose permissions. Set them to user:RW group: R others: R and reboot.

What OTA rom are you running?