Add volume wake up - Android Q&A, Help & Troubleshooting

Hi,
I am starting working on my rom. I would add the features Volume to wake up no my Nexus4.
My idea is to make this permanent whitout the setting option because is a Rom ONLY for my use.
How can I do?? And where can I find this feat??

Crostantin said:
Hi,
I am starting working on my rom. I would add the features Volume to wake up no my Nexus4.
My idea is to make this permanent whitout the setting option because is a Rom ONLY for my use.
How can I do?? And where can I find this feat??
Click to expand...
Click to collapse
editing the smali code within android.policy.jar

yes its very good idea
i like much this mod
but i dont know what change in android.policy.jar
if any body know please help
in xperia sp

Crostantin said:
Hi,
I am starting working on my rom. I would add the features Volume to wake up no my Nexus4.
My idea is to make this permanent whitout the setting option because is a Rom ONLY for my use.
How can I do?? And where can I find this feat??
Click to expand...
Click to collapse
Hello mate! Did you manage to get this volume button wake up working?

filchi756 said:
Hello mate! Did you manage to get this volume button wake up working?
Click to expand...
Click to collapse
I did a little more ...yes...you need to build from source and check my git

Crostantin said:
I did a little more ...yes...you need to build from source and check my git
Click to expand...
Click to collapse
Ok thanks mate ,Sorry I'm not a coder or developer mate,i'm just a noob modder(following others guide to make fixes). I thought you followed or have guides around the forum to follow to make this mod work.

filchi756 said:
Ok thanks mate ,Sorry I'm not a coder or developer mate,i'm just a noob modder(following others guide to make fixes). I thought you followed or have guides around the forum to follow to make this mod work.
Click to expand...
Click to collapse
google is your best friend...yes some guide here, ask to some Dev and never give up :highfive:
...not so hard, needs time

Crostantin said:
google is your best friend...yes some guide here, ask to some Dev and never give up :highfive:
...not so hard, needs time
Click to expand...
Click to collapse
Ok thanks. I've been trying this mod for a long time but no success. Google is no help ,its always block in my location(China).Don't have stable connection of VPN( free version). Thankfully Xda developer is not block.Anyway thanks again mate.

filchi756 said:
Ok thanks. I've been trying this mod for a long time but no success. Google is no help ,its always block in my location(China).Don't have stable connection of VPN( free version). Thankfully Xda developer is not block.Anyway thanks again mate.
Click to expand...
Click to collapse
I m so sorry man...I can understand...btw, ask whatever you want...
xda works very well!!! :good:

Related

[Q]xxlsj how to add battery low notification?

hi i recently installed disaster rom v5.it work perferctly except there is no battery low notification
and i just wanna add it not flash a new costum rom
like this one i pic plz any one help
is that found on android plicy.jar or servie.jar or what!!!!????????
ayman16 said:
is that found on android plicy.jar or servie.jar or what!!!!????????
Click to expand...
Click to collapse
Firstly, you have an edit button, do not bump thread!
Second, wtf is with all the !!!!!?????? ? This isnt your devices official support forum, Nobody here has any obligation to answer you. When or IF somebody can they will although I would expect most people would simply ignore your topic because of the way you asked.
so ,any idea mr brain?????????
ayman16 said:
so ,any idea mr brain?????????
Click to expand...
Click to collapse
Yes, plenty thankyou.

[General]Android 4.4 KITKAT[by munjeni]

This is the General thread for this DEV thread........ LINK
So heres the thing by munjeni.... I am quoting it below....
Ok guys, that's enough by now. Lets try something with bluetooth. First of all I am lazy for researching for kernel with working bluedroid and need your help! But please, do not post links if you are not sure, better idea is be silent than posting rubbish, so I need next things:
1. first of all need information about device which have working bluedroid!
2. need link to the kernel source code which is used for these rom with working bluedroid!
3. someone need to analyse these kernel and give me link to the kernel bluetooth source code!
4. If you are 1000000000% sure about link to the these kernel bluetooth module source code THAN POST IT HERE, PLEASE DO NOT POST IF YOU ARE NOT 100000% sure !!! I have no free time to play with rubbish because I need 10000% working bluetooth kernel module source code bluedroid compatible because I want to analyse thrm and try to port/link them with Xperia curent kernel bluetooth module!!
OK? If someone have free time for researching them (and also have skills with building kernel and also understand what I need), please do it, I will try to port them! I am lazy for researching + porting in the same time because have no free time for doing that, but only if you give me right info I will not be lazy porting them! But if you give me not right info and I lose my free time with building these rubbish than I will stop support for Sola! So before you post something please double check them because development can not be done in one hour, development require precise information and also a lot of free time is required! Moving our thread from [rom] to the [development] so please do not post stupid things like "how to install"...blabla because I will report every thread to the moderators, our thread is dev thread from now! If you want support for rom please ask in general section, hope someone will help you!
Click to expand...
Click to collapse
So I request you guys to not litter the Dev thread with unwanted question...... Put all your queries in HERE and someone will help you out........
I am making this so that like in past because of such thing munjeni has left DEV for SOLA....... so its our call not to make that happen again......
For Fixes you can check this thread...
You can discuss whatever you want here as as long as it does not violate the rules of XDA and is related to TOPIC.........
I'm a new XDAer !Sorry about my english ! I'm already reply 11 posts , but i still cannot post in development area.
Now back on points here! I like your rom cm10.2_pepper-ota-eng.root_Build.1 very very much! It's the rom belongs to my sola!
Expecting bugs fix.
Bug lists:
-Calender .The CyanongenMod account cannot sync! Calender not work!
-Auto-rotate screen. When you canceled, the screen still rotate in any interface unless home screen.
-Stay awake. Not work.
-Data usage. Data usage cycle cannot choose!
-status bar abnormal, this only happened once!
Thanks for your wonderful work,great rom ! I will use this rom forever. Expecting new stable build! Come on bro!:good:
For calendar sync problem install stock calendar app from google play
hendrix_radek said:
For calendar sync problem install stock calendar app from google play
Click to expand...
Click to collapse
Yeah,I have installed google calendar.:fingers-crossed:
Problem
Hi, i try to install this ROM to my sola, but when i was tho reboot in CWM, by mistake, i choose to boot to bootloader.
I install Build.1
Now the phone dont reboot to anything. it dont even starts.
I try to reset with Vol up and power button for some time until it gives the three signs and nothing.
please, anyone can help me with this??
Thanks
Capucho#44 said:
Hi, i try to install this ROM to my sola, but when i was tho reboot in CWM, by mistake, i choose to boot to bootloader.
I install Build.1
Now the phone dont reboot to anything. it dont even starts.
I try to reset with Vol up and power button for some time until it gives the three signs and nothing.
please, anyone can help me with this??
Thanks
Click to expand...
Click to collapse
on+vol up (for 3 vibro its turn phone off) then flash kernel with fastboot mode
garynych said:
on+vol up (for 3 vibro its turn phone off) then flash kernel with fastboot mode
Click to expand...
Click to collapse
Thanks... i was able to restore to version 4.0.4...
now i have to do everything again.
Updates?
Is there a chance that we get the other builds too?
Is there any topic like this for the CM 10.1? I couldn't find any. Or can we discuss 10.1 here as well?
owlwood said:
Is there any topic like this for the CM 10.1? I couldn't find any. Or can we discuss 10.1 here as well?
Click to expand...
Click to collapse
For 10.1 see here
mccount said:
Is there a chance that we get the other builds too?
Click to expand...
Click to collapse
Yes we will surely have new builds.... bcoz munjeni wont let it go......
Anthrax said:
Yes we will surely have new builds.... bcoz munjeni wont let it go......
Click to expand...
Click to collapse
I really wait for the next one
Can Some one help me with what all bugs we have right now....
Changes in thread from 10.2 to Android Kitkat 4.4..........
Now discussion apart from development can take place here......
So, will somebodey start 4.4 development for sola?
Sent from my MT27i using xda app-developers app
I agree with u
There should a people helps to manage this thread
Make a bug list for every build and take it to the munjeni
Don't spam the dev thread and help to ease the job of developer
Wifi not working
Hi, just installed cm 10.2 on my lotus.
I dont if i am in the right thred , but is there a fix for wifi? or is it still not working?
and it doesnt import my google account? why?
yew0815 said:
I agree with u
There should a people helps to manage this thread
Make a bug list for every build and take it to the munjeni
Don't spam the dev thread and help to ease the job of developer
Click to expand...
Click to collapse
I agree with this idea.
owlwood said:
I agree with this idea.
Click to expand...
Click to collapse
@munjeni has started development for 4.4 for GO, as soon as he gets it booted he will port it to SOLA.......
Also this thread will help people report for bugs.... people who are testing can help list the bugs...... so that all the dev working can work on the bugs as on priority.......
Also should I change this it to general i.e. not only for SOLA....... please suggest.......
UPDATE: Just made it general thread for all devices so that DEV thread are not spammed......

can some one make This MOD for XT910 with Stock ROm ?

can some one make KitKat Style for stock 4.1.2 Rom ?
any Modder ?
Maybe with GravityBox module?
Saratoga79 said:
Maybe with GravityBox module?
Click to expand...
Click to collapse
can i use this http://forum.xda-developers.com/showthread.php?t=2316070 ?
I hope so. Give it a try and tell us!
EDIT: You also may try this apk:
https://play.google.com/store/apps/details?id=com.anttek.quicksettings&hl=es
s27moto said:
can i use this http://forum.xda-developers.com/showthread.php?t=2316070 ?
Click to expand...
Click to collapse
i test it and it's not working :crying:
Saratoga79 said:
I hope so. Give it a try and tell us!
EDIT: You also may try this apk:
https://play.google.com/store/apps/details?id=com.anttek.quicksettings&hl=es
Click to expand...
Click to collapse
i test it and it's not bad but i think it has one bug notification do not stop full down only half
cheek screen shot

			
				
Gravity Box should do the job. Otherwise Biotik is working on a 4.2 bar style mod for stock rom - but I don't know when it will be ready. Please don't PM him o sth.. When he has done, you will find it
It's not that easy to port this into stock rom because we cannot compile stock rom from source. It needs a lot of work and w/o smali editing it's much more diffcult to realize. So it could take some time..
Why not just using a KitKat rom??? SlimKat 3.1 is fully stable! You can select to use whether its original kernel, JBX 3.0.8 version or JBX 3.0.31 kernel - if you like many options for tweaking.
Ive tried porting from other device, it works but so buggy and laggy when pulling up/down the notification window, some toggles dont work. And the look is not so good.
Hello me!! Its me again!!
Still needs some works....
Hello me!! Its me again!!
Here is how it looks, sorry to post sceeenshot in different places, cant do in one on mobile..
Hello me!! Its me again!!
demonshouter said:
Here is how it looks, sorry to post sceeenshot in different places, cant do in one on mobile..
Hello me!! Its me again!!
Click to expand...
Click to collapse
U got it? I failed and tried a few times! Great work!
Tapped from my RazR
Well, I think I made something . but its not working well...its so laggy on pull....I messed up with my lappie and can do nothing right now....will try to fix my comp first and try to figure it out once again.
Thats on your systemui, the one you gave me....cant do it on mine....
Hello me!! Its me again!!
demonshouter said:
Well, I think I made something . but its not working well...its so laggy on pull....I messed up with my lappie and can do nothing right now....will try to fix my comp first and try to figure it out once again.
Thats on your systemui, the one you gave me....cant do it on mine....
Hello me!! Its me again!!
Click to expand...
Click to collapse
Oh, good luck with ur computer!
Tapped from my RazR
DumbleCore said:
Oh, good luck with ur computer!
Tapped from my RazR
Click to expand...
Click to collapse
I ll send u the apk. Maybe you could do something with it.
Hello me!! Its me again!!
demonshouter said:
I ll send u the apk. Maybe you could do something with it.
Hello me!! Its me again!!
Click to expand...
Click to collapse
Alright, thanks, u have done this by this tutorial from theme section, right?
Tapped from my RazR
DumbleCore said:
Alright, thanks, u have done this by this tutorial from theme section, right?
Tapped from my RazR
Click to expand...
Click to collapse
Yes, thethread tittle is 4.2 status bar wirh lidroid toggles and volume sliders
Hello me!! Its me again!!

Huawei Ascend G700 volume key wake up mod?

Hi!
Please, I wish to know if someone have some tip to get working the screen wakeup with the volume key for the Huawei Ascend G700!!
I recently aquired a this cellphone (Mediatek Quadcore 1,3 ghz 5" IPS screen), in my opinion a nice device for the bucks.
I come from a Huawei Ascend Y300, with the volume key wakeup mod in it (i must to thank the great help i received from the user VavanL in the thread http://forum.xda-developers.com/showthread.php?p=44264908#post44264908 about the volume beep in the screen unlock.
If someone can help me in this i will thank him a lot, cause is very annoying for me always unlocking the device with this little and weak power on button...I remember the key of the thing was this 3 system files
system/usr/keylayout/Generic.kl
system/usr/keylayout/querty.kl
system/framework/android.policy.jar
Thanks everyone!
Ok, first of all - what OS version you have(4.2 perhaps)
And second - where file links, man... Maybe I know how to help you
VavanL said:
Ok, first of all - what OS version you have(4.2 perhaps)
And second - where file links, man... Maybe I know how to help you
Click to expand...
Click to collapse
Hi VavanL!!!!!!
Long time i see you!
Sadly the G700 (great device by the way) is stuck in android 4.2.1 (waiting to mediatek free the code for the soc).
I see in the mod for the Y300 some devs add the line "WAKE" on the volume key.....but, im stuck with the android_policies.jar, i dont know how to modify them.
s
I add my untouched files!! Friend, i hope u can do your magic with it. (i have to add generik and qwerty as a rar cause dont let me to upload normally, decompress please).
Hi, pal!
Sry, but You have odexed rom - need to deodex it for future editing
VavanL said:
Hi, pal!
Sry, but You have odexed rom - need to deodex it for future editing
Click to expand...
Click to collapse
Oopps...i dont know what i do wrong... i just copy the files from the Cellphone to my pc and then attack it to thread
Tell me what i have to do...
Im so anxious waiting your responses i dont dare to move far away of the notebook :crying:.
There and there also guides how-to deodex stock rom, but it's a bit risky, you do all changes to your own responsibility!!!
VavanL said:
There and there also guides how-to deodex stock rom, but it's a bit risky, you do all changes to your own responsibility!!!
Click to expand...
Click to collapse
But there is no way i can send you the files without do this?
The android 4.2.1 from my cellphone is untouched and i just copy the files, i remember to send u the Y300 files in the same way..
I dont have this kind of knowledge to do what the guide says...
Anyway pal, many thanks for all your responses, u are great!
I guess my G700 stays as it is.
...it's the way to edit android.policy file...Also you may flash already-deodexed custom rom for your phone
VavanL said:
...it's the way to edit android.policy file...Also you may flash already-deodexed custom rom for your phone
Click to expand...
Click to collapse
So the best way would be to put a "custom rom" and so this way i can send to you the correct files dont you?
Uffff..... i read is dangerous the deodexing, but im unable to find custom rom for the G700.....
Hey pal, u are the one, then i try to locate first some custom recovery and a proper custom rom.
On my way!
go on, man
VavanL said:
go on, man
Click to expand...
Click to collapse
What do you think about this?
http://forum.xda-developers.com/showthread.php?t=1373131
Edit: Is ICS..... keep searching
if I'm right ,it's only for ICS roms, while you have JB
VavanL said:
if I'm right ,it's only for ICS roms, while you have JB
Click to expand...
Click to collapse
Yes duda, u are right.
By the way, im absolutely unable to find any custom recovery or roms.
Seems that phone is a ghost....
I know one place,but it's russian forum.. If U have good translator - here is a thread
VavanL said:
I know one place,but it's russian forum.. If U have good translator - here is a thread
Click to expand...
Click to collapse
yes im tryng to understand and translate!
thanks again.
Well....i just started to do step by step of the guide, but it turns incomprensible in some parts (due lack the bad translation done by google)...
Can i ask u a favor? Could you do some little guide when do you have some free time?
I gladly wait for it all the time you need..
I see they solved the "bootlop error" who many people has when they put the custom recovery.
Would be great if you can help us (there is so much people in the Htcmania.com forum waiting for a clear guide to install some Custom Firmware in there) and nobody do it until now as we can find.
U are the man pal... (we are spanish).
ok, try it later
---------- Post added at 10:38 PM ---------- Previous post was at 10:28 PM ----------
and what exactly model of G700 you have
G700-T00
G700-U00
G700-U10
G700-U20
???Turns out, it's very important
VavanL said:
ok, try it later
---------- Post added at 10:38 PM ---------- Previous post was at 10:28 PM ----------
and what exactly model of G700 you have
G700-T00
G700-U00
G700-U10
G700-U20
???Turns out, it's very important
Click to expand...
Click to collapse
G700 -U10,...
Buff...all around this device is so criptic..
Mani thanks for bring your knowledge here dude.
gothico30 said:
G700 -U10,...
Buff...all around this device is so criptic..
Mani thanks for bring your knowledge here dude.
Click to expand...
Click to collapse
Hi, diving in the web i find this..
http://customizegadget.blogspot.com.es/2014/05/huawei-g700-u10-how-to-install-cwm.html
What do you think?
Is so weird, this blog is the only translated method i was able to find....but im a little doubtfull.
It's very similar to that one i found in russian forum.
But they insist, that you must flash stock rom from official site first.
WARNING! For owners of the U10 and U20!!! Before you install a custom recovery compulsory flash stock firmware through "three keys"(Push both volume up (+) and volume down (+) plus Power Switch)!
Otherwise you will get bootloop!!!
Click to expand...
Click to collapse
And then flash recovery

How do I port POCO's MIUI Camera to Custom ROM

What things will I require? What know how? Is someone ready to help?
AEonAX said:
What things will I require? What know how? Is someone ready to help?
Click to expand...
Click to collapse
The fact you are asking this question signifies you have no idea about porting
Negi9 said:
The fact you are asking this question signifies you have no idea about porting
Click to expand...
Click to collapse
One can always learn. Right?
I am currently using Resurrection Remix. I have already taken a TWRP backup of original MIUI rom. what else will i require?
AEonAX said:
One can always learn. Right?
I am currently using Resurrection Remix. I have already taken a TWRP backup of original MIUI rom. what else will i require?
Click to expand...
Click to collapse
It's not that simple. You'll need to learn a lot about coding in order to be anywhere close to doing it. It's not copy pasting stuff here and there or installing from a backup.
Negi9 said:
It's not that simple. You'll need to learn a lot about coding in order to be anywhere close to doing it. It's not copy pasting stuff here and there or installing from a backup.
Click to expand...
Click to collapse
I think being a software engineer will help mostly :fingers-crossed:
Why would you wanna do that when we have Gcam
Slow motion video, portrait mode and other things. Some body please provide some guidance.
AEonAX said:
Slow motion video, portrait mode and other things. Some body please provide some guidance.
Click to expand...
Click to collapse
Ok, seeing that you are pretty serious about this, contact this guy as he has experience in porting Mi A2 stock camera to custom roms
I hear you !
AEonAX said:
What things will I require? What know how? Is someone ready to help?
Click to expand...
Click to collapse
Since you're a noob, I can't think of anything easier than this for you
Go through the ports which are already available (like Mi A2) (must be xiaomi)
See what files the dev used to get the camera working on non-miui roms
To give you rough idea there will be xiaomi framework , some xmls, libs etc.
Try replicating those exact files from your stock firmware and create a flashable zip or directly paste em into root
Also try contacting the dev of that camera and see if he agrees to help you out !
Ask him if you face any trouble throughout.
Ignore people who are discouraging,
Today a noob, tomorrow a pro
Thanks a lot. I trialed and error-ed and came to same method you mentioned below.
blacklisted.rock said:
Since you're a noob, I can't think of anything easier than this for you
Go through the ports which are already available (like Mi A2) (must be xiaomi)
See what files the dev used to get the camera working on non-miui roms
To give you rough idea there will be xiaomi framework , some xmls, libs etc.
Try replicating those exact files from your stock firmware and create a flashable zip or directly paste em into root
Also try contacting the dev of that camera and see if he agrees to help you out !
Ask him if you face any trouble throughout.
Ignore people who are discouraging,
Today a noob, tomorrow a pro
Click to expand...
Click to collapse
I learnt a lot, Got a little bit working port by myself. I will create a new thread with further details
AEonAX said:
Thanks a lot. I trialed and error-ed and came to same method you mentioned below.
I learnt a lot, Got a little bit working port by myself. I will create a new thread with further details
Click to expand...
Click to collapse
Bro can you give the link of the apk and instructions to install it.
SamyakJ said:
Bro can you give the link of the apk and instructions to install it.
Click to expand...
Click to collapse
https://forum.xda-developers.com/poco-f1/themes/port-t3879357
AEonAX said:
https://forum.xda-developers.com/poco-f1/themes/port-t3879357
Click to expand...
Click to collapse
Thanx bro
I'm glad I helped
AEonAX said:
Thanks a lot. I trialed and error-ed and came to same method you mentioned below.
I learnt a lot, Got a little bit working port by myself. I will create a new thread with further details
Click to expand...
Click to collapse
My Poco is arriving in 3 days, I might just test your port and solve a few problems after I unlock my bootloader.

Categories

Resources