New Power Control widget with one click 2G/3G toggling - myTouch 3G, Magic Android Development

Hello
I waited a lot of time for Google to release the support of a API to allow changing the 2G/3G with one click
As many others I would like to have the ability to do it without need to go to the settings.
Since Google didn't do it, I decided to do it by myself.
For that I modified the Phone and Setting applications that are delivered in the Cyanogen 6 version.
I made a new Power Control widget that now has the following:
Additional buttons:
- 2G/3G toggling (one click. With 3G only or 3G preferred)
- Ring mode toggling (Different possibilities)
- Screen timeout (15s/1min/5 min or 30s/2m/5Min)
- Toggle orientation sensor(enabled/disabled)
- Brightness levels (added different possible levels)
- Airplane mode enable/disable
- Lock Screen enable/disable
- Flashlight (screen mode works on Magic. on N1 it doesn't work=Don't use it)
Options:
- Can now be set with vertical layout
- you can choose different buttons on the widget
- possibility for a transparent widget
- possibility to avoid the widget "round corners"
- Option to change to 2G automatically when Mobile data is disabled
- Option to change to 3G automatically when Mobile data is enabled back
- Option to disable sync automatically when WIFI is disabled (avoids sync on mobile data)
- Option to enable sync automatically when WIFI is enabled back
- Option to choose if Ring mode is ON with vibrate or with sound
- Option to monitor the Data roaming (set the icon to red if enabled)
Other changes:
Changes done to GPS or Mobile Data in normal Settings page are now automatically synchronized in the widget.
Limitations:
- Setting page still very ugly
- Like the original one, limited to a single 4x1 widget.
- Button order is fixed
Before I contribute with my code to Cyanogen, I would like to see the feedback of other persons to confirm if this change is interesting or not.
If not, I would keep it just to myself.
It was only tested in my own HTC Magic. So I cannot guarantee that it will work 100%. If you want it, then use it at your own risk
Unfortunately it require changes of main Phone applications so I don't think it is possible to do it for all the Phones.
For now it will only work with CM6
I hope this is also interesting for several other people.
How to download:
update.zip file:
http://share1t.com/lg7prf

Screenshots:
My personal update procedure (flashmode):
Step 1:
Copy the update.zip (power_control_v2.01.zip) to the SD Card
Shutdown phone and boot it in recovery mode (On HTC Magic, press HOME + POWER to boot)
Step 2: (optional but recommended)
move the directory of your computer to were to store the backup files
Wait for the Recovery console
Connect the usb cable
adb.exe shell mount /system
Make a backup of the original files:
adb.exe pull /system/app/Settings.apk Settings_original.apk
adb.exe pull /system/app/Phone.apk Phone_original.apk
Step 3:
Select the Flash option on the recovery, and select to choose the file name
Select the power_control_v2.01.zip
Confirm and wait for it to finish.
Reboot the phone.
Step 4:
Add the new Power Control widget

Thank you verry much !

Is this the app from BK Mobility? Of so, this would be considered a WAREZ and you will get banned for it, because it is an paid app.

to futango:
Can you even READ?

Any screens?

Now it has

anwoo said:
to futango:
Can you even READ?
Click to expand...
Click to collapse
Sorry OP. Was tired when reading.
That thing looks great BTW.

installed. looks good and works. very nice and thanks.
can i add a suggestion? possibility to reorder the buttons

When i do
Code:
# mount /system
i have error: device or recovery busy ...
What now ?

nice thanks

virnik said:
When i do
Code:
# mount /system
i have error: device or recovery busy ...
What now ?
Click to expand...
Click to collapse
Well I'm not experienced in that.
Maybe the volume is already mounted?
If you really have boot the phone in Recovery mode (not the normal mode)
then check the following after the shell part:
ls /system/app
if you see a lot of files ending in *.apk, then the system is mounted.
You can see if you can execute the remaining operations (starting with the adb pull)
If not, then I don't know how you can push it. maybe in a next CM6 build it will be available.

You read my mind and made it work. Ive been looking for a widget that would do this properly. All other programs could disable apn but then it would mysteriously start up again on its own.
So far so good.
Thanks
Edit: my phone had a force close and when it rebooted, it had automatically reverted back to the normal power widget, with no sign of your version???

If we can have a toggle for the rest of the items it would be perfect.
Specifically hiding bluetooth, GPS and autosync since I never touch those.

xaueious said:
If we can have a toggle for the rest of the items it would be perfect.
Specifically hiding bluetooth, GPS and autosync since I never touch those.
Click to expand...
Click to collapse
You can select what options do you want to see. So you can hide these three and keep the other ones.

twigster said:
Edit: my phone had a force close and when it rebooted, it had automatically reverted back to the normal power widget, with no sign of your version???
Click to expand...
Click to collapse
That is strange for me.
I can only see it happening if the original settings apk get installed on the system. I don't think there is any "recovery" rom for that.
What could happen is for it to loose the configured settings and revert to the default one.
There you will have two differences:
1- In my case, the disable mobile data is after the GPS icon. in the original one it after the wifi I think.
2- 2G/3G data is automatically changed when you enable/disable the mobile data.

Perfect
Good work !
Works fine on Vodafone Magic 32b with Chromatic Rom (4.2)
Thanks !

Can you add Airplane Mode toggle, please?

Wow cool
Gonna try it asasp, been looking for this aswell!

Is it workable if I change the phone.apk and settings.apk into yours and resign the ROM?
Cuz my Magic seems fail to mount...
Anyway Good Jobsince I hate the original CM's Power Control Widget much(the number of buttons are fixed to 7,quite hard for me to press the right one...)

Related

Where did Tasker install to?

I'm going to do an adb pull to insert an icon into Tasker, for it to be used for notifciations. I'll do the icon add in windows, then push the app back to the Aria. Where should I expect to find the Tasker app? It does not allow install to the sd, so it is somewhere in the internal. Anyone have Tasker and can find it?
duckredbeard said:
I'm going to do an adb pull to insert an icon into Tasker, for it to be used for notifciations. I'll do the icon add in windows, then push the app back to the Aria. Where should I expect to find the Tasker app? It does not allow install to the sd, so it is somewhere in the internal. Anyone have Tasker and can find it?
Click to expand...
Click to collapse
/data/app/net.dinglisch.android.tasker-1.apk
Is there a way to use terminal emulator to push a file into this app?
My last Intruder was a Grumman A-6E.
duckredbeard said:
Is there a way to use terminal emulator to push a file into this app?
My last Intruder was a Grumman A-6E.
Click to expand...
Click to collapse
Great question - I don't know. What you might check out is PULLING the APK and extracting it with WinRAR or you're alternative zip program and placing the file you want in there...what exactly are you trying to accomplish? After you replace or place your file rezip and rename to .apk ... please note I do not know if this 'method' is suitable for what you are trying to do, don't know if it will work or what...in my eyes its worth a shot...if anything your phone just wont install it.another thing I'd try is, unseasonable of unzipping, then rezipping just drop the file in there and place/replace, then put on SDCARD and try to sideload it.
If you are familiar with Tasker, this should make sense. I'll give you the quick version.
I have three modes, Home, Car, and Work. When I leave home, Tasker detects my home network has been disconnected and switches to car mode (wifi off, bluetooth on, gps on). When I arrive at work, Tasker's gps function detects my location and switches to work mode (wifi off, gps off, bluetooth off). When I leave work, Tasker uses "cell near" detection to see that I have left work and goes back to car mode (wifi off, gps on, bluetooth on). Tasker monitors gps data and knows when I have returned home sets everything back to home (wifi on, gps off, bluetooth off). There are other settings that get changed as well, such as brightness and volume levels. Quite complex to set up, but it is totally automated. I believe it saves battery by keeping unnecessary functions off when not needed.
So, what I'm trying to do is have Tasker initiate a notification (tasker does this also) when each state changes. The notification can be made to be "permanent" and is only cleared by the change of mode. When setting up Tasker to do these notifications, there are only a few stock ones to chose from. Things like teddy bears and penguins and stars. I'd like to use different icons. So I believe the solution is to find suitable icons (24x24 or 32x32 png images) and name them the same as what is found in the apk. The file icon_notify_bear.png will become a VW logo for car mode, etc. It should show up in the list of icons available for the notification. I intend to replace those that are not of interest and add a few others, using the same file name structure.
More info (though outdated) can be found here http://tasker.dinglisch.net/tour.html#notify
Tasker has been updated many times since that, it has many more and better features and functions now. Except easily adding icons for notifications. The dev says that android won't allow it through the app itself. So I'm going in through the back door.
duckredbeard said:
If you are familiar with Tasker, this should make sense. I'll give you the quick version.
I have three modes, Home, Car, and Work. When I leave home, Tasker detects my home network has been disconnected and switches to car mode (wifi off, bluetooth on, gps on). When I arrive at work, Tasker's gps function detects my location and switches to work mode (wifi off, gps off, bluetooth off). When I leave work, Tasker uses "cell near" detection to see that I have left work and goes back to car mode (wifi off, gps on, bluetooth on). Tasker monitors gps data and knows when I have returned home sets everything back to home (wifi on, gps off, bluetooth off). There are other settings that get changed as well, such as brightness and volume levels. Quite complex to set up, but it is totally automated. I believe it saves battery by keeping unnecessary functions off when not needed.
So, what I'm trying to do is have Tasker initiate a notification (tasker does this also) when each state changes. The notification can be made to be "permanent" and is only cleared by the change of mode. When setting up Tasker to do these notifications, there are only a few stock ones to chose from. Things like teddy bears and penguins and stars. I'd like to use different icons. So I believe the solution is to find suitable icons (24x24 or 32x32 png images) and name them the same as what is found in the apk. The file icon_notify_bear.png will become a VW logo for car mode, etc. It should show up in the list of icons available for the notification. I intend to replace those that are not of interest and add a few others, using the same file name structure.
More info (though outdated) can be found here http://tasker.dinglisch.net/tour.html#notify
Tasker has been updated many times since that, it has many more and better features and functions now. Except easily adding icons for notifications. The dev says that android won't allow it through the app itself. So I'm going in through the back door.
Click to expand...
Click to collapse
Alright, well I am familiar with tasker but didn't know about the different notification icons. Anyway, what I told you above is exactly what I would try. Pull the APK from your phone, open it in winrar have a looksie at what you can find (note you may have to unzip to see what each file is, but I wouldn't rezip it to achieve this task), once you find what you need to replace drag and drop from windows to winrar...winrar SHOULD ask you if you want to replace what's already in there. If it doesn't, this 'method' will probably not work. If it does, either push it back to your phone or just drop it on your sdcard and sideload it, test it out and see what you can come up with. May take a few trial and error failures but that's all part of the learning experience in my opinion.
I've read a thing or two about apps in the /data/app need to be signed after edit. Not a clue what I am to do with that advice
My last Intruder was a Grumman A-6E.
duckredbeard said:
I've read a thing or two about apps in the /data/app need to be signed after edit. Not a clue what I am to do with that advice
My last Intruder was a Grumman A-6E.
Click to expand...
Click to collapse
Look into SignApk...i tried to do this after editing ROM frame apk with UOT so I didn't have to flash two files and I failed...well...I may have succeeded in signing the apk but the ROM was stuck at the boot animation so i gave up there...
These should help you out some:
http://www.londatiga.net/it/how-to-sign-apk-zip-files/
http://www.youtube.com/watch?v=-wjOCFS-pQc

[APP] Optimus 3D touch LED notifications

Hi,
I've modified Martin Börjesson's app to work on our beloved Optimus 3D.
What does it do, you ask?
It makes the LED under touch buttons blink in interval you select on several events - unread Gmail, SMS or missed calls. Even more, it can listen to notifications generated by any other application.
The app:
can make the LEDs under touch buttons blink after there is a notification (new SMS, mail, instant message, etc.)
can keep the LEDs lit while the screen is on (if you like to keep them shining)
can decrease the timeout after keypress (if you don't like the LEDs shining for so long after keypress)
Requirements:
superuser rights (root)
something to install apk
Installation
1) Download APK from link: O3D LEDs v. 1.4
2) Install with your favourite file manager
After installation it will ask you to grant root rights. It is necessary to ALLOW superuser rights.
Known issues:
Timeout after keypress reacts only on the first keypress. If there are any other keypresses during the default system timeout (~3s), the LEDs won't be lit. (can't be fixed)
LEDs fading doesn't work (and probably never will)
Change of brightness doesn't work (and probably never will)
according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."
TODO:
Fading
More complex scenarios for LEDs and vibrations
Changelog:
v1.4
added: support for ICS (SU760 port by xbsall
important: you have to check Settings - Display - Front key light - Turn on front key light.
(there is no need to upgrade from 1.3 if you don't have ICS on P920 or SU760. It won't allow the upgrade anyway, because I screwed up)
v1.3
added: simple widget
v1.2.4
added: you can now set the leds' "after keypress" timeout
v1.2.3
better way to check for superuser (thanks go again to Martin Börjesson)
v1.2.2
fixed: FC on start
v1.2.1
fixed: LEDs sometimes stayed on when the screen turned off
v1.2
added: LEDs can stay on while the screen is on
v1.2beta
fix: battery issue
removed: accelerometer something
removed: fading options
v1.1
added O3D support
Big thanks to Martin Börjesson for making his app open-source.
Thanks, I'll try
thx alot...just what i was looking 4!!
sent from the 3rd dimension with my optimus
Installed, can't for the life of me get it working
the "test" works fine, it has super user privileges etc, just no idea what needs activating and what doesn't, by default nothing works
Well, it should work right after installation for Missed Calls, SMS and GMail... Maybe some task manager kills the app? Maybe you don't have active notifications, or you are using different app for messages - it can be added to notifications ("notifications" - "select monitored activities" and find the app you are using).
Also keep in mind that there is default waiting time 4 seconds before the notifications start (it can be changed in settings).
ztracenyDen said:
Well, it should work right after installation for Missed Calls, SMS and GMail... Maybe some task manager kills the app? Maybe you don't have active notifications, or you are using different app for messages - it can be added to notifications ("notifications" - "select monitored activities" and find the app you are using).
Also keep in mind that there is default waiting time 4 seconds before the notifications start (it can be changed in settings).
Click to expand...
Click to collapse
Hi mate, I use Handcent and Gmail (turned off missed calls)
it doesn't work with them (tried with emails)
However, Google+ works fine even though I never enabled that!?
I don't use task killers
Ok, according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."
If you've activated the Lights notification, then the LED notification will work for every app that wants to notify by LED (maybe your Google+).
ztracenyDen said:
Ok, according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."
If you've activated the Lights notification, then the LED notification will work for every app that wants to notify by LED (maybe your Google+).
Click to expand...
Click to collapse
yeah, just got my first text of the day and it worked, cheers
If LG - hopefully with a forthcoming update - makes writable the LED's file system instead of keeping it as read only, could we use your build without root/superuser rights, isn't it?
Yes, it should work without root then.
Ok, thanks for the confirmation: I try to push a bit the manufacturer regarding the little firmware mod! If anybody else wanna support the same request, maybe...
It doesn´t work for me.Its says"The app detected that its has no read or write access to a required file.This can be fixed but this action requires the device to be rooted(im already root).This has to be done before the app can be used properly.
I have reintaled and rebooted the phone and nothing
PD:I have instaled in my phone lot of apps that need root,rom manager,titanium backup,chainfire 3D...
Mr_Hanneman said:
It doesn´t work for me.Its says"The app detected that its has no read or write access to a required file.This can be fixed but this action requires the device to be rooted(im already root).This has to be done before the app can be used properly.
I have reintaled and rebooted the phone and nothing
PD:I have instaled in my phone lot of apps that need root,rom manager,titanium backup,chainfire 3D...
Click to expand...
Click to collapse
Well, you have to confirm that message and after that you will be asked by superuser app to allow root access. and that's all.
If it doesn't work, check if you have file "/sys/devices/platform/keypad_led/leds/keyboard-backlight/brightness"
ztracenyDen said:
Well, you have to confirm that message and after that you will be asked by superuser app to allow root access. and that's all.
If it doesn't work, check if you have file "/sys/devices/platform/keypad_led/leds/keyboard-backlight/brightness"
Click to expand...
Click to collapse
This is the problem, superuser app ask nothing.
I checked the file /sys/devices/platform/keypad_led/leds/keyboard-backlight/brightness and is ok.
the app looks for the file I've mentioned, if it exists, it checks wheter it is read-only, then it tries the chmod command to make it writeable and that's when it needs root permission. There is nothing more I can do about it, the permissions must be given by superuser app.
You can try to set chmod 766 on the brightness file manually.
Working But!!
I installed and it worked straight off, one issue though that I had is that it is using far too much battery, so I had to uninstall, otherwise it worked flawlessly.
glad my idea was enough to put a dev to work
Barracuda77777 said:
I installed and it worked straight off, one issue though that I had is that it is using far too much battery, so I had to uninstall, otherwise it worked flawlessly.
Click to expand...
Click to collapse
same here, plus they never stopped blinking when I'd read a text or opened email on my computer, had to unlock the phone, pull down the bar and press the app every single time
uninstalled
Barracuda77777 said:
I installed and it worked straight off, one issue though that I had is that it is using far too much battery, so I had to uninstall, otherwise it worked flawlessly.
Click to expand...
Click to collapse
Yea i totally agree with you this apk use too much battery
is it fixable?
i would like to see it fixed...
those led's cant drain so much if they only blink?

Some ICS 4.0 bugs and quirks

NOTE: This is a list of bugs for STOCK (NON-MODDED) ICS 4.0.3 & 4.0.4 (LC4, LD2, and LE2) (Most bugs from the initial LC4 leak fixed after the two major version leak updates) from DesignGears.
If you have flashed to ANY OTHER CUSTOM ICS 4.0 ROM, PLEASE WRITE IN THE DEVELOPERS' / ROM thread.
1 - 03/26/2012: When selecting "Contacts to Display" and selecting CUSTOMIZE LIST > Selecting ONLY Google Contacts (EXCLUDE G+).
Then you start typing someone's name, it returns contacts in SIM card and on Google contacts.
2 - 03/26/2012: Autocorrect on the included "Android Keyboard" doesn't work by pressing spacebar.....like it had been in previous 2.3.6. Even when changing setting to VERY AGGRESSIVE. FIXED IN UCLD2 LEAK
3 - 03/26/2012 [CONFIRMED] When deleting a message thread, the phone will freeze and turn into a blank screen (except notification bar) then the messaging app will close. FIXED IN UCLD2 LEAK
4 - 03/26/2012: [CONFIRMED] When using the "PHONE" icon to bring up dialer, contacts tab is no longer associated in it.
5 - 03/27/2012: 50/50 Users report more sensitivity on the touch screen, some report lack of sensitivity of touch.
6 - 03/27/2012: HOW TO take screen shot: Press AND HOLD ... VOL DOWN + POWER BUTTON for at LEAST 1-2 SECONDS. You will then be prompted to view the screenshot in notification bar / indicator.
METHOD #2 of taking screenshots: Press and HOLD Power button + HOME key.
7 - 03/29/2012: Some users report when tapping "RESTART" or "SHUTDOWN" on STOCK Power-button option, the phone will freeze. Either you have it or you don't. FIXED IN UCLD2 LEAK
7 - 04/02/2012: Users report echoing or unable to hear other party on an INCOMING call. This is a "hit or miss" bug.
8 - 04/02/2012: [CONFIRMED]Bluetooth stack in the new kernel has resolved a LOT of vehicle-to-android phone issue (static, drops, functions, etc.).
10 - 04/04/2012: [CONFIRMED BIG ISSUE] When creating a new contact in phone and setting it to GOOGLE CONTACTs; forcing a sync or auto-sync option will NOT push the contact to google servers for backup purposes. However, deleting or creating a contact while logged in on a full web browser will push it back to the phone via sync. FIXED IN UCLD2 LEAK
11 - 04/09/2012: [CONFIRMED] There are known issues with stock email app. Syncing unread/read e-mails will not push back to exchange server email client. Also emails me not completely send and stays "stuck" in outgoing box.
FIX (Thanks dixit):
This google thread shows the official issue and show that it was fixed officially in 4.0.4.
https://code.google.com/p/android/is...etail?id=23534
If you scroll down to post 51 you will see there is a link where someone put the two 4.0.4 APKs from a Spring Nexus S 4G which fixes this issue as explained above. So just go to that link, download the two Email/Exchange APKs, put them in System/App, correct permissions, remove your two Samsung Native Email APKs, and that will fix the issue of emails being stuck in the outbox.
Here is the direct link to those two APKs off Post 51
http://files.devphone.org/404mail/
11 - 04/15/2012: [CONFIRMED] When adjusting ringtone level in SETTINGS > SOUNDS, the ringtone level will not lower or raise; it stays at one level.
FIX: Adjust via volume rocker while in any other system screen (Home, MMS, etc) BUT NOT IN-APP. *Thanks petrochemicals!*
Here's what I found and posted in another thread...
So far so good except a few things:
1) I hate the fact that "contacts" are no longer visible in the dialer. Now I need another icon that I rarely use. The only option appears to hit menu and select contacts from there.
2) The "power off" and "restart" options in the extended power menu (hold power button down) seem to lock up and freeze whenever I try to use one of these thus requiring a battery pull. Anyone else experiencing this?
3) Can't use built in hotspot tethering anymore. This is something that I use with my tablet often. Any solutions other than a 3rd party app? If not, what app is everyone using for hotspot tethering?
4) Why in the world don't the signal bars turn green once fully connected? It's driving me crazy because normally that means its not connected to your Google account. This is the first time I've seen this (of MANY different Android phones). - This appears to be an ATT thing as other carriers and phones change the signal bars color when its connected to your google account (as it always should be).
Grey bars, works for for me; turning green = same color as battery = confusion to some it is acting as a double icon of ur battery? lol
I don't get a freeze in the menu.... I'm assuming you're talking about the built-in menu not a modded one? I just use the one that came with the ICS.
Hotspot tethering, you'll have to wait for a dev to mod that unless you are wanting an app for it.
I can tell you that I got my portable hotspot to work. It gave me numerous error messages though when I first went to set it up and the screen freezes when I turn it on. I went back to home and back to the hotspot settings and the toggle remained on. I changed the default password to all 9s bc I was getting an invalid password error. After that, I connected my old iPhone to the Skyrocket wi-fi.
I used to use Barnicle Wi-fi tether but it doesn't work now. Is there a difference between the stock portable wi-fi hotspot program on the phone and Barnicle? Im just curious if Barnicle masked the fact that the user was tethering.
Sent from my SAMSUNG-SGH-I727 using XDA
Yes, I'm referring to the built in power menu. I fixed permissions in CWM and still no go. Any ideas???
I find the keyboard to be a bit slow on the responsive side. Anyone else running into that or am I just trying to type too fast?
Perform a Factory data / reset?
I find the new keyboard fairly responsive vs the old one; I just thought i typed too fast for the old one lol. This one actually keeps up and Swype keyboard tapping works more fluent as well.
good job guys, keep up the troubleshooting so hopefully some devs will cook up a nice rom
fongz27 said:
Perform a Factory data / reset?
I find the new keyboard fairly responsive vs the old one; I just thought i typed too fast for the old one lol. This one actually keeps up and Swype keyboard tapping works more fluent as well.
Click to expand...
Click to collapse
I'll give that a spin. I did that once already to fix my home button problem, so I'll try and do another. But yea I use to use the ICS keyboard from the market on GB, and that was quick enough for me.
stuff I notice so far
I did notice the contact tab missing from dialer. The menu selected one doesn't allow right and left swipe for call/text. In the contacts app, the swipe works ok.
the only real problem for me, thus far, is when deleting SMS threads; messaging force closes.
Anyone else have that?
BTW thanks for starting this thread, wasn't sure where to post bugs - I think this may be usefull to keep them all in one spot.
Getting some odd behavior from Rom Mngr
Aside from other errors I got, when I ask ROM Mngr. to perform a task, I get a bunch of errors like "Messaging has failed," "Internet has failed," "com.google.xx" has failed. But then it goes and performs the request.
However! Whereas on 2.3.6 UCLA3, when requesting a backup via ROM Mngr., it would go straight to the backup whereas now, it goes into CWM and I still have to select Backup from the option there.
Deleting threads freezes my messaging also.
Sent from my SAMSUNG-SGH-I727 using XDA
Noticed a new one.
Not getting pictures with messages now, too.
Nvm. Damn - I hate bug posts. They come, they go.
The only thing I've noticed so far is I don't seem to get LTE in my house anymore. Boo...
I'm having issues with audio files. I can't use either Google Play Music, Samsung Music Player or Doubletwist to play audio. It creates duplicates which I believe corrupt the file itself.
Sent from my SAMSUNG-SGH-I727 using XDA
jayrod88 said:
2) The "power off" and "restart" options in the extended power menu (hold power button down) seem to lock up and freeze whenever I try to use one of these thus requiring a battery pull. Anyone else experiencing this?
Click to expand...
Click to collapse
I get it too, but there is no need for a battery pull if it freezes during a restart.
Press and hold the power button and the phone will restart after a few seconds.
It's a leak, not an official release, so I fully expected bugs.
Face unlock crashes a lot for me.
It fails o power on the camera and then the keypad doesn't respond for PIN input.
Requires a reboot.
rjohnstone said:
I get it too, but there is no need for a battery pull if it freezes during a restart.
Press and hold the power button and the phone will restart after a few seconds.
It's a leak, not an official release, so I fully expected bugs.
Face unlock crashes a lot for me.
It fails o power on the camera and then the keypad doesn't respond for PIN input.
Requires a reboot.
Click to expand...
Click to collapse
Did you do a complete ext4 wipe / format prior to ODIN ONE CLICK ?
Run factory data reset, then fix permissions and then reboot. Face unlock works perfect and pin input works.
fongz27 said:
Did you do a complete ext4 wipe / format prior to ODIN ONE CLICK ?
Run factory data reset, then fix permissions and then reboot. Face unlock works perfect and pin input works.
Click to expand...
Click to collapse
Yep.
Face unlock does work... just not all the time.
have you done "improve facial recognition " if so how many additional pictures did you take?
Facial unlock is perfect for me. No problems whatsoever.
Sent from my SAMSUNG-SGH-I727 using XDA

[Bug list][i9505][4.3] CyanogenMod 10.2 official

I decided to create this thread so that people don't need to hunt through the large discussion threads.
Note that this is *not* a thread for discussing the ROM.
I will update these posts based on *confirmed* bugs. By that, I mean two or more people confirming the bug on pure cm 10.2 - not using other kernels.
Also the ROM must have had a clean install (wipe data, cache, system) and not flashed over a previous install.
It's also worth reading what CyanogenMod have to say about the 10.2 nightlies (http://www.cyanogenmod.org/blog/this-week-in-cm-aug-16-2013) as it gives you an idea of what to expect from the ROM at this stage.
ROM is available here: http://download.cyanogenmod.com/?device=jfltexx
The official ROM thread is here: http://forum.xda-developers.com/showthread.php?p=42387383
The discussion thread is here: http://forum.xda-developers.com/showthread.php?p=41851449
Only flash the ROM with the latest CWM (http://www.clockworkmod.com/rommanager), TWRP 2.6.0 (http://techerrata.com/browse/twrp2/jfltexx), or the latest PhilZ (http://d-h.st/users/philz_touch/?fld_id=16685#files)
DO NOT use earlier versions of PhilZ (prior to 5.13.9) or you will have boot (no animation, hang on updating apps) and installation (no signal, no baseband) problems.
DO NOT use TWRP 2.6.1 as it fails to flash the ROM.
First time cm 10.2 users please see post #4 for some useful tips.
Sent from my GT-I9505
Bug list
Bluetooth
(Does not affect all users and may be related to BT 4.0 devices)
No audio on BT; doesn't connect/disconnect properly.
Compass
The compass doesn't work "out of the box".
Solution:
- when first using an app requiring the compass (Google maps, GPS status, etc), the compass is "frozen" until it is calibrated (rotate the phone 2-3 times about each of its three axes).
- the compass will then move, but very erraticly, often going around in circles
- if you exit the app and then reopen it, the compass will work properly from then on.
DSP
DSP distorts sounds. This affects music play back.
Workaround: freeze DSP using TB
Mobile network modes
(Not everyone has this problem as it is language related)
- It is set to: GSM/WCDMA/LTE, but when opening the drop-down menu it selects the option LTE (which is two above GSM/WCDMA/LTE).
- Selecting some options may cause an FC.
Network operator name
Name shows correctly on the notification shade, but only numbers are shown in Settings/Wireless&Networks/Mobile networks/Network operators
Apps
Camera
- HDR doesn't produce a proper HDR image. It only takes one low exposure image.
- Some people have been getting occasional green lines on photos taken using the front-facing camera.
- In Scene or HDR mode, touching on the screen does not refocus.
- (0908 ) Video recording at 1080p will cause the phone to reboot.
- (0908 ) Exposure is locked at the value of the first photo taken (if taken without flash). Subsequent photos use the same exposure as the first photo.
Workaround: change the flash mode to automatic then change it to none. Then it will work properly. But this needs to be done each time the camera app is started.
File Manager
(1113: reintroduced ) In root access mode the bookmark for the internal SD card points to /storage/emulated/0 which doesn't exist.
Workaround: bookmark /data/media/0 or /storage/sdcard0
Terminal
- su doesn't inherit PATH if it was previously modified by export.
- Arrow keys don't work properly in su mode.
Fixed
List of fixed bugs (version fixed)
Headphone mic doesn't work (20130818 )
Phone picks up sound from the phone microphones.
Workaround: keep the phone close to you.
Home key long press (20130818 )
Changing the option in Settings/Buttons/Home Button:Long press doesn't actually change the long press behaviour of the Home button.
Key backlight (20130827)
There is no longer an option to disable the backlight on the menu and back keys.
Workaround: flash this http://db.tt/evvZLhkx. Note that if you wiped /data then you must flash this file *after* the ROM has booted for the first time.
Lock screen (20130924)
If the icons of the shortcuts are changed, they must all be changed at the same time otherwise the ones that were previously changed revert to the original app icon.
Quick Settings panel
- (0924 or earlier) Orientation tile: it doesn't lock/unlock screen rotation immediately. It needs a screen change (such as bringing up the recent app list) to take effect. (20131001)
Random reboots
(0909) Some users get random reboots.
Root cause: bug in Chrome beta. See http://forum.xda-developers.com/showthread.php?p=45642265
SELinux status (20130818 )
Repeated taping on the SELinux status in Settings/About phone will freeze the phone and cause it to reboot after some time.
Sound recording (20131011)
Volume is very low in Sound Recorder and video recordings.
Partial workaround: use Smart Voice Recorder https://play.google.com/store/apps/details?id=com.andrwq.recorder and disable automatic gain control.
Workaround: use ktoonsez kernel and faux sound control app to increase the microphone gain.
Super user (20130815)
Does not work properly after a clean install.
Workaround: change Root access to Apps and ADB in Settings/Developer options
Apps
Camera
- No option to save to external SD card. This may be by design rather than a bug. (20130821)
Workaround: use Gallery2.apk from cm 10.1
- (1017) Note: cm are working in the camera. The camera will sometimes hang, often after using video. Force closing it results in a "Can't connect to camera" message. A reboot is required to reactivate the camera. (20131021)
File Manager (20130918 )
In root access mode the bookmark for the internal SD card points to /storage/emulated/0 which doesn't exist.
Workaround: bookmark /data/media/0
Trebuchet
- Icons in folders disappear after a while. (20130817)
Workaround: use a different launcher
- When icon labels are hidden, the label on an app will reappear if it is updated. (20131001)
Terminal
- (0918 ) In su mode, /sdcard points to /storage/emulated/legacy (/data/media/legacy), which is empty, instead of /storage/emulated/0 (/data/media/0). (20131011)
First time users
A few things you need to know:
Developer options
Only shows up in Settings when you tap 7 times on the Build number in Settings/About phone.
Reboot options on Power menu
Check Advanced reboot in Settings/Developer options.
ADB
For your PC to get ADB access, enable USB debugging in Settings/Developer options.
Watch your phone when you first run ADB and allow the PC access to your phone.
Internal SD card
With Android 4.2.2 (or was it earlier?) the internal SD card is now mounted at /data/media/0 in order to support multiple user profiles. Your files may still be in /data/media/legacy.
Sorry for repeating, but this information could be useful (cwm 6.0.3.6, cm10.2 nightly 14/08, previous firmware - cm10.1 nightly 13/08).
mreugene said:
Everything is ok after installing via last cwm and some magic
I had two minor bugs:
1. unable to update the software - fixed by readding the google account and cleaning dalvik cache.
2. crashes of keep, play music, google disc and youtube- fixed by reinstalling these programs.
Click to expand...
Click to collapse
Deleted
awesome
Glad to see this being worked on.
I had issues with the focal camera and would love some a2sd support. I had to go back to stock aosp but certainly wiling to do any testing if needed.
Very convenient.. Thanks!
Deleted
Just did a clean flash. Noticed directly that LTE didn't work. It says LTE in status menu. But no LTE in data connection. Not even HSDPA. Calls and Sms works.
Titanium backup doesn't work on 10.2 for me.
Sent from my GT-I9505 using Tapatalk 4
is there any mute calls or not?
Audioboxer said:
Titanium backup doesn't work on 10.2 for me.
Sent from my GT-I9505 using Tapatalk 4
Click to expand...
Click to collapse
Mohanned85 said:
is there any mute calls or not?
Click to expand...
Click to collapse
Take these questions to the discussion forum.
Sent from my GT-I9505
deezytg1 said:
Glad to see this being worked on.
I had issues with the focal camera and would love some a2sd support. I had to go back to stock aosp but certainly wiling to do any testing if needed.
Click to expand...
Click to collapse
I'm not a developer; I'm simply providing a list of bugs to help our community of cm 10.2 users.
Sent from my GT-I9505
Audioboxer said:
Titanium backup doesn't work on 10.2 for me.
Sent from my GT-I9505 using Tapatalk 4
Click to expand...
Click to collapse
Developer options
Only shows up in Settings when you tap 7 times on the Build number in Settings/About phone.
ADB
For your PC to get ADB access, enable USB debugging in Settings/Developer options.
Super user
Does not work after a clean install.
Workaround: change Root access to Apps and ADB in Settings/Developer options
OR
Install SuperSU from Play Store and install binaries
TB will work fine then...
bariz143 said:
Just did a clean flash. Noticed directly that LTE didn't work. It says LTE in status menu. But no LTE in data connection. Not even HSDPA. Calls and Sms works.
Click to expand...
Click to collapse
Went to the mall and saw LTE appears which I didn't expect to work since I've been on AOSP for a while without it. Quickly did a speed test and got 8 Mbps down and 3.5 up and this is with Sprint.
vboyz103 said:
Went to the mall and saw LTE appears which I didn't expect to work since I've been on AOSP for a while without it. Quickly did a speed test and got 8 Mbps down and 3.5 up and this is with Sprint.
Click to expand...
Click to collapse
LTE or 4G works fine for me also.
Sent from my GT-I9505
There is a bug in Trebuchet launcher. After reboot some of icons in folders simply disappear
two bugs I noticed:
Alternate action of 'long press Home button' doesn't stick (after closing settings It's back to app-switching when I long press, where I selected Search-app)
Mobile network modes set to: GSM/WCDMA/LTE, when opening the drop-down menu it selects the option LTE (which is two above GSM/WCDMA/LTE)
lostfriends said:
There is a bug in Trebuchet launcher. After reboot some of icons in folders simply disappear
Click to expand...
Click to collapse
Can others confirm this?
Akerboom said:
two bugs I noticed:
Alternate action of 'long press Home button' doesn't stick (after closing settings It's back to app-switching when I long press, where I selected Search-app)
Mobile network modes set to: GSM/WCDMA/LTE, when opening the drop-down menu it selects the option LTE (which is two above GSM/WCDMA/LTE)
Click to expand...
Click to collapse
Can others confirm these?
For me, the network modes work properly. And I don't have an LTE option on its own.
Sent from my GT-I9505

notification fix

OK guys I hope this hasn't already been covered but here goes anyway. I have found this fix for notifications not arriving when doze is enabled. Iff you go into the particular app e.g what's app then into data usage you must select the following settings see pic below. then all the notifications will arrive straight away regardless of doze state.
sam00561 said:
OK guys I hope this hasn't already been covered but here goes anyway. I have found this fix for notifications not arriving when doze is enabled. Iff you go into the particular app e.g what's app then into data usage you must select the following settings see pic below. then all the notifications will arrive straight away regardless of doze state.
Click to expand...
Click to collapse
Yes that seems to be the problem. I had made a post months ago. It's very hidden feature by Lenovo and I think it's wrong to pre-restrict all background data. User should decide what to do.
I think they lenovo did it to block unnecessary data usage but i agree it is not needed and people are thinking their is something wrong with their phones.
Thanks for the tip
Thanks Sam, I saw this on the JJ review of Nougat. Is this for Nougat as my MM P2 settings don't look like the screenshot.
Sent from my Lenovo P2a42 using Tapatalk
Hi yes it is for Nougat the comment posted on JJs review regarding this fix was posted by me also.
Confusing settings these as the first one makes it look like enabling the "Restrict background data" option will disable background data, when in fact it does the opposite. You need to have both of these options enabled so the sliders are green, then you need to open Settings > Power Manager > Battery Optimization
Then you need to search for the apps that you need to fix notifications and change the option so it says "Don't optimize". Then the phone won't 'helpfully' close the app when the phone has been unused for a long time. This is why notifications are stopping.
precisely i agree quite confusing it took me a while i had to get a friend to send me whats app messages continuously untill i figured all this out but im glad i finally did.
If you make the changes to fix the notifications, shut down and power the phone back on rather than do a reboot. The settings don't seem to work until the phone has properly rebooted.
Is it worth noting that elsewhere it's stated that turning off doze altogether (using ADB) might be a saner option? Consensus seems to indicate it's basically a curse with little value, and that would certainly hold water in light of the battery capacity of the P2.
https://forum.xda-developers.com/lenovo-p2/help/regretting-purchase-t3611968
I think the following helps. Credit goes to JasonMR and manototh (Taken from oneplus.net forum)
JasonMR
KitKat
JasonMR, Nov 2, 2016 :
Guys, to avoid having to run the ADB command after each reboot follow these instructions (please note, the files should be downloaded to a PC and then transferred to your phone via USB otherwise they mess up sometimes):
You need to enable USB debugging mode in Developer options first
Download and install this apk and transfer it to your phones storage - https://drive.google.com/file/d/0BxD...w?usp=drivesdk
Then connect phone to PC and allow the drivers to install
Download and install ADB here - https://drive.google.com/file/d/0B0M...ljU2NPR0k/view
Go into the ADB folder, hold shift, right click and select "Open command prompt here"
Type the command: adb devices (now hit enter)
It should return your phones serial number is connected correctly
Run this command in ADB: adb -d shell pm grant com.adamioan.scriptrunner android.permission.DUMP (now hit enter)
Download this file and transfer it to your phones storage - https://drive.google.com/open?id=0Bx...VA4YmxGTS1OX3c
Open the SH Script runner app and tap the three dots in the top right corner, select "Load" and locate the file from teh previous step
Click the Circle button with the play sign at the top of the screen
You should see the message "Idle mode disabled" which means that Doze has now been disabled.
Whenever you reboot your phone, open the SH Script runner and the command will still be there, just click the play button to run the script again.
And that is it, two clicks to disable Doze after each reboot.
Full credit to manototh for putting this together originally.
Doze does not need disabling iff you follow my advice in the initial post i have tried and tested this and can confirm it works fully.
This is really frustrating. No matter what settings I use I still don't get notifications after a while. I don't want to go modifying my phone, can someone post a step by step if they have it working properly?
Spacedog79 said:
This is really frustrating. No matter what settings I use I still don't get notifications after a while. I don't want to go modifying my phone, can someone post a step by step if they have it working properly?
Click to expand...
Click to collapse
Follow my ordinal post and also go into battery optimisation and disable optimization for things like sms eggs what's app Facebook etc all the things you need notifications for should be disabled from sleep mode under battery optimization.
Like this
sam00561 said:
Like this
Click to expand...
Click to collapse
Yes thats exactly how I've done it. I've also tried every combination of settings under Apps for Unrestricted data usage.
And also the setting here
sam00561 said:
And also the setting here
Click to expand...
Click to collapse
Yep doesn't work either.
Perhaps your only option left is to try the disable doze app which has worked for many people but it's a paid app.
Just to update it does seem to be working properly now. I'm not 100% sure but I think turning the phone all the way off and on again instead of rebooting with the settings correct had the desired effect.

Categories

Resources