Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[PORTING] [NEED HELP] [N] Gravitybox for Nougat Unofficial

218 posts
Thanks Meter: 99
 
By gkillershots, Senior Member on 2nd August 2017, 03:50 PM
Post Reply Email Thread
outdated

go to here


Gravitybox for nougat
removed the "gravitybox framework not responding" error on api 24 and 25
also re-branded the app as gravitybox for nougat

tested working:
battery (kind of)
center clock + day of the week
data transmission Monitor
power setting menu
skip tracks with volume buttons
clock settings
you tell me...

Not working:
Stock battery with percentage
Quick Settings
Lock screen shortcuts
Setting of the optional button
deactivate network type indicator in status bar
Navigation bar tweaks (BRICK WARNING!)
you tell me...

sources for helpers

download links for sdk 24 and 25 are the same

Code:
uninstall the old one, otherwise it'll give "Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.ceco.nougat.gravitybox attempting to redeclare permission gravitybox.permission.UNLOCK already owned by com.ceco.marshmallow.gravitybox]" error
Since I won't have a lot of time to port everything (btw, I'm already late for one thing right now) so I expect the community to help.

That's why I posted the source at github, this way anyone can collaborate to the code.

Anyone that helps me will get credit too, just claim it someway I can see it

brick fix by @photoguy29

To fix this: Reboot to TWRP recovery and navigate to: Advanced>File Manager>data>data>com.ceco.nougat.gravitybox

Once you are in the com.ceco.nougat.gravitybox folder, in the bottom right corner is a folder Icon. Tap that icon>delete

This will delete all the changes you made in Gravitybox, and upon reboot, the System UI functions properly. The gravitybox apk will also still be installed, so you can go and re-activate your tweaks that WERE working.


credits to @C3C076 creator of gravitybox
Attached Files
File Type: apk GB_N_gk.apk - [Click for QR Code] (4.73 MB, 6018 views)
The Following 11 Users Say Thank You to gkillershots For This Useful Post: [ View ] Gift gkillershots Ad-Free
 
 
2nd August 2017, 06:21 PM |#2  
eta82's Avatar
Senior Member
Thanks Meter: 29
 
More
For me works:
  • battery
  • center clock + day of the week
  • data transmission Monitor
  • power setting menu

Not works:
  • Lock screen shortcuts
  • Setting of the optional button
The Following 2 Users Say Thank You to eta82 For This Useful Post: [ View ] Gift eta82 Ad-Free
2nd August 2017, 06:21 PM |#3  
Account currently disabled
Thanks Meter: 39
 
More
No need for gravity box we already have rom controls. And how are you getting it to work without xposed?

Sent from my SM-G935T using Tapatalk
2nd August 2017, 06:36 PM |#4  
C3C076's Avatar
Recognized Contributor
Flag Bratislava
Thanks Meter: 20,072
 
Donate to Me
More
Why that rush?
I have already migrated like 90% of the module to Nougat after working for almost 2 weeks on it non-stop. Currently QS management is undergoing redesign and there's still quite a lot of work left. It's still a work in progress - not suitable to be made available to the masses and also, I am still not convinced whether to release something as there is no official Xposed Framework. I'll see.
The Following 17 Users Say Thank You to C3C076 For This Useful Post: [ View ] Gift C3C076 Ad-Free
2nd August 2017, 06:46 PM |#5  
eta82's Avatar
Senior Member
Thanks Meter: 29
 
More
@ C3CO76
Because I like it a lot your gravity box

Wysłane z mojego Moto G (4) przy użyciu Tapatalka
2nd August 2017, 07:02 PM |#6  
C3C076's Avatar
Recognized Contributor
Flag Bratislava
Thanks Meter: 20,072
 
Donate to Me
More
I'm glad you like it. But then it doesn't make any sense to release a version that is far from working when you could keep it for personal use.
Feel me?
The Following 2 Users Say Thank You to C3C076 For This Useful Post: [ View ] Gift C3C076 Ad-Free
2nd August 2017, 08:22 PM |#7  
Senior Member
Thanks Meter: 76
 
More
@C3C076 i guess people love GB so much
This ported xposed for N situation is confusing but people are desperate to have xposed and their beloved modules even if its partially working
The Following 2 Users Say Thank You to lover For This Useful Post: [ View ] Gift lover Ad-Free
2nd August 2017, 10:07 PM |#8  
Member
Flag Hong Kong
Thanks Meter: 3
 
More
Can't live without gb's pie control
3rd August 2017, 04:24 AM |#9  
gkillershots's Avatar
OP Senior Member
Thanks Meter: 99
 
More
Quote:
Originally Posted by C3C076

Why that rush?
I have already migrated like 90% of the module to Nougat after working for almost 2 weeks on it non-stop. Currently QS management is undergoing redesign and there's still quite a lot of work left. It's still a work in progress - not suitable to be made available to the masses and also, I am still not convinced whether to release something as there is no official Xposed Framework. I'll see.

sorry, I didn't knew it, I looked into the git and thought that no one would do it anymore (because nougat had been here for a long time)

but still a lot of people are just crazy like me that wants it even if sacrifices need to be made, just like people wants an unstable xposed rather then nothing, they want the gravitybox

and no one uses every tweak available like me, I just use one or two and both works

I'm glad to see you haven't abandoned the project, I wouldn't be able to do it like you

and please release it, for people like us, there are 66422 downloads on the xposed for nougat thread (counting the xposed installer app because it's the same for both api levels and only one version) not counting people like me that downloaded it from the alternate link.

sort of 66422 persons waiting for gravitybox to be released even if it breaks something

and not everyone knows how to release a version that is far from working when you could keep it for personal use, I learned how to use xposed 3 years before learning something that would allow me to do this port (and it still sucks)
3rd August 2017, 08:06 AM |#10  
C3C076's Avatar
Recognized Contributor
Flag Bratislava
Thanks Meter: 20,072
 
Donate to Me
More
Yes, I understand. Hard to tell what comes next at this time. I will be taking decisions after I am happy enough with the migration results and the results of internal testing on various device/OS combinations I have at hand.
The Following 3 Users Say Thank You to C3C076 For This Useful Post: [ View ] Gift C3C076 Ad-Free
3rd August 2017, 11:29 AM |#11  
Member
Flag Lyon
Thanks Meter: 8
 
More
not working : deactivate network type indicator in status bar
The Following User Says Thank You to fouinegtx For This Useful Post: [ View ] Gift fouinegtx Ad-Free
Post Reply Subscribe to Thread

Tags
[n], for nougat, gravitybox, nougat, xposed

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes