yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] systemC:
I've been a lurker here for nearly two years now. But this time I wanted to make an account. :D

I installed JellyBam 3.3.0 yesterday which is based on CM10. It's an AMAZING ROM but unfortunately I have to go back to stock since I got the same problem than the OP.

I got the problem "The device has either stopped responding or has been disconnected." While I was transferring my mp3s on my SDCard.

The problem occurs randomly and also occurs if I copy file on internal storage of the phone.

I tested my SDCard. There's no bad sector on it

I changed switch usb cable... the problem still occurs

I deleted the usb drivers and re-install it . Still no luck.

I went back to stock ICS 4.0.1 this morning and file transfert work perfectly.
[Galaxy S II Q&A, Help & Troubleshooting] gastonw:
That's crazy stuff...then again, crazy stuff happens.
[Galaxy S II Q&A, Help & Troubleshooting] NegativeOne13:
Problem

Oddly enough, I am having the same issue on my Galaxy Nexus. On my 5th? phone, but came with IMM76K instead of JRO03O (VZW). Unlocked and rooted and flashed updated image. Never have I seen this happen since I've been using Android (HeroC days). I'm going to reset, relock, and report back.
[Galaxy S II Q&A, Help & Troubleshooting] gastonw:
You go ahead and do that.
[Galaxy S II Q&A, Help & Troubleshooting] systemC:
I'm pretty sure it's a firmware issues and not hardware.

As I mentioned earlier, I switched back to stock on my S2 and everything is perfect now (minus the fact that everything is not smooth as JB)
[Galaxy S II Q&A, Help & Troubleshooting] Darmach:
Yep, its definitely software problem.

Used a few roms on my S2 before, it didnt occur on any other, including last official JB.

On CM10.1 when copying files from PC into internal memory, i get same error - it copies few files, and the denies to copy for the next few ones.

any ideas?

____________________________________________________________________

EDIT:

@SystemC - I think I've found the reason, which is actually pretty stupid ,)

The problem was with Odin running in the background ^_^ it was somehow interfering with USB transfer. And I reflashed phone 4 times trying to debug it... hahaha ^_^ what a failure
[Galaxy S II Q&A, Help & Troubleshooting] purtanm:
I had the same problem, found one workaround that worked for me. I always copy my music to my music folder in my sd card. So after I got the occasional files that wouldn't copy, I just copied them straight to the sdcard, not in the Music folder. No error message. Don't know why this is happening, definetly a software thing.
[Galaxy S II Q&A, Help & Troubleshooting] radeon_wolf:
Re:

I have the same problem,CyanogenMod 10.1.3 Stable,in mass storage the speed is about 1-1.5 mbps,when on MTP the speed is good,but after a short time it stops with the error "This device has either stopped responding or been disconnected"!

This is a CyanogenMod problem...hope someone will fix it!
[7" Kindle Fire HD General] oliverm:
I want to start messing about with my Kindle Fire but before I do I want to know if there is a way I can put it back to factory default OS if i don't like the results or I mess up?

Is there a factory default OS image available somewhere?

Olly
[7" Kindle Fire HD General] prokennexusa:
Backup and Restore

oliverm,

we have all the Kindle images, just let us know which one you need (Kindle Fire 7" or Kindle Fire HD 7") and

what software version you are currently running. We will then send you a PM with a link to download the image

files. You will also need a "Factory USB Cable" which is used to get the Kindle Fire HD 7" into Fastboot

Mode. contact XDA User SkOrPn: http://xdaforums.com/member.php?u=500006 he sells the cables.

Send him a PM with the Subject "Factory Cable Info Please" include the Country to ship the cable.

He will send you a PayPal invoice. The cables run about $20 USD, maybe a little less. Once

you get the cable, we will give you the image either through a download link or on CD ROM. We

will also give you step-by-step on how to Restore your Kindle.
[7" Kindle Fire HD General] rani9990:
Was that.... Advertising or legit. I can't tell.
[7" Kindle Fire HD General] prokennexusa:
Follow Up - Feedback

rani9990,

You mean the Russian response in our other Thread?

Translated it was Spam, trying to sell Casino Online services.

Just pure Spam! I notified XDA Developers so they can disable

the user. We do not need this kind of garbage, ya know?
[Android Q&A, Help & Troubleshooting] tecno1:
please I'm using a Tecno T3 running android 2.3.5, and using a qualcomm msm7627a chipset, I've tried rooting it using one click methods but to no avail. so I came across a thread that says If I flash a cwm recovery, I can use universal gingerbread root to root the phone. I Dont know how to port cwm to my device, so I decided to use the cwm for the karbonn a7+ which uses the same chipset. will it work? please state reasons why it will or won't work. thanks in advance.
[Android Q&A, Help & Troubleshooting] -Falco:
it May, but I wouldn't risk it

~-~-~-~-~-~-~-~-~-~-~-~-~

Phone: Samsung galaxy s2 t989

Rom: Jedi knight 6 4.0.4

Kernel: Jedi kernel 2

-~-~-~-~-~-~-~-~-~-~-~-~-

and you thought celebrities weren't smart. =P
[Android Q&A, Help & Troubleshooting] leochigoziri:
rooting tecno t3

If you are yet to root your phone, call me on 07033315445. If you have rooted also call me for further guide.

leonard
[Android Q&A, Help & Troubleshooting] James_MK:
Ever rooted infinix X450? I tried but wasn't successful, I've verified that /system/xbin/su is pushed but superuser kept prompting for SU binary update which has always been unsuccessful: SU update fixer couldn't fix it... need help
[Android Q&A, Help & Troubleshooting] johnic47:
schoutur pleasant

I nned cwm for infinix x530
[HTC Sensation] cicc74:
I got problem with my sensation i have to send it back to repair but i need to get S-ON again to use guaranty, how to do it please help me.

Thanks
[Samsung Galaxy SL i9003] loSconosciuto:
UPDATE:

It seems that something not related to this driver relies on the old wakelock and it's now causing some partial wakelocks and causing some failed attemps to suspend:

PM: Device power.0 failed to suspend late: error -11

Restore the old module if you think your battery life is worse than before.

You can do that by flashing your favourite kernel, your current ROM or restoring the backuped module as explained here below.

I'll see if I can solve the problem.

_______________

I did some changes to decrease samsung-battery wakelock total time doing some optimizations, getting good results.

Ideally, the changes I made would save some battery, but I didn't properly verify this.

What I'm sure about is that samsung-battery wakelock total time is now very low, which means less time spent awake when the screen is off.

BetterBatteryStats screenshot after 3 and a half hours of use: 2 seconds of total time for samsung-battery. Not bad considering that the fixed duration of a single wakelock request was 3 seconds.

The driver had never been directly built into the kernel (EDIT: Adi_Pat did it in his kernel, read the notes below), we had always used a module, so you don't need to change kernel or ROM in order to use this, it shouldn't matter which ROM you are on as long as it's a CyanogenMod (9+) based ROM. You just need to flash the zip attached, which will replace the module in /system.

Flashing this on stock ROMs won't do anything.

If you can't see the battery percentage after you've flashed the zip attached, it simply means that the module is not working as it should and you need to restore the original one.

A backup is automatically created after the flash, you can find it in:

/sdcard/backup-battery/m-d-y-H.M.S/samsung_battery.ko

To restore it, simply copy samsung-battery.ko in /system/lib/modules/ overwriting the existing one, set its permission to 644 and then reboot.

There's a backup copy for each flash you made, each copy is in a different subdirectory. The name of the subdirectory is the time and date of the flash.

Or more simply reflash the ROM or restore a CWM backup.

I've tested the changes for some time, but I can't guarantee everything is working correctly. Flash at your own risk.

Source code:

battery-monitor: minimize awake time

battery-monitor: make polling timer deferrable

battery-monitor: don't use boot_complete flag

battery-monitor: add wakelock...

Notes:

A reflash of this zip could be required after flashing custom kernels.

I had to add an additional wakelock (samsung-battery-charge), but it's only used when charging the battery. It behaves as the old samsung-battery wakelock.

I looked around and I can say that Adi_Pat's SIRI kernel is the only incompatible kernel. The driver is inbuilt and my module will be ignored. Flashing this zip won't do anything, you need to rebuild the kernel with the above changes.
[Samsung Galaxy SL i9003] marshygeek:
Maybe i should try this but sir what do you mean by this? You mean a custom kernel for CM is required before flashing this? Cant we flash this with the stock lets say CM10 kernel?
[Samsung Galaxy SL i9003] loSconosciuto:
What my zip does is to replace a kernel module located in /system.

Custom kernels usually include modules in their flashable zips, so if you first flash my zip and then a custom kernel, my modified samsung-battery.ko will be overwritten.

Custom kernels are not required for this. They could actually be incompatible with this module (to know whether it's working or not, read the OP), but in that case you can restore the original module as written above.
[Samsung Galaxy SL i9003] marshygeek:
Ohhhh hahaha. I've read again today, i was confused a while ago. LOL. That was a dumb question of mine. Sorry. :D Ok ill try and feedback after few cycles.

---------- Post added at 09:22 PM ---------- Previous post was at 09:11 PM ----------

loSconosciuto, can you check what ive noticed before. I was on Alpha 3 and im using BetterBatteryStats. I just tried freezing the Calendar sync and Contacts sync. I dont know if its just my mind saying or it was really a lucky try and i got INSTANT noticeable battery performance for the whole cycle.
[Samsung Galaxy SL i9003] arindammanidas:
Flashed! So far so good....

Sent from my Samsung Galaxy SL on CyanogenMod 9 !
[Samsung Galaxy SL i9003] Sonoo:
Flashing it now. Will report back with impressions in the morning. Will check night time battery drop. CM10A4, crackersizer! kernel.(1200-300, Smartassv2,NOOP)

EDIT: First impressions, night time battery drop was 30 % as compared to usual 50-60 % in my case. Also due to some network issues the testing was halted. Will report back when i get a couple of battery cycles done with this tweak.

EDIT: Testing halted as installed the SIRI kernel of adi!!!
[Samsung Galaxy SL i9003] BachuArg:
Did anyone try this with Siri Kernel v2?

Does it work correctly?

Thanks!
[Samsung Galaxy SL i9003] dewasathya:
Mate, the OP said it doesn't work on Siri Kernel. I doesn't know about Siri Kernel v.2 but I think it's not a bright idea.

Sent from Galaxy SL Powered by JellyBam
[Samsung Galaxy SL i9003] MR.Volkf:
adi pas insert the module to siri kernel v2
[Samsung Galaxy SL i9003] latief.makhdoomi:
I have one question. What is normal discharging time of battery,moderate use,stand by n normal use what so ever .As i saw in my case it wont lost more than 4 hour of continues use of net both wen i was on stock rom and after custom rom.:confused::confused::confused:
[Samsung Galaxy SL i9003] XDA_Bam:
Question: Are you referring to this line if you talk about the standard wakelock length of 3 seconds? Because I would think that this actually means that the wakelock length is 3*HZ with HZ=1/128 s (see config entry), resulting in 0.0234375 s. This, in turn, gives roughly 2.8125 s of battery monitor wakelock every hour if the system wakes up every 30 s. Am I wrong? :confused:

Anyway, your patch is very cool and should result in improved standby times :)
[Samsung Galaxy SL i9003] loSconosciuto:
Yes.

That's what I thought too, but then, I can't remember why, I opened wakelock.c to verify this.

This is what conveinced me that the they are 3 seconds. See how timeout is converted when it's printed.

With timeout=3*HZ, the result of that operation should be 3.000.

Because I'm lazy, instead of reading the rest of the code I looked for commented piece of code on the internet and found few examples that confirmed my hypothesis. Here two examples I've just found: 1, 2.

I've also tried something. I plugged in the phone, waited for "samsung-battery-charge", unplugged it and got this in /proc/wakelocks

name	[COLOR="Blue"][B]count[/B][/COLOR]	expire_count	wake_count	active_since	[B][COLOR="Red"]total_time[/COLOR][/B]	sleep_time	max_time	last_change
"samsung-battery-charge"	[COLOR="Blue"][B]1[/B][/COLOR]	1	0	0	[B][COLOR="Red"]2988677920[/COLOR][/B]	825195313	2988677920	957372533720

I assume those are nanoseconds: 2988677920 ns = 2.989 s.

I'm still not sure of this, because it doesn't make so much sense to me, I mean, what's the purpose of this?

By the way the battery is checked more often than I thought, sometimes I have even less than a second of interval between two checks. Not a big deal with this patch :p.

You can easly see how often the battery is checked with:

dmesg | grep "monitor BATT"
[Samsung Galaxy SL i9003] XDA_Bam:
Ahhh, I think I got it, thanks! :) The kernel expects all time values in jiffies. Therefore, X*HZ gives you the value of X seconds converted to jiffies (and HZ actually is 128, not 1/128).
[Samsung Galaxy SL i9003] latief.makhdoomi:
Re: Optimized Samsung battery driver [CM]

If you can't see the battery percentage after you've flashed the zip attached, it simply means that the module is not working as it should and you need to restore the original one.

Excuse me what do u mean by battery percentage here :confused: i flashed zip now how will i know it is working? Thanks alot:)
[Samsung Galaxy SL i9003] MR.Volkf:
Re: Optimized Samsung battery driver [CM]

Just set permission
[Samsung Galaxy SL i9003] loSconosciuto:
I sadly discovered, not so much time ago, that this module is making "Android System" use more battery than normal. At first I thought it was a roughly made app, but I then found that the problem is this module.

From my kernel logs I can see that sometimes when the device tries to enter into deep sleep right after it woke up, it can't because there's something blocking the process (I don't know what yet) and it has to try again before it succeeds. This is causing increasing the number of alarms (Partial wakelocks in BBS) and the saved time is not as much as I hoped.

I don't think the problem is in this module, because the same thing happens when the module is not loaded. I'd say is something which normally would require a wakelock, but not in our case because of the omnipresent samsung-battery (correct me if I'm wrong). I did some changes here and there, but the resulting driver is not so different from the original one, so, for the moment, if you think your battery is worse than before (the mentioned problem was pretty random on my device) just restore the original module as explained in the first post.

I'll maybe look better into that when I'll have some time and in case I'll discover something, I'll let you know.

Sorry for the late reply. To check if it's working, just look for samsung-battery-charge inside /proc/wakelocks. If it's there, it's working (plug and unplug your phone if you can't see it immediately).

With "can't see the battery percentage" I meant that you can't see how much battery is left: instead of the usual icon you have the battery icon with an exclamation point in it and you can't see the percentage from the settings.
[Samsung Galaxy SL i9003] latief.makhdoomi:
hi losconoscuit i got a problem,when my phone screen is off or in standby mode am getting IM messages late i mean in watsapp or any IM messages are delivered to me late or at time wen i unlock my screen at least 10 mints late is it related to wake lock or anything else .please help.
[Samsung Galaxy SL i9003] arindammanidas:
Which rom/kernel are you on? Maybe something to do with the new sync bug workaround...

Sent from my Samsung Galaxy SL on CyanogenMod 9 !
[Samsung Galaxy SL i9003] latief.makhdoomi:
Ehndroix ROM with Dhiru's kernel
[HTC One S] phoenixita:
Is there a way or an app to enable CRT animation on unlocking? I'm on Android best sense stock 3.0 :)

I've searched on the forums but haven't found anything.
[General Topics] IzeCold:
Is there a way to check the hardware like the touchscreen on android phones??

Can I adjust the the touchscreen? The screen on my legend misplaces my touches to another area :(
[General Topics] Svolacius:
It seems you need to calibrate your touchscreen.
[General Topics] enadzzz2010:
well if you have some tools to test it you can, but an official technicain should have it.:victory:
[General Topics] Chrizzly92:
first, i would download multitouch tester or an app like this and check, if there are dead areas on your touchscreen and what it do when you use it. mine had to be replaced, i hope calibrating your screen will help.
[General Topics] duckvader:
dialler codes

htc phones in dialler pad type

*#*#4636#*#* = device information program (such as telephone, battery, wifi, ...) << all these generic system information tools in the market read the same data as this code/tool does - [working]

*#*#7262626#*#* = Field-Test

*#*#3424#*#* = HTC Function Test program (very useful!) - [working]

*#*#1111#*#* = Show software version

*#*#2222#*#* = Show hardware version

*#*#232338#*#* = Show WiFi mac address

*#*#232337#*# = Show Bluetooth mac address

*#*#1472365#*#* = GPS test

*#*#1575#*#* = GPS test #2

*#*#232331#*#* = Bluetooth test

*#*#0*#*#* = display test (?)

*#*#2663#*#* = touch screen version (?)

*#*#2664#*#* = touch screen test(?)

*#*#759#*#* = Rlz Debug UI (?)

for samsung phones try *#0*# in dialler to access touch test,led test etc
[Off-topic] Mheltin:
Will try my best just to quit my Smoking habit. ;)
[Off-topic] VaderSKN:
There is a thread like this.

Also, IB4L
[Off-topic] DannyNexus:
Same as me
[Off-topic] migliamario:
1024 x 768 :)

Inviato dal mio GT-I9001 con Tapatalk 2
[Off-topic] ironman38102:
That i will flash more Stable ROMS and less buggy ROMS.
[Off-topic] iammtxd:
Keep it up! And don't let anyone or anything put out the fire in your heart!

My goal this year is to get the first place in Information and Communication Technology in my school :p

Sorry for my bad English.

Sent from my LG-P500
[Off-topic] system.img:
My new year resolution is 1920x1080. :p
[Off-topic] jootanen:
640x480. I am so totally HD

Sent from my GT-I9100 using 2nd ROM
[Off-topic] ShadowLea:
New Years Resolutions: Pro Level Procrastinating. "I'll do it next year." ;)

As seen on 9gag? Though I do believe that one was quite a lot bigger.... :angel: :p
[Off-topic] VaderSKN:
My phone has a totally full-HD screen with 128x128 resolution :cool:
[Off-topic] jootanen:
Omg. I am so totally jealous now

Sent from my GT-I9100 using 2nd ROM
[HTC One VX] flipinfin:
My friend softed bricked this phone flashing a different recovery.img that aint originally for the htc one vx. I was wondering is there a way i can back up my recovery.img with a fastboot or adb command or any other way because i have the same phone? Any help will be much appreciated
[HTC One VX] 8trix:
RUU

I know this is a little late and hope you have fixed the issue already, but just in case, I thought I would come and let you know the RUU over in the development section saved my life yesterday. I flashed a custom recovery for a different model thinking they are pretty much all the same and got some soft brick where phone would boot but not show launcher. I got the RUU and after much frustration had to use an XP virtual machine and got it to run, at least partially, but it seemed to fix my phone. Good luck:

http://xdaforums.com/showthread.php?p=36660722#post36660722
[Acer Iconia A700 and A510] amgeu1:
Hi ,

my A510's Wifi only works "properly" when I'm at 1M max from the router -----> I figure it's an A510 hw fault .

I'd like to get around this by using a USB wifi dongle .

What would a suggested route to solve this be ?

I have tried using a few dongles with an OTG cable.

PPP widget realizes the dongle is there but I get no further .

I suppose I need to add drivers to the system - how ?

Alternatively I'll have to get a Wifi Bridge Client Wireless Connector ......
[Samsung Galaxy R i9103] esteras:
Hi friends,

I don't know if you try this but I just found it under "Android Software and Hacking" forum, it overboost the management of the apps and it works awesome with our Galaxy R. The first time you open the app doesn't have effect but after that, it opens 5 times faster than before. Please, try it and share with everybody your impressions.

I'm trying it for few hours and I don't know if it affects the battery drain, I'll post with my results.

http://xdaforums.com/showthread.php?t=1987032
[Samsung Galaxy R i9103] boulder96:
Nice Find!;) Going to try it out now
[Samsung Galaxy R i9103] navinkumar1892:
Should I install all the three !
[Samsung Galaxy R i9103] esteras:
No, only the apk, give it root permission when open and put "ON" status. You can active on boot too.

Regards.
[Samsung Galaxy R i9103] The-Droidster:
Works! Definitely Works! Apps launch much faster now...!!! :good:
[Samsung Galaxy R i9103] Kartik pat:
After keeping the app on and whn i close it. It again turns off? I need to keep the app in open apps?
[Samsung Galaxy R i9103] emanoj.i9103:
Does this prevent phone from sleeping?
[Samsung Galaxy R i9103] esteras:
This happens to me too the first time but I active "turn on after boot", restart my phone and it is permanently in on status.

Enviado desde mi GT-I9103 usando Tapatalk 2
[Samsung Galaxy R i9103] esteras:
Not for me, deep sleep as normal

Enviado desde mi GT-I9103 usando Tapatalk 2
[Samsung Galaxy R i9103] esteras:
I try to port the zip CWM file to my GalaxyR (to uninstall de apk) but no success, somebody could?

Thanks.
[Samsung Galaxy R i9103] The-Droidster:
Didn't get u...Do you want to install it or remove it?
[Samsung Galaxy R i9103] esteras:
I want to uninstall the apk to flash throw cwm the zip file that put the script into the init.d folder. Maybe I can do it manually... :sly:

Enviado desde mi Sony Tablet S usando Tapatalk 2
[Samsung Galaxy R i9103] The-Droidster:
Yes even i did it manually...don't forget to set the permissions!
[Samsung Galaxy R i9103] vipul12389mehta:
Yes, this definately works.....

i am on cm10.1 and i had huge scroll issue...but by this app, they have just vanished... its nw 90% smoother...

i do understand the project butter missing.. bt its great... works like a charm..!!
[Samsung Galaxy R i9103] The-Droidster:
Many R.Devs are saying that this is just a placebo! I did xperience a slight diff...can't say!
[Samsung Galaxy Gio GT-S5660] micsertis:
i ' m searching to forums, sites but with no luck... the guide and the .zip file for the older version gingerbread 2.3.6 doesnt work either. I' m using latest ROM from maclawstudio AOSP ICS beta2.
[Samsung Galaxy Gio GT-S5660] emyaz:
all custom roms are rooted...

Sorry for my bad englisch :)
[Samsung Galaxy Gio GT-S5660] voetbalremco:
except AOSP roms, as it is meant to be like the 100% stock feel on android how it is on nexus devices, wich arent pre-rooted neither.

but, it might be a Frequently asked question to developers to add root acces.
[Samsung Galaxy Gio GT-S5660] emyaz:
oh, i don't knew that :D i thought that all custom roms are rooted :)

Sorry for my bad englisch :)
[Samsung Galaxy Gio GT-S5660] MH-Droid:
Aosp from maclaw is pre-rooted.
[Samsung Galaxy Gio GT-S5660] AngSanley:
Try installing super user or super su manually, perhaps they have included the SU binary
[Upgrading, Modifying and Unlocking] Mayur@funbook:
Help me rooting Micromax Funbook alpha P250