yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] tb205gti:
Hi, I have made cron work on my 7" china tablet, it runs almost like I'd like it to..

I've made a passwd file in /etc with the following contents:

root:x:0:0::/data/cron:/system/bin/bash

I've made a symlink from /system/bin to /bin

And I've made a crontab file with the following line in it:

* * * * * /system/xbin/cat /sys/class/power_supply/battery/capacity > /dev/ttyACM0

Now the problem.. Cron runs fine, running the small bash code every minute, but..

ttyACM0 is a serial line to a microController - but the problem is that nothing is received on the controller, despite the cron running the script.

now if I LS /dev/tty* I get the following:

root@android:/ # ls /dev/ttyA* -l
ls /dev/ttyA* -l
crw------- root root 166, 0 2013-09-07 13:11 ttyACM0
-rw-rw-rw- root root 3 2013-09-07 13:14 ttyACM0
root@android:/ #

The cron creates an identical file in /dev and write it's data to this file, and not the *real* ttyACM0 serial..

I start the crond service in init.rc like this:

service crond /system/xbin/crond -c /data/cron
user root
disabled
oneshot

on property:dev.bootcomplete=1
.
.
start crond

If I change the cronscript to output to a flat file somewhere else (like /data/test_output), I can see the file with LS, but I'm not able to delete it nor cat it.

What's going on?

I need this to work in order to trigger a charger once the battery goes too low, and turn it off again once it has reached a given threshold. Not being able to send a simple command via serial really offsides this project.

Please help :)
[Android Q&A, Help & Troubleshooting] tb205gti:
Could it be that the cron job starts before the /dev/ttyACM0 is created?

hmm, I'll try and delay it a bit..
[Android Q&A, Help & Troubleshooting] tb205gti:
Made a simple check for if the device exists or not. if [ -c /dev/ttyACM0 ]This solves the problem. :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] alex.brown:
Hi,

Problem i have is the device isnt showing up in "My Computer".

It Makes a shound when connected, and it's in the Device Manager. Also.

Any help would be gr8!!!!!!!

_________________________________________________________________________________________________________________________

I've a rooted, with 2nd bootloader, TWRP v2.6.1.0, Paranoid Android C.ROM (pa_tate-3.99-20130824) and GAPPS (gapps-jb-20130813-signed) KFHD 7".
[7" Kindle Fire HD Q&A, Help & Troubleshooting] alex.brown:
bump

please, any help - :)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
Try reinstalling the drivers for the MTP device in then device manager. I think this usually happens when coming from stock and going to another ROM.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] alex.brown:
Great - i'll try that.

Also though, im finding that there are a lot of crashes. and its actually preventing me from opening apps like, GAPPS, facebook etc etc.

Do you know of a stable ROM for KFHD7???

thank again
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
I run cm 10.1 with a tablet patch I made for the latest cm 10.1, I'm avoiding cm 10.2 for a few more months before I switch to it, I heard there's small performance issues because of some files not being optimized, as well as people in the market having to update their apps to work with the new is, as well as some fstrim things that need a little more investigating before I use it. I mean I am pretty sure most people are using it instead of cm 10.1 now, but I personally want to wait a bit.

Idk about your crashes but it could just be a bad flash or you used the wrong gapps package. I am not too familiar with the ROM you are using, since I haven't ever used it. The way I look at it is usually the closer you are to stock the less bulky the os would be, least that's how a PC operating system would work sorta. Don't know if the same holds true for android.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] alex.brown:
Thanks for your help!!

What build of CM10.1 are you using and what build of GAPPS?

I'll try in staling those and see if that makes a difference.

Thanks again!
[7" Kindle Fire HD Q&A, Help & Troubleshooting] stunts513:
I'm using the 8/12 build of cm 10.1 and if u click the link in my SIG for the tablet patch I directly linked the correct gapps zip in that post.
[7" Kindle Fire HD Q&A, Help & Troubleshooting] alex.brown:
thanks v.much for your help. really appreciate it. cheers!!!!
[MDA II, XDA II, 2060 General] roblyman:
I dropped my iMate and the screen cracked. I had the screen replaced by PPCTechs and they did a great job. The device worked properly after a hard reset. After a few hours of use, the screen alignment drifts off. Typing on the onscreen keyboard becomes difficult and eventually impossible. After a soft reset and realignment of the screen, it works well for awhile.

Does this sound like a problem with the new screen or was something else maybe damaged (memory) in the drop? Has anyone else experienced a similar problem?
[MDA II, XDA II, 2060 General] roblyman:
Fixed

The folks at PPCTechs recommended I peel back the screen protector 80% and smooth it back down. Evidently the screen protectors can develop "hotspots" that cause this behavior.
[MDA II, XDA II, 2060 General] cruisin-thru:
I have known the touchpad to cease operation if the screen protector is tucked under the edges of the front cover but I have never heard of misalignment due to air bubbles. I would try what they say and if the problem persists I would return it to them and ask for it to be fixed.
[MDA II, XDA II, 2060 General] roblyman:
It's been working now for a day without problems. BTW, there wereno bubbles. PPCTechs installed the screen protector when they replaced the screen and did a very nice job. I am guessing it may have to do with temperature differences between the protector and the screen itself.
[Nexus 7 Android Development] :
ADVANCED POWER MENU FOR ANDROID 4.3 JWR66Y GROUPER

Flash it via Recovery

Deodex only for now!!! if you make a odex version post it! ;)​

DOWNLOAD>> ADVANCED POWER MENU << DOWNLOAD​

DOWNLOAD>> REVERT << DOWNLOAD​

Credits:

Scrosler

enricocid

me ;)​

If you like my work don't Forget To Hit Thanks, five star :good: or offer me a beer :P :good:

​

Make a donation​
[Nexus 7 Android Development] ACHILLES R32:
I'm having issues with this mod , the power menu does not show up when I hold the power button. It just restarts the tablet. I'm on Stock 4.3Y Deodex ROM , cleared cache and dalvik cache after flash. Anyone else experience the same issue. Thanks

Sent from my Nexus 4
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] custommx3:
I'm used to my Skyrocket so I'm not too noobish, but the s4 is different so I want to do this right.

So I have been reading Haphim's thread listed below about getting his new phone and he said it came with the MDL fw.

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

Mine came with MDB FW. I immediately turned off the OTA updates after I rooted the phone. I had some issues trying to rename the Data Management app, so I used TBU to freeze it. Thank goodness ~wolverine~ posted a link to the 3 updates I needed to freeze. I found 2 of the 3 updates, but FWUpgrade x.x.x was not listed on my device. Is this because of the age of my firmware? This was NEW in the box, so I must have gotten one that had been sitting on a shelf somewhere, that is if the MDB fw is older..

Now if the above holds true about the MDB FW, are there any advantages of this one over any others?

What about modems? Can I update to a newer modem without upgrading my FW?

I'd like to go to a newer TW based rom (I have a Samsung TV and would prefer to use Allshare, ect). Can I do this with just flashing the rom via TWRP? Do I need a newer modem to do so? I saw some mention that an international version of TW rom is better. Why would that be? I'd like to jump to 4.3, but I'm still on 4.2.2.

Just a side question, does the CM based roms have Bluetooth issues? the Skyrocket CM based roms had connectivity issues where you'd have to reboot to get BT functionality back.

Sorry for the list of questions, I just got this phone and do not want to brick it.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] jd1639:
I'm assuming you already found this, but if not it's a good place to start. http://xdaforums.com/showthread.php?p=42320391

Flashing roms is not as straight forward as the sr as the boot loader is locked and you need to use Loki to work around it. If it were mine I'd Odin to mdl, root it and freeze the update apps so you don't get mf3. Then do more research until you're comfortable flashing.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] custommx3:
Thanks for the reply. The thread you linked was very informative.. but..

What about the other questions? Modems, CM issues, ect?
[Galaxy Ace II Q&A, Help & Troubleshooting] Lee Socret:
Hi. I was wondering if there's a fix for gaming lag on ACE II JB. I'm running Vanilla Rootbox with Polished Vodka's patch.

The games that lag on my phone are :

- Subways Sufers

- Asphalt 7 Heat

- Temple Run

- Lane Splitter

- etc.......

Basically any game with fast moving graphic is laggy on my phone.
[Galaxy Ace II Q&A, Help & Troubleshooting] audi0fly:
Check your CPU governor and i/o scheduler :confused:
[Galaxy Ace II Q&A, Help & Troubleshooting] Lee Socret:
CPU Govenor : SMARTASS v2 Min 200Mhz - Max 800Mhz

i/o scheduler : DEADLINE
[Galaxy Ace II Q&A, Help & Troubleshooting] Rox:
try instaling build 4 without any polishvodka fixes.... + RoXSel kernel
[Galaxy Ace II Q&A, Help & Troubleshooting] tofueatsbread:
Subway surfers, temple run and minion rush tend to become faster as you start playing more
[Galaxy Ace II Q&A, Help & Troubleshooting] Altermania:
Well, in my opinion 4.2.2 still need some work and fix. Gaming run smoothly using CM10 :)

Device : Samsung Galaxy Ace 2 (GT-I1860)

ROM : CyanogenMod 10 Unofficial
[Galaxy Ace II Q&A, Help & Troubleshooting] Rox:
i dont have any problems in playing games on 4.2.2... but everyone can choose...
[Galaxy Ace II Q&A, Help & Troubleshooting] Brontok:
First of all install Easy Cpu control and set the governor to performance and io scheduler to deadline, this way your cpu will maintaine it`s speed at 800mhz but it will not drain the battery any faster than usual. Lowest speed should still be 200mhZ.

Enable developer options, a then disable all animations, they will be set to 1x speed, just click on that and choose no animations.

And lastly enable 2d forced rendering.

Hope it helps you. I have zero lag on JB.
[Xperia Arc Q&A, Help & Troubleshooting] CardosoPedro:
Hi,

In SE Arc S, i cant use the Vettle App, the app install but i cant see any film, i try with 4 Roms and any of them this app work...

Any one have the same problem??

Thanks

Pedro Cardoso
[Xperia Arc Q&A, Help & Troubleshooting] rocco6victor:
Have you got installed flash player? In my phone, veetle works fine with Flash installed

Enviado desde mi LT18i usando Tapatalk 4
[Xperia Arc Q&A, Help & Troubleshooting] CardosoPedro:
Thanks!!!!

It worked!! :D
[Galaxy Note II Q&A, Help & Troubleshooting] mapseek:
What drama! What intrigue!

But seriously, thanks for that reminder.
[Galaxy Note II Q&A, Help & Troubleshooting] mannyvinny:
After reading ur whole post my conclusion is

U were trying to say A for apple..but u explained A for that..this...those...bla.... blabla....bla...bllaaabla and finally A for Apple!!:p

Dude don't think that noobs are stupid or have no knowledge..why will they touch or modify their backup directory?
[Galaxy Note II Q&A, Help & Troubleshooting] boy_pro_8x:
i have a question about nandroid. If i have a Nandroid backup, then i full wipe all things in my internal sd (system, data, cache...), so that can i get them back when i restore? Cuz I'm not sure about the way of this backup, it'll make something like a full rom with my using data right? Sorry about my bad English
[Galaxy Note II Q&A, Help & Troubleshooting] mannyvinny:
If u have nandroid backup and then format system data and all those..u can easily restore ur backup and all content will be back

Sent from my AweSoMe ☆♥Note2♥☆
[Galaxy Note II Q&A, Help & Troubleshooting] shhbz:
well to make it short an instruction is useful then a story long written so next time try to be to the point and specific with what you wish to share
[Nexus 4 Q&A, Help & Troubleshooting] kunalgupta:
Hi,

Needed help to revert back to stock android 4.2.2 from my stock 4.3

Can anyone please explain me the procedure. The phone is never rooted nor modified in any way. Its just pure stock and i want to go back to stock android 4.2.2

Thanks !!
[Nexus 4 Q&A, Help & Troubleshooting] Misledz:
Come now there's plenty of guides for this. The procedure is the same and very easy if you use toolkit
[Nexus 4 Q&A, Help & Troubleshooting] spider623:
Download stock from Google, extract the zip abs run the bat file, it's noob proof
[Nexus 4 Q&A, Help & Troubleshooting] Marcb:
why would you want to do that?

there's nothing wrong with 4.3
[Nexus 4 Q&A, Help & Troubleshooting] kunalgupta:
Can someone please tell me the method to do so...i am new to do this and not able to figure this out...thanks !!! :)
[Nexus 4 Q&A, Help & Troubleshooting] meangreenie:
Crackly sound with many Java apps, rebooting radio...... Just to name 2
[Nexus 4 Q&A, Help & Troubleshooting] Marcb:
Never had those issues...

Better wipe the device.

Enviado do meu Nexus 4
[Nexus 4 Q&A, Help & Troubleshooting] kunalgupta:
Can someone actually tell me the process do this !!
[Nexus 4 Q&A, Help & Troubleshooting] comminus:
Next time, please do at least do some searching before demanding that someone tell you how to do something.

[HOW-TO] How to flash a factory image / return to stock / unlock / root
[General Questions and Answers] RaZ0R4334:
Hello, my phone is LG Optimus Net. I edited the build.prop but I made a backup of the original file. Now the problem. The phone boot normally, I can use it but Google Play and Maps won't work. Some apps work but some FC. I don't know what to do. Please help me. I have the original ROM but I don't have ClockworkMod installed so I can't restore a Nandroid backup.
[Sony Ericsson Xperia Neo, Pro] broky:
the thing is i was downloading pictures from google drive to my neo v and suddenly everything dissapears from my screen and the phone stucks there,nothing on screen and a light only everywhereon it:eek:i tried to reboot,could not do this,i took the battery off then it did reboot,showed lupus kernel logo but unfortunately no recovery options(blank screen again).

i flashed with flashtool 587 firmware showed SONY and XPERIA on screen,connected normally to my pc(could read sd card),but again blank screen:(

flashed second time 587 firmware and let it away the whole night.in the morning it was working normally again:confused:

has anybody faced a situation like this?what would you say that happens/happened?should i take it to sony service?the phone works fine till now....(fingercross)
[Sony Ericsson Xperia Neo, Pro] vishal_android freak:
You are rooted and if bootloader unlocked officially, its of no use taking it to Sony as you have void ur warranty.. It happens sometimes, rarest of the rare cases..
[Sony Ericsson Xperia Neo, Pro] broky:
could it be batteries i bought and used from ebay ,really cheap?

could the batteries be faulty?
[Sony Ericsson Xperia Neo, Pro] vishal_android freak:
I don't think so, but might be.. You cannot be sure unless you have some proof that they are original batteries.. I guess they won't sell duplicate stuff.. Hows is everything going now? Fine?
[Sony Ericsson Xperia Neo, Pro] broky:
no,screen is fading out all the time,one time works but the other fails ,starts creatin red vertical lines on the display,and it goes off...so i got to get it to a shop for repair,is useless now.

i thing also it might be the LCD display faulty,or fall from bed and display unclipped?

i only suppose.
[Sony Ericsson Xperia Neo, Pro] Samak:
i dont think its a faulty LCD, coz if it was faulty LCD then ur phone will boot normally, but it showed Lupus logo & then stucked... it may be a hardware fault..
[Sony Ericsson Xperia Neo, Pro] vishal_android freak:
As you said there are red lines and stuff on screen, its definitely LCD issue I feel
[Sony Ericsson Xperia Neo, Pro] broky:
just took it back from a local repairer shop and he said is a software problem,hardware seems to work ok ,he can not fix it,and if he takes it to sony they are not going to repair it for any reason because i unlocked my bootloader... ...but i flash with flashtool and it does not show the screen...

is something that i have not tried,is there another way from flashtool to format the whole phone?

relock bootloader and try with sony update center?
[Sony Ericsson Xperia Neo, Pro] broky:
update:i locked my bootloader and took the phone back for repair.this time EMMA recognized the phone and flashed .587 firmware successfully and the phone runs fine!!!

i flashed it many times with flashtool and sony update service,only this program (EMMA)

did the job!everything ok then..but i still wanted to root,flash cwm etc...i unlocked my bootloader officially again but the the phone does the same thing it did before flash it with EMMA..so tomorrow i ll take it again for flashing it with EMMA and stay official and locked bootloader to be safe.

i tried EMMA myself but finds my phone locked so i can not flash it...
[Galaxy S 4 General] csec:
Reserved for OP
[Galaxy S 4 General] ps000000:
Very useful thread
[Galaxy S 4 General] dannyella:
Very informative.. Im learning mew things in xda everyday.. Thanks..
[Galaxy S 4 General] csec:
Glad to be of help. :)
[Galaxy S 4 General] lzk123:
Very informative. Might want to consider adding zram definition?
[Galaxy S 4 General] csec:
Of course, zRAM, throttle and some other stuff are in my list.
[Galaxy S 4 General] LuigiBull23:
Awesome guide!
[Galaxy S 4 General] csec:
Glad you approved :)

Also I'd be happy if you could help me complete it with your suggestions.
[Galaxy S 4 General] csec:
zRAM added to the guide. (see post 2).
[Galaxy S 4 General] xdeal:
Great guide, very useful. Will point this thread to some people in the future. Thanks
[Galaxy S 4 General] csec:
Thanks. Glad to be of help. :)
[Galaxy S 4 General] csec:
Recently added to the GUIDE:

- Must know facts. (This really was making mass confusion for some people!).

Stay tuned, more to come!
[Galaxy S 4 General] dclarkg:
Quick questions:

Are the governors included on the kernell? if not, where do I get them? I don't know mucho of this things but i'm assuming that each kernell should have thier own governor ot at least the parameters that each governor should follow.

My other question is if the governors change from kernel to kernel or they are standard? The ''ondemand'' governor on a stock kernell it's the same/ behave the same ina cutom kernell? I don't see the point of a custom kernell if the govenor is going to behave the same regardless of the kernell so the kernell should provide the governor with the parameters or the governor itself.

Anyone knows this?
[Galaxy S 4 General] csec:
Yes governors are in the kernel, you don't get them any where. You can set governor with the apps that usually come with the kernels.

Custom kernels usually have more governors that stock kernel, letting you choose the one that suits you the best. Usually the governor that is tweakable or have nice settings is there to choose (like Ktoonzactiveq in Ktoonsez's kernel).

Also sometimes the same governors from stock kernel are tweaked to work better in custom kernel.

The main thing is that the well known governors are mostly standard and same in different kernels. But some are tweaked and some are specifically tweaked for the custom kernel (ex. Ktoonzactiveq or Abyssplug).
[Galaxy S 4 General] LuigiBull23:
Ktoonzactiveq?? Hmm.. Never heard of it but sounds much better than Ktoonservativeq lol.

Yes I know what you meant but you almost had me there a sec for a completely different governor that the boss has not shared with me.
[Galaxy S 4 General] dclarkg:
That's what I thought! I appreciate the help!

One more question: what about the Schedulers? Do they come with the kernel as well? can thos be modified? For waht I've been reading in the forum the Schedulers are more a data allocation sort of thing, those can be modifed depending on the kernel values? do they have anything to do with governors or can they be set regardless of the kernel/governors parameters?

I don't know mucho of this things but since I got the S4 I just felt in love with android and I'm trying to learn a bit. =]
[Galaxy S 4 General] csec:
The same thing that I said about the governors applies to schedulers, too. They are in kernel, can be modified, tweaked, and are standard ones are the same in different kernels.
[Galaxy S 4 General] csec:
Hahahaha, sorry. I mistyped this the first day, and SwiftKey got the best of me!

But thinking logicly, it's based on conservative, and so I think that's why there's the "servative" part! That's it, burnt into my mind. :good:
[JASJAR, XDA Exec, MDA Pro General] chippyuk:
Just had an email and confirmed, they are in stock to ship today!
[Android Q&A, Help & Troubleshooting] jazzycolours:
Hello. So Im having troubles on my MTK6589 phone. The camera is very dark, even with the flash, its also very dark. Is there anyway to increase the camera Brightness? Can't seem to find an answer for it.

Thanks
[Samsung Galaxy Mini] Lesterpat:
hi guys,

is there a fully compatible cyanogen mod for samsung galaxy mini 2(gt-S6500)??

i found on the web that cyanogen mod 10.3 will be compatible with this device. In the moment camera, bluetooth and wi-fi doesn't work. It's correct?
[Samsung Galaxy Mini] lowtax:
visit the Galaxy Mini II Android Development section. You'll find the answer
[Samsung Galaxy Mini] Lesterpat:
i can't. i haven't 10 messages yet,,,
[Samsung Galaxy Mini] lowtax:
You can visit and read and download everything even you haven't reach the 10 messeges. The restriction is you can't post. It doesn't mean you can't enter it and read everything inside.
[General Questions and Answers] RaZ0R4334:
Hello, my tablet(Allview TX1 Quasar) has 2 partition on it's internal storage. The worst part is that the system recognize the second partition as a SD Card. So when I install a app on the SD Card I install it on the second partition that has 700 mb. Is there any way I can delete this second partiton?
[Galaxy Tab 2 Q&A, Help & Troubleshooting] catalinjulia:
can i use a 7" kernel for my p5110 tablet?
[Galaxy Tab 2 Q&A, Help & Troubleshooting] ebthepcguy:
I don't understand your intentions. Are you looking for a kernel? Every ROM has one build in as far as I know. You could use the Blackhawk kernel though.

-RespawnedEvil
[Galaxy Tab 2 Q&A, Help & Troubleshooting] dynospectrum:
No.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] doc-oc:
Of course not
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Nonta72:
The simple answer is NO !!!

Sent from 2015, travelled there by the TARDIS.
[HTC One S] CaptainMaki:
I was trying to update rooted phone with 4.0.4 to stock 4.1.1 from Tmobile (TMOUS 3.14)

I was updating from a computer. I got an error while "checking signatures" I'm not sure why. the error code was 132.

Any idea why this is happening?
[HTC One S] CaptainMaki:
relocking the bootloader did the trick.
[XPERIA X10 Q&A, Help & Troubleshooting] vinayakagarwal1996:
recently got my bro's x10i

i am unable to unlock bootloader as it shows bootloader status unrootable

though ive rooted it. can someone please help me on how to unlock it?