Affichage des articles dont le libellé est Read. Afficher tous les articles
Affichage des articles dont le libellé est Read. Afficher tous les articles

mercredi 19 août 2015

Android read battery capacity



Hello

I'm developing a little android APP.
I want to read Battery Capacity..
As far as I know is there no API before API Level 21 for that.
So I did it with the system file: /sys/class/power_supply/battery/full_bat.
This works great on the HTC One X/Sensation. But not on the SGS 5 mini...
Unfortunately I don't have an SGS 5 mini myself...
So I ask you. Is there an other way to read battery capacity?
Or can you give me the path to the system file on the SGS5 mini?

Thanks for your help!

PS: If you're interested in my app. Search on the playstore for charge cylce counter:angel:



first only no signal now new rom phone cant read sim card



just as it says above.
i instal a new rom then my phone didn't have annt signal and could read my simcard.
today i install a new rom to see if it maybe fix it but now my hpone only says sim card is locked or no service.
please help.
and sorry for my english.



samedi 15 août 2015

Mmc read fail... please help



I'm getting the occasional mmc read fail when I turn on my phone... it goes straight into download mode... i have to remove the battery and turn it back on then it would work... is there any fix for that?

Sent from my SM-N910T using Tapatalk



jeudi 13 août 2015

What future smartphones should look like (Samsung,LG,etc. should carefully read this)



Hello guys,

i got really bored from the design and missing features of new devices from every manufacturer and didn´t understand some choices they made.
It all started really great back in the days, but nowadays the devices just get faster and lack a lot features and have overall some design issues.

So here´s a list what a smartphone should look like in the future ... i know everyone has his own opinions and taste :) :

First of all every builder should have 2 phones with the same hardwarespecs but different screensizes (Yes, Sony finally understood that point).
For the normal one handed user the small build should be max 5 inches in diameter with small bezels to ensure you can use it with one hand.
The (business/heavy user) model should have under 6 inches to be portable enough to fit in a pocket of jeans for instance.

Now the more important specs:
Most important: Replacable Battery and slot for microSD-Cards (Thank you LG for still mainting this option and Samsung go to xxx for you new devices).
Speaking of battery power, it should be enough to maintain 2 days before charging under normal usage.

Waterproof phones are not that usable in everyday life for the following reasons. The Z-Series and their hidden USB-Port are not good, if you charge them over USB. The dock is a nice option, but i like charging my phones everywhere with the microusb-cables out there in the wild.
So in my opinion if a smartphone must be waterproof the USB-Port should be too. If not there should be an extra waterproofversion from any manufacturer for people that drop their phones in the toilette or for voyeurs out there. In case of diving just a good old gopro.

There should be and option for everyphone to unlock the bootloader officially. (Thank you HTC!!! :) ) and there build be no exceptions from build to build or any possibilty for carries to modify this option.
I you buy a phone you should be to do with it as you please, even if it means losing the warranty.
Speaking of open bootloaders: If the manufactures would in implent a (encrypted) backupoption in their stock recoveries, t think many people would not root their devices or use a custom recovery.


The overall design of the corners should not be to edgy and not to round. (For instance the LG G2 was too round but comfortable, the G3 quite right and comfortable in hand and the pocket and the G4 is quite annoying to hold in the hand because of its sharp corners)

There should be a built in QI-Chargingpad to protect the USB-Port from to much mechanical usage (e.g. LG has made a good job by including that in the G3, but in the G4 i have to buy a leathercover (which i don´t like for everyday usage) or use a QI-Sticker for the cheap plastic cover which is always to thick to fit seemlessly)

The edges of the should habe any cheap material design (e.g. Samsungs cheap chrome-edges look like **** after a year, which is a lot better on the S6 with ist metalcase, but metal don´t like bumps to hard edges to, so the get dents after a while)
LG has done a better job on the G2 and G3, the G4 on the other hand got more vunerable.
Sony Z-Series is quite good in that area.


i hope i got everything in that list that bothers my mind, if i forgot something, just put it in the comments and i will edit this list if necessary.



mercredi 12 août 2015

Newbie: Help me choose a safe kernel (read post first)



Hi There!

Before redirecting me to Chasmodo´s Which kernel is safe/unsafe
safehttp://forum.xda-developers.com/showthread.php?t=1857556 please notice
that I am a newbie and I can´t understand all the stuff there. So stating clearly that the thread is useless to me and that no one seems to respond to my questions there I have just decided to open a new thread in search for the solution. So maybe any expert around here may drop me a hand. Let´s get to the point.

I have a rooted ICS 4.2.2 ROm with AOKP installed. My Kernel version is 3.0.85-NX-Kernel_1.4.1 neobuddy89@ubuntu #1
N7000XXLT3
STUNNER VERSION 2.7.13

The thing is that I´d like to install a ICS based stock rom. I have downloaded the latest FOP Rom from Sammobile for my country. Now .......I read here in the forum that some kernels are unsafe to flash from.....so I am in Panic!!
My first question is.............. which safe kernel should I download for my cell phone?. I don´t understand all the numbers and characters here for the different versions. Please let me know which kernel iI should download!.

Kind Regards,

Medved



lundi 10 août 2015

Replace power button? PLEASE READ



Hey guys my Nexus 5 is not functioning because the power button has gone bad, I tried all the "smashing" the phone and pressing the power button repeatedly but nothing works, the button inside is broken(not physically broken but just not functioning), i opened up the device and tried to put a little pressure on the button module on the motherboard but didnt help, HOWEVER:

I noticed that the volume up and down module buttons on the motherboard are the same as the power button module (as far as I can tell), my question is, if I take it to someone specialized, could they remove one of the volume modules and solder it in the place of the power button to make my phone at least functional? or are these modules just different and they just look alike?

I live in a country where I can no longer import virtually anything and I can't buy the module replacement even if I wanted to, please help.



dimanche 9 août 2015

ZenTweet. Read Twitter without a hassle.



ZenTweet :: ZenTweet.net

Are you annoyed of Twitter? ZenTweet is here to help you. This simple widget helps you to get the most off your Twitter reading experience, either from your timeline or from anyone's tweets.

No avatars.

No direct messages.

No hashtags.

No names.

Just a stream of thoughts.

Grab it @ the Play Store

Interested in helping me to translate it? Go and check this.
__________________

Note that this app is only a reading widget. Feel free to use the mobile-friendly ZenTweet.net website as a full featured Twitter client.



People that can port please read



I have been waiting for some one to port the game infested planet to android but i got bored of waiting so if anyone can port the game infested planet to android please can you thanks if you dontknow what the game is ccheck their website!



samedi 8 août 2015

[i9100] [5.1.1] [CM12.1] Read only permission on extSdCard formatted with Ext4



Hello!

I have put a MicroSD card in the device that I formatted with Ext4 with my PC in advance.
On the MicroSD card I copied > 10GB of data.

The MicroSD is mounted correctly in /storage/sdcard1:

Code:


user@pc1-gigabyte:~$ adb shell mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p9 /system ext4 ro,seclabel,noatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p7 /cache ext4 rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p1 /efs ext4 rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p10 /data ext4 rw,seclabel,nosuid,nodev,noatime,errors=panic,user_xattr,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc 0 0
/dev/block/mmcblk0p12 /preload ext4 rw,seclabel,nosuid,nodev,noatime,user_xattr,barrier=1,journal_async_commit,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/259:3 /mnt/media_rw/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/259:3 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:9 /mnt/media_rw/sdcard1 ext4 rw,dirsync,context=u:object_r:sdcard_posix:s0,nosuid,nodev,noexec,noatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/vold/179:9 /mnt/secure/asec ext4 rw,dirsync,context=u:object_r:sdcard_posix:s0,nosuid,nodev,noexec,noatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/vold/179:9 /mnt/media_rw/sdcard0/.android_secure ext4 rw,dirsync,context=u:object_r:sdcard_posix:s0,nosuid,nodev,noexec,noatime,user_xattr,barrier=1,data=ordered 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0


Checking the user and group permissions they are equal for /storage/sdcard0 and /storage/sdcard1:

Code:


user@pc1-gigabyte:~$ adb shell ls -l /storage
drwxrwx--x root    sdcard_r          2015-08-08 14:33 sdcard0
drwxrwx--x root    sdcard_r          2015-08-06 20:27 sdcard1
drwxrwx--- root    root              2015-08-08 11:36 usbdisk0


This is also true for any file / directory stored in /storage/sdcard1:

Code:


thomas@pc1-gigabyte:~$ adb shell ls -l /storage/sdcard1
drwxrwx--x root    sdcard_r          2015-03-28 16:11 Android
drwxrwx--- root    sdcard_r          2015-08-05 17:41 DCIM
drwxrwx--- root    sdcard_r          2015-08-06 02:13 TWRP
drwxrwx--- root    sdcard_r          2015-08-05 10:34 TitaniumBackup
drwxrwx--- root    sdcard_r          2015-03-28 16:11 audio
drwxrwx--- root    sdcard_r          2015-08-04 17:10 backup
drwxrwx--- root    sdcard_r          2015-03-28 16:12 bilder
drwxrwx--- root    sdcard_r          2015-04-23 16:40 brouter
drwxrwx--- root    sdcard_r          2015-05-21 14:43 clockworkmod
drwxrwx--- root    sdcard_r          2015-03-28 16:17 data
drwxrwx--- root    sdcard_r          2015-03-28 16:19 documents
drwxrwx--- root    sdcard_r          2015-08-05 22:55 download
drwxrwx--- root    sdcard_r          2015-05-31 22:02 keepass
drwxrwx--- root    sdcard_r          2015-08-05 22:16 lost+found
drwxrwx--- root    sdcard_r          2015-03-28 16:27 musik
drwxrwx--- root    sdcard_r          2015-08-03 20:49 oruxmaps
drwxrwx--- root    sdcard_r          2015-03-28 16:29 video
-rw-rw---- root    sdcard_r  307873 2015-08-08 16:20 xposed-uninstaller-arm.zip
-rw-rw---- root    sdcard_r  3540968 2015-08-08 16:20 xposed-v69-sdk22-arm-by-romracer-20150804.zip


However, I cannot write any file to /storage/sdcard1/<subdirectory>:

Code:


shell@GT-I9100:/storage/sdcard1 $ cp -v xposed-* backup/                                                           
cp: backup/xposed-uninstaller-arm.zip: Permission denied
cp: backup/xposed-v69-sdk22-arm-by-romracer-20150804.zip: Permission denied


Question:
Why is any subdirecty in /storage/sdcard1 with read-only permission?

THX



jeudi 30 juillet 2015

[Please READ FIRST] Forum Section Rules / Guidelines



To help keep this forum section tidy and easy to use, here are some rules and guidelines.

Only the following topics are allowed in the DEVELOPMENT area:
  • [DEV] - Development for any projects or Apps.

  • [ROM] - Custom ROMs.

  • [KERNEL] - Custom Kernels.

  • [MOD] - Hack & Modifications for the phone. (See below for more details)

  • [FIX] - Fixes for known issues & bugs.


Note: If you are unsure where your new topic should go, then please post it in General unless it is a question it then belongs in Q&A, Help & Troubleshooting.
  • For more information on the Original Android Development section check out this portal post

  • All kinds of Best Rom/Kernel/etc threads are unwelcome, read, research and make your own mind up, as the question is very subjective.

  • Please Include Screen Shots for ROM / MOD / THEME / Apps & Games, when possible as it's expected by our members.

  • [MOD]'s that are primarily theming related or simply adjust stock application or framework functionality or behavior belong in the themes and apps section rather than the development section.

  • Unmodified Stock ROM and Source Codes does not count as a DEVELOPMENT project unless it's part of an active project you have already started, and so should be posted in the general section.

  • Placeholder threads posted in the development section will be removed or moved.

  • Howto's and Guides should be posted in the general section.

  • Password must be provided for all password protected files.

  • Direct download links preferred, due to stipulations stated in forum rule #11


Quote:









11. Don’t post with the intention of selling something.
Don’t use XDA to advertise your product or service. Proprietors of for-pay products or services, may use XDA to get feedback, provide beta access, or a free version of their product for XDA users and offer support, but not to post with the intention of selling. This includes promoting sites similar/substantially similar to XDA-Developers.com.
Do not post press releases, announcements, links to trial software, or commercial services. unless you’re posting an exclusive release for XDA-Developers.com.
Encouraging members to participate in forum activities on other phone related sites is prohibited.
Off-site downloads are permitted if the site is non-commercial and does not require registration.
Off-site downloads from sites requiring registration are NOT encouraged but may be permitted if the following conditions are met:
A) the site belongs to a member of XDA-Developers with at least 1500 posts and 2 years membership who actively maintains XDA-Developers' support thread(s) / posts, related to the download,
B) the site is a relatively small personal website without commercial advertising/links (i.e. not a competitor forum-based site with purposes and aims similar to those of XDA-Developers.com.)




  • Extra emphasis on rule #12


Quote:









12. Using the work of others.
If you are developing something that is based on the work of another Member, you MUST first seek their permission, and you must give credit to the member whose work you used. If a dispute occurs about who developed / created a piece of work, first try to settle the matter by private message and NOT in open forum. If this fails then you may contact a moderator with clear evidence that the work was created by you.

Convincing evidence will result in copied work being removed. If there is no clear evidence you created the work then in the spirit of sharing all work will remain posted on the forums.

These rules apply to all software posted on XDA unless that software comes with a license that waives these rules.




  • Please keep all non Development relevant chatter out of development threads, It is recommended to make a separate thread in the Q&A section for non Development related comments and questions, valid replies within a development thread are: BUG Reports, Problem, Troubleshooting Steps & Logs.


  • ... and Please! keep all your personal bickering via PMs, do not pollute the forum with your personal indifferences.
    If you have a problem with a specific member please contact the Moderators for help, that's what we're here for, but we are not babysitters, we are here to gather, organize and provide useful information for our over priced phones

...for additional details please read the full Forum Rules

Thank you for your cooperation.

Thank you to veyka for the post



[Please READ FIRST] Forum Section Rules / Guidelines



To help keep this forum section tidy and easy to use, here are some rules and guidelines.

Only the following topics are allowed in the DEVELOPMENT area:
  • [DEV] - Development for any projects or Apps.

  • [ROM] - Custom ROMs.

  • [KERNEL] - Custom Kernels.

  • [MOD] - Hack & Modifications for the phone. (See below for more details)

  • [FIX] - Fixes for known issues & bugs.


Note: If you are unsure where your new topic should go, then please post it in General unless it is a question it then belongs in Q&A, Help & Troubleshooting.
  • For more information on the Original Android Development section check out this portal post

  • All kinds of Best Rom/Kernel/etc threads are unwelcome, read, research and make your own mind up, as the question is very subjective.

  • Please Include Screen Shots for ROM / MOD / THEME / Apps & Games, when possible as it's expected by our members.

  • [MOD]'s that are primarily theming related or simply adjust stock application or framework functionality or behavior belong in the themes and apps section rather than the development section.

  • Unmodified Stock ROM and Source Codes does not count as a DEVELOPMENT project unless it's part of an active project you have already started, and so should be posted in the general section.

  • Placeholder threads posted in the development section will be removed or moved.

  • Howto's and Guides should be posted in the general section.

  • Password must be provided for all password protected files.

  • Direct download links preferred, due to stipulations stated in forum rule #11


Quote:









11. Don’t post with the intention of selling something.
Don’t use XDA to advertise your product or service. Proprietors of for-pay products or services, may use XDA to get feedback, provide beta access, or a free version of their product for XDA users and offer support, but not to post with the intention of selling. This includes promoting sites similar/substantially similar to XDA-Developers.com.
Do not post press releases, announcements, links to trial software, or commercial services. unless you’re posting an exclusive release for XDA-Developers.com.
Encouraging members to participate in forum activities on other phone related sites is prohibited.
Off-site downloads are permitted if the site is non-commercial and does not require registration.
Off-site downloads from sites requiring registration are NOT encouraged but may be permitted if the following conditions are met:
A) the site belongs to a member of XDA-Developers with at least 1500 posts and 2 years membership who actively maintains XDA-Developers' support thread(s) / posts, related to the download,
B) the site is a relatively small personal website without commercial advertising/links (i.e. not a competitor forum-based site with purposes and aims similar to those of XDA-Developers.com.)




  • Extra emphasis on rule #12


Quote:









12. Using the work of others.
If you are developing something that is based on the work of another Member, you MUST first seek their permission, and you must give credit to the member whose work you used. If a dispute occurs about who developed / created a piece of work, first try to settle the matter by private message and NOT in open forum. If this fails then you may contact a moderator with clear evidence that the work was created by you.

Convincing evidence will result in copied work being removed. If there is no clear evidence you created the work then in the spirit of sharing all work will remain posted on the forums.

These rules apply to all software posted on XDA unless that software comes with a license that waives these rules.




  • Please keep all non Development relevant chatter out of development threads, It is recommended to make a separate thread in the Q&A section for non Development related comments and questions, valid replies within a development thread are: BUG Reports, Problem, Troubleshooting Steps & Logs.


  • ... and Please! keep all your personal bickering via PMs, do not pollute the forum with your personal indifferences.
    If you have a problem with a specific member please contact the Moderators for help, that's what we're here for, but we are not babysitters, we are here to gather, organize and provide useful information for our over priced phones

...for additional details please read the full Forum Rules

Thank you for your cooperation.

Thank you to veyka for the post



mardi 28 juillet 2015

Samsung galaxy s4 not working to read on dfs tool or cdma workshop



Hello, my Samsung galaxy s4 connects to Dfs tool and Cdma workshop but i cant read anything of it. and i can not send the spc. does anyone else have the same problem and found a solution? its the Galaxy s4 android version is 4.4.2