yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Jacob1369:
Did you try the 'Quick Backup and Restore' option from RM? I've struggled with a backup in the past with similar symptoms you described and enabling it helped along with 2 other steps:

1. Manually Advance Restore boot, system etc.

2. Fix permissions after then repeat step 1.
[Desire HD Android Development] dnlilas:
There is no problem using dd for backup/restore. Just make sure all partitions are unmounted before using dd.
[Desire HD Android Development] LinoX:
I can't try... I have a partially recovered phone.. the backup I have is already "broken"..so that's a warning for everybody: don't trust nandroid backups.

Use DD method for backing up partitions (check 10 times command line before restoring, 'cause if you restore to the wrong partition you brick the phone)

I don't care about losing a couple of files.. I need a way to read a "broken" yaffs filesystem (in order to copy all "good files" skipping the damaged one)

maybe a mount -t yaffs?
[Desire HD Android Development] LinoX:
Yes but it's a risky operation.. And I was referring to my damaged yaffs filesystem. The data partition should be ext3 so I need a way to "gracefully skip" the yaffs errors in order to read every file after the "error".. do you know if is there a way to do it?

http://androidforums.com/android-ap...workmod-recovery-failing-restore-backups.html

here's the same problem, f**k!
[Desire HD Android Development] dhruv.arora25:
Well i never faced any problem so far...
[Desire HD Android Development] LinoX:
No way..

# mount -t yaffs2 -o ro,loop /sdcard/clockworkmod/backup/2011-07-05.09.38.18/data.img /sdcard/bkdata
mount -t yaffs2 -o ro,loop /sdcard/clockworkmod/backup/2011-07-05.09.38.18/data.img /sdcard/bkdata
ioctl LOOP_SET_FD failed: Device or resource busy
[Desire HD Android Development] dhruv.arora25:
I never faced any problem...
[Desire HD Android Development] dhruv.arora25:
Anyways will be careful next time.....
[Desire HD Android Development] ricey1986:
it would be interesting to see if we could replicate this and try to find out what is actually corrupting the image.

Ricey
[Desire HD Android Development] Sybregunne:
Sad to say if the yaffs image is broken it is broken.

Yaffs is a filesystem stored in an image. It has indices and all. if unyaffs cannot read the file system it would be like guessing wich filename matches which part of the data. In a way that would be riskier than not putting data at all.

Do you have an older backup that is intact? It might save your Phone.
[Desire HD Android Development] LinoX:
OK. I found the problem!!!

The yaffs image is

NOT

corrupted!!!

It's the UNYAFFS code that actually is broken.

I downloaded the unyaffs.c because I wanted to debug it (skipping the part of the damaged file) and extracting every possible file.

The recovery seems to use the SAME unyaffs code (because the exception is the same).

The problem is in the MAX number of files!!!!!

the code has a limit hardcoded in:

[COLOR=Blue]#define[/COLOR] MAX_OBJECTS 10000

when I debugged it it halted with an access violation simply because the number of files was bigger.

Modifying the unyaffs.c (increasing the constant to 50000) allowed me to extract every file (50.000 is the maximum defined in the "backup code")

So... at the moment your backup are good (unless we find some other error) but

you can't restore them

with every cwm so far (it will halt at the 10.000th file/dir).
[Desire HD Android Development] LinoX:
Asked to cyanogen to push the commit.

http://github.com/LinoBarreca/andro...mmit/f68082036c79f2994e88d5bedacafc2fe50dea33
[Desire HD Android Development] dnlilas:
@LinoX

Congratulations for finding out the cause of problem.

This is in sync with the big size of data.img (guess roughly > 600 MB) where the objects limit of 10,000 is reached. This is also why some users did not hit the problem: they have less apps/data installed (so small data.img).
[Desire HD Android Development] LinoX:
you're absolutely right.
[Desire HD Android Development] LinoX:
SOLUTION

I've set-up a build environment to rebuild the recovery with the fix.

Here's the ClockworkMod Recovery 3.0.2.8 with the restore fixed.

It's packed in a .zip format to avoid md5 but

you have to install it manually

(via fastboot flash recovery)

I already did a successful restore so it has already been tested.

You can use it with confidence but the standard disclaimer apply (I'm not responsible bla bla, the recovery is not my work bla bla I only made the fix for THIS particular problem) :)

..oh.. and obviously if you found it useful don't forget to "thank you" :)
[Desire HD Android Development] sigurd_LU:
Is this the ext4 version?
[Desire HD Android Development] LinoX:
I don't think so. This is the version you will find in CyanogenMod gingerbread-release branch (the stable releases) so it is version 3.0.2.8 (ext3)

The gingerbread nightly branch doesn't compile at the moment. That branch has recovery 4.x.x.x which should handle ext4 but is not very stable.
[Desire HD Android Development] dnlilas:
For information:

MD5 for LinoX's recoveryok.img: 24D9A084 - F3AA3122 - 66C61BE0 - E584B780
[Desire HD Android Development] Dacoco:
Thank you VERY MUCH LinoX!

Could you please provide the corrected unyaffs win32 binary too?

I edited the unyaffs.c and downloaded MinGW to compile it but the compiling via "gcc -o unyaffs unyaffs.c" fails with the error "too many arguments to function 'mkdir''.

So probably the compiler is the wrong one and i could not get it work.

Sorry for the noob questions but:

1) Does the patched CWM still recover and backup Virtous Unity ROM (ext4!?)

2) Can i flash it over my version and if it fails can i go back to my version with just flashing the old one? Or is it possible to brick the phone with that?

Thank you!

:):):)
[Desire HD Android Development] LinoX:
unyaffs on win32

I could provide you the fixed binary but...unyaffs on windows should (read must) be avoided.

Yaffs CAN'T be uncompressed correctly on windows because of

1) NTFS limits on file names: many files on your yaffs (about 10%) don't get extracted (they could be but without the original filename..unyaffs w32 actually skips them gracefully and without warnings)

2) NTFS permissions different (your mkdir build problem, it tries to mkdir with permissions as you do it on unix but can't do on windows): you lose original filesystem permissions so even if there's a win32 port I highly recommend DON'T use it!

1) cwm restores files on the existing partition so..format data with ext4 with your-ext4-compatible-recovery, flash myrecovery, restore your backup, reflash your recovery if you need it.

2) you can flash whatever you want on your device, (but triple check the partitions you are flashing) as long as you have hboot working :) (read it as: you can't brick your phone if you don't overwrite hboot) :)
[Desire HD Android Development] Dacoco:
Great, thank you for this informations.

I know that it's not recommended to use unyaffs in windows because of the things that you described.

But anyway - I already reconstructed my phone and i'm just missing the settings of two apps which i could get from the nandroid backup.

So if you could, please provide the win32 binary. :-)

Or tell me how to compile it in Windows... ;-)

EDIT: I flashed your CWM now but i did not test if the recovery. Will do it when i flash another rom next time.
[Desire HD Android Development] Dacoco:
Please help with the Windows Binary :-))
[Desire HD Android Development] LinoX:
The attached one is the exe I used to analyze the extraction process. It should also print out skipped files.

(maybe you'll need some microsoft runtimes dll to run it..if you obtain a "dll missing" message simply google for it and download the redistributable)
[Desire HD Android Development] Dacoco:
You saved me! Thank you! I just needed the cygwin1.dll. Now i got the application data of the two apps that i missed. :):):):)

EDIT: I copied the data files of the two apps to /data/data/* but i can't set the permissions. What did i do wrong?

C:\_DESIREHD_RADIO\Radio_for_Unity>adb shell chown app_168:app_168 /data/data/com.delayr.diary No such user 'app_168:app_168'

C:\_DESIREHD_RADIO\Radio_for_Unity>adb shell chown app_168:app_168 /data/data/com.delayr.diary/ No such user 'app_168:app_168'

C:\_DESIREHD_RADIO\Radio_for_Unity>adb shell # cd /data cd /data # cd data cd data # ls -ln ls -ln -ln: No such file or directory # exit exit

C:\_DESIREHD_RADIO\Radio_for_Unity>adb shell ls -ln -ln: No such file or directory

btw - Will the "fix permissions" feature of CWM fix this? Or what's this about?
[Desire HD Android Development] LinoX:
This is OT.

..AND there's more than one error in your issued commands.

Open a new thread requesting help with all the details in q/a section (Android general, it's not DHD related). Someone will help.
[Upgrading, Modifying and Unlocking] AtomTrainer:
Has any one ever seen a Boost or non-exclusive Sprint ESN that does not start with 0x8 (Hex)

so

0x7??????? and down would be good

and

0x9??????? and up would be good

If you have can you let me know what kinda device it is.

Thanks
[Upgrading, Modifying and Unlocking] prominator:
why not 0x8??????
[Acer Iconia A500] ady72:
Hi i have a question.

I tried different roms , and i noticed that the galaxy's one has a superb application for reading PDF (is the best i've ever tried...very fast). Now i'm on Virtuos Asus base rom and i would like to use Ebook readr form Galaxy one.

I have extracted ebook.apk from zip rom file and then installed on new rom.

Program starts but after start scannig for PDF close.

Is the right way to use application or i must copy something else from source rom??

Thaks in advnace
[Acer Iconia A500] redtech83:
I've used Titanium backup
[Acer Iconia A500] ady72:
Thanks for suggest.

Unfortuynately at now i haven't possibility to do that.Is there any other solution??

If not i will installa rom again and then back it up with Titanium.

Thanks
[Acer Iconia A500] tingeltangeltine:
Hey thats it. But you can also create an folder @ SD card with your preferred apps. Youse apk extractor or anything else which let's you extract an apk file... Fx can do it also. Nice tools get from fdroid repo..

You must extract apk from running system or unzipped....
[XPERIA X10 Q&A, Help & Troubleshooting] stew32:
Does anyone know how to clean a memory card of old app data? I have tried several different apps and tools over the year and most of them I have uninstalled, but I have discovered that some of the apps left data and/or folders behind on the memory card. Since I have a 4gb class 2 memory card and I have recently ordered a 16gb class 4 memory card, I am thinking of removing all of the "junk" that were left behind by some apps. However, I don't know how to identify all of the old junk to remove them before transferring the remaining good data to the new memory card.

On a side note: I am using xRecovery to backup my apps and data, so far it seems sufficient for the job, but I have read that Titanium backup might be better. Is that true?
[XPERIA X10 Q&A, Help & Troubleshooting] dante-fu:
Most of the app data should be store in the... data folder on the card.

Directories are named after apk file names. You can paste those into search field of the android market either on the phone or web version at https://market.android.com. See if you have those apps still installed and want their data.

Titanium gives you much more control over backup and recovery than Xrecovery backup feature. This is handy if you change ROMs. Recovering data of all apps to a different ROM is not considered safe. It could affect overall phone stability.
[Thunderbolt Q&A, Help & Troubleshooting] jakaro:
So 3g was working fine yesterday. And now it won't work. I can make calls. And use wifi. Haven't flashed anything. And even tried switching radio modes. Any help? Bamf 1.8 remix.

Thunderbolting to XDA
[Thunderbolt Q&A, Help & Troubleshooting] mattsonhistb:
Have you tried toggling it?
[Thunderbolt Q&A, Help & Troubleshooting] jakaro:
I tried flipping on and off airplane

Thunderbolting to XDA
[Thunderbolt Q&A, Help & Troubleshooting] jakaro:
Somehow mobile network got unchecked. World.fine Norway thx

Thunderbolting to XDA
[Galaxy S II Q&A, Help & Troubleshooting] Willbuh:
Hi. Just a quick question as I bought a new case and it came with a screen protector but no cloth. So I wondered what's best to clean my screen with? Perhaps a glasses cloth cleaner?
[Galaxy S II Q&A, Help & Troubleshooting] iKaosTony:
Any lint free microfiber cloth.
[Galaxy S II Q&A, Help & Troubleshooting] Willbuh:
Lint free? Sorry.. what's that? :o

nevermind, got a cloth that's lint free. :)
[Galaxy S II Q&A, Help & Troubleshooting] jameslfc5:
KFC wipe ;)
[Galaxy S II Q&A, Help & Troubleshooting] Isadora:
T-shirt works just fine :p
[Galaxy S II Q&A, Help & Troubleshooting] Propergood:
Just rub it off on your jeans. That sounds rude.
[Galaxy S II Q&A, Help & Troubleshooting] dark juggalo:
phillips screen cleaner gel for plasma & LEDs come w/a lint free cloth that dont leave streaks.
[Galaxy S II Q&A, Help & Troubleshooting] Archer:
+1 to your own suggestion of a glasses cloth. I do as most above and just rub it on whatever I'm wearing, but if I do have a glasses cloth at hand then I'll use that and it's about the best thing you can get, as that's what it's made for ;)
[Galaxy S II Q&A, Help & Troubleshooting] jmblazquezh:
I put an screen protector and always clean the screen with the thing to clean the screen protector.

Sorry for my english
[Galaxy S II Q&A, Help & Troubleshooting] zeitgeb3r:
Spectacles cloth is lint free.

Normal tissues are definitely not lint free.
[Galaxy S II Q&A, Help & Troubleshooting] tfn:
I just use a solution we use at work for our computer touch screen :D, or wipe it off with my son's muslin cloth.

I dont use screen protectors never liked them..
[Galaxy S II Q&A, Help & Troubleshooting] gchildz:
whats the point having gorilla glass if u put SP...lol mine is butt nekkid since day 1...no scratch whatsoever...if its oily or full with fingerprints just wipe using spectacles cloth..

p/s: i just use melkco flip top cover thats all....
[Galaxy S II Q&A, Help & Troubleshooting] EarlZ:
Screen protector protects the screen from scratches, gorilla glass is not scratch immune, even dust can scratch the screen or the coating on the screen.
[Galaxy S II Q&A, Help & Troubleshooting] ckarthik17:
Hi,

I have disabled all vibration in the settings menu. But still my phone vibrates when running USSD code. (All other vibrations are disabled)

When I call the USSD code *123#, it show the result pop-up with vibration.

It drains my battery much, as after each call and message, my mobile operator automatically sends the Last call cost and balance details.

Please help me.
[Galaxy S II Q&A, Help & Troubleshooting] superfast:
ya this is annoying me much.airtel gives the service reply msg for every msg and calls ..i do 50 sms daily so for each sms it vibrates every time and vibrates drains much battery :(
[Galaxy S II Q&A, Help & Troubleshooting] superfast:
to stop those vibrations of ussd pop up...

go to sounds tick haptic feedback,u ll get the vibration intensity option will be enabled now just drag the slider to leftside ie make it zero now turn off the haptic feedback,thts all done no more vibrations for ussd pop ups :) to stop annoying beeps ,keep media volume to zero or, root device and replace the beep sound with silent one...
[Galaxy S II Q&A, Help & Troubleshooting] ckarthik17:
@superfast

This works, Thanks
[Galaxy S II Q&A, Help & Troubleshooting] logos04:
Here we go !!! An App can disbale USSD Messages

As this is my first post.. so i cant post external links here.

so type "Balance Update / USSD blocker" in googleplay u will find a app which will disable USSD Messages.
[Galaxy S II Q&A, Help & Troubleshooting] raship:
Couldnt locate "Vibration Intensity"

Hi,

I have two mobiles(HTC Explorer and HTC One X) and I am irritated by USSD tone and vibration in both. I have installed "quiet balance/USSD Blocker" But it only blocks messages and not tone and sound. I also tried to look for that sound in system\media\sounds\ui but none of those sound matching with the beep coming at USSD.

Please anyone help, I am badly in need for solution:rolleyes:.
[Galaxy S II Q&A, Help & Troubleshooting] Jokesy:
Try this:

- Open dialer/phone app

- press menu button, select settings and disable the vibration settings.

Ps: it's been like 5 months since I last used stock ROM. So please pardon me, if I got anything wrong.

Swyped from my Samsung Galaxy SII
[Galaxy S II Q&A, Help & Troubleshooting] raship:
Thanks buddy for reply.

I tried that too. But there isn't vibrate settings in dialer. :(

My os jaggy jag(I guess he made it with 2.3.5

Or this model doesn't have this function.
[LG Optimus 2x] shpapy:
Hello, i have 2x with default stock LG email client.

after doing auto discover of my mail servers i can send/get emails but i cannot edit the mail server tab.

its grayed out.

i want to change options like leave mail on server, change authentication to ssl and more.

any ideas how can it be done?

thanks.

p.s. if i make a mistake on purpose like bad password it says cannot continue and dosent allow me to change it manually.

iam aware of K-9 and other clients but i would like to use the stock one for this.
[LG Optimus 2x] shpapy:
bump........
[LG Optimus 2x] Kickasskev:
you have to do manual setup to edit/change ssl etc
[LG Optimus 2x] shpapy:
i know , but its grayed out totaly.

the client does auto discovery and finds all the settings but then i cannot change them at all.

i was thinking maybe to re-install the lge stock app but i dont have the apk.
[LG Optimus 2x] Netuser:
Were you in change login settings ? Normaly there u can change what ever u want
[LG Optimus 2x] shpapy:
yeh i know, but its all gryed out

1. i enter the email stock app.

2. i configure my mail address + password

3. phone does auto discovery

4. i cannot change any settings what so ever.

can some1 please send me the apk of the lg stock maybe i will re-install it.
[LG Optimus 2x] shpapy:
hahhaaaa!!! i fixed it

d/l the apk from modaco all settings area back
[HTC Incredible S] butamankun:
HTC Wifi hotspot (Tethering) doesn't work for me.

Despite my PC (Win7 x86) is connected to wifi hotspot of IncS, I can't access any http/https servers via wifi tethering.

(but strangely, I can use skype, IRC, nslookup, ping to google from my PC.)

I think it is not problem of my telephone career, because i can use wifi tethering on stock rom without problem.

wifi tethering works also on custom rom i made from stock one WITHOUT UNITY V2 kernel.

I tried Android Revolution HD 1.1.0 and custom rom I made from stock one WITH UNITY V2 kernel. wifi tethering didn't work on both roms.

so I think this is kernel problem. I reported this to m-deejay via twitter, but no reply.

is this problem only for me?
[HTC Incredible S] Neolight78:
Currently answering using Wifi Tethering on Virtuous Unity 1.27.0.

So working for me.
[HTC Incredible S] Nvidia32:
Same with me, no worries, it works very well...

Can you tell us what applications you have installed on your device?
[HTC Incredible S] butamankun:
I also tried android-wifi-tether, but it didn't work.

My environment is Android Revolution HD 1.1.0, Radio_20.2808.30.085AU_3805.06.03.03_M.
[HTC Incredible S] butamankun:
Finally, I got it!

I've forgot I flashed build.prop modify patch after I installed ARHD rom.

it was why I couldn't use wifi tethering.

my modified build.prop contains following line:

ro.ril.enable.sbm.feature=1

this is to enable feature for softbank mobile (japan), which is my career.

(so I was wrong. this is problem of career.)

I added this line to build.prop because this improves battery and connection stability in softbank mobile network.

however unity kernel and this line causes problem at wifi tethering.

I think newer version of kernel has feature to deny http access via wifi tethering with ro.ril.enable.sbm.feature.

Temporarily I removed ro.ril.enable.sbm.feature line, and now I can use wifi tethering.

but i think i need ro.ril.enable.sbm.feature.I hope it can be fixed.

thank you, Neolight78 and Nvidia32.
[HTC Incredible S] Neolight78:
Sounds great.
[HTC Incredible S] Nvidia32:
If I asked for the list of installed applications, it is because I found that a particular application "Masqued Crusader" cause a dysfunction of Wifi Tethering, but in your case it was not that ;)
[Windows Phone 7 Q&A, Help & Troubleshooting] alijahg34:
big goof on my part, I never secured my backup before or after I installed Mango, I uninstalled my zune 4.8 to re-install back to 4.7.

? I have another phone with NoDo, is it possible for me to upgrade the NoDo phone in order to get a new back up and restore both phones back to NoDo

:mad:
[Windows Phone 7 Q&A, Help & Troubleshooting] dkp1977:
Backups are device specific. So you can only use the backup for the device it was made from.
[Windows Phone 7 Q&A, Help & Troubleshooting] arkavat:
You may want to use some disck recovery software and see if the backup folder still exists. That will be the eaisest wasy to gte the phone back on NoDo.

Option 2 is to contact MS and use their service to get the phone back on NoDo. The instruction sheet that came with Mango Update has the details.
[Windows Phone 7 Q&A, Help & Troubleshooting] pillsburydoughman:
You will probably have to flash a new rom. It tells you in the beta2 pdf in big bold letters to secure your backup, shame on you :( I have mine backed up to 3 locations, maybe 4.
[Windows Phone 7 Q&A, Help & Troubleshooting] Andrmgic:
Why did you remove zune 4.8? Did it not work with your nodo device?
[Windows Phone 7 Q&A, Help & Troubleshooting] alijahg34:
my windows device manager would not start and my unlock phone (nodo phone) suddenly stop allowing me to sideload, so I did the uninstall, then a light pop say check for back up I looked and it was gone. no power outage just outage just gone weird. no restore point, glad it wasn't my main phone but now I can't sideload and no way to go back to day one, at the moment anyway.

where is the best place to flash my rom at, thanks in advance

T-mobile USA HD7
[Windows Phone 7 Q&A, Help & Troubleshooting] derausgewanderte:
check here . yours should be the one with TMOUS. check further in the Forum, there may be a NoDo rom, so you don't have to start from the very bottom.
[Windows Phone 7 Q&A, Help & Troubleshooting] alijahg34:
might be in luck

got damn it the sd Card just went up in it what does that mean
[Defy General] heartreaper:
Hey guys, installed the 720p files for 2.3.4 and here are the results:

youtube.com/watch?v=tOSKsdkT2WQ
[Defy General] zannyuk:
GREAT quality and less blocking than standard 640x480. Now all I need is courage to root and flash phone :)
[Defy General] heartreaper:
added:

day drive: youtube.com/watch?v=-S3QYp6JgBo

night drive: youtube.com/watch?v=pfsD48C69kU
[Defy General] iammodo:
Any idea if it will work on cm7?

Sent from my Phone
[Defy General] jayeshrc:
do you use the regular camcorder app or the lgcamera app? coz i cant find the720p option in the normal app and lgcamera records some really weird video(zoomed in, with lots of lines)
[Defy General] Citynomad:
@iammodo: No, it won't work, as this fix is not for Froyo but Gingerbread kernels.

@jayeshrc: You have to use LG Camera ( file format: mp4, encoder: h264 or mp4, bitrate: I chose between 6 and 10, audio: aac->I chose 22kHz and 96kbit/s) and you need the red camera (Bayer module camera).
[Defy General] om4gus:
this is my video recorder result:

youtube[dot]com/watch?v=BzOkGZKUwlE

I'm using jboogie3s blurry ginger v2.0 ROM which bases on 4.5.1-134. I recorded using lgcamera free with settings as in dev thread. My result is too much line noise. Am I doing something wrong?

I uploaded using youtube app directly from my defy, but in youtube it is 480p.

Thanks and sorry for my english

edit:

I played in my computer. This is the codec information: