[Module][Development] Double Tap to Wake v2.0 [Guide too] - Miscellaneous Android Development

Hi fellow xda members!
I'd like to share with you something that I had been very curious about.
Well if the title hasn't already given it away, it's the generic version of Double Tap to Wake (for almost all devices)
And what's different is that I've studied, refactored and restructured the code myself to be more efficient, faster, and shorter.
As a result, I've decided to bump this good ol' kernel module to V2.0
First of all, huge thanks and respect to Dennis Rassmann who gave us the original dt2w v1.0 kernel module (for almost all devices)
Here's the precise changes :
1) Restructure (and rewrote parts) dt2w main function code.
2) Remove useless variables. It is possible to achieve the same thing with less space.
3) Rewrite the distance formula. Change it from rectangular linear to circular radial.
4) Remove unnecessary checks which are either always true or never reached.
5) Reduce space and time complexity for the algorithm.
6) Use vibrator call method AFTER queuing the pwr_on so that there is no delay between calling the vibrator and the power button emulation.
(Step 6 explained : Calling power method before vibrator is a UX tweak. When we call power method first, it queues the power command to the sched (or so I think what queue does) and we know the screen doesn't wake up immediately. So, while the screen is in the mid of waking, we next run the vibrator method. This causes the vibrator to react after the screen on is triggered, and that creates a feeling of spontaneity that the vibrator is running while the screen is turning on. In version 1, the vibrator starts vibrating before the display is even queued. This feels like it takes longer (although it doesn't, it's just a UX placebo))
Click to expand...
Click to collapse
Result : Final dt2w main function is about half the length of earlier one, and more effective.
Here is the source for DT2W v2.0 - https://github.com/tanish2k09/Doubletap2wake-2.0
Guide about how to add it :
---It's all already written in the README.md in github, it's better to check that instead---
Code:
Follow these steps if you have the good ol' v1.0 from dev Dennis Rassmann :
(For feasibility, I've added port-dt2w-functions.txt with all the necessary code)
(Also note : doubletap2wake.c has been referenced as dt2w.c just because I'm too lazy)
1) Replace the whole "detect_doubletap2wake" function from v2.0 to v1.0
2) Remove "calc_feather" function from v1.0 and place "calc_within_range" function from v2.0
3) Define "DT2W_RADIUS" in the beginning of dt2w.c, along with other defines. Copy from port txt.
4) Remove "DT2W_FEATHER" definition from the defines.
Optional step 5: Change Version, author, desc, etc. Find "/* Version, author, desc, etc */" and replace next 4 lines from port file.
6) Remove the third argument from all "detect_doubletap2wake" calls. Usually it's "true"
7) That's it! You're good to compile it now.
8) If it works nicely, make sure to give me a thanks on xda thread :D
Follow these steps if you don't even have the good ol' v1.0 from dev Dennis Rassmann :
1) Get dt2w-v1.0 by Dennis Rassmann and compile it successfully first.
2) Follow the steps in above part.

Note for mods :
In case you find this thread to be in the wrong subforum, please move it to the right section while informing me.
In case you find anything inappropriate according to xda forum rules, please contact me before taking any actions so I have a chance to correct any and all mistakes I might have commited.
I see @xanthrax is a forum moderator here. Please be kind enough to review the thread.
Edit : xanthrax moved the thread to appropriate subforum already and reviewed the thread and confirmed nothing wrong here.

It's available for Redmi Note 3 MTK?

GreatStorm said:
It's available for Redmi Note 3 MTK?
Click to expand...
Click to collapse
This is a general module.
The steps I have provided will work for all mtk phones.
Just ask any of your experienced kernel developers (or you yourself, if you're one of the Devs) to check my thread (and the GitHub source readme) to add it.
If you already have dt2w, this will work 100%
Feel free to contact me for any doubts. :laugh:
In some time I'll also post trace2sleep (or t2s) module.

any link for dt2w v1.0 kernel module ?

sougata7684 said:
any link for dt2w v1.0 kernel module ?
Click to expand...
Click to collapse
Unfortunately you'll have to search for GitHub commits "add dt2w".
I couldn't find a generic all-driver file itself, so you need to find the one with your driver.

ChinmayDalal said:
I saw some commits on GitHub on 3.10.xx kernels, but my device's dev told me that he already tried porting from 3.10.xx kernels.
He needs 3.18.xx kernels to port.
(MT6737)
Click to expand...
Click to collapse
This thread is just for dt2w module.
The device must have a working touch panel support for gestures before adding v2

module working on Samsung phones
Does this module work on any Samsung phones? I've got an s7 running Nougat via "The Galaxy Project" rom, the SuperKernel, and i'd really like this feature. The processor is an exynos8890.
I'd love to have this feature, miss it from my old g2.

tech927 said:
Does this module work on any Samsung phones? I've got an s7 running Nougat via "The Galaxy Project" rom, the SuperKernel, and i'd really like this feature. The processor is an exynos8890.
I'd love to have this feature, miss it from my old g2.
Click to expand...
Click to collapse
Ask a kernel developer for your device to do that and maybe link him this thread.
Or, if you are one yourself, check the instructions on the linked GitHub page. It's really not difficult at all if you've had since experience with kernels.

doubletap2wake
Where can I get the doubletap2wake v1.0 code that seems like a prereq?

tech927 said:
Where can I get the doubletap2wake v1.0 code that seems like a prereq?
Click to expand...
Click to collapse
I guess you can find it in almost every custom kernel on GitHub, according to your chipset of course.
The most important part is configuring the touch panel to be active and receive input even with screen off. That, however, should be no difficulty for an experienced kernel maintainer

Sent from my Samsung Galaxy J1 Ace using XDA Labs

Hi......may I know if this works with Sony XA1 Ultra? It uses Helio P20.......

eddie24902005 said:
Hi......may I know if this works with Sony XA1 Ultra? It uses Helio P20.......
Click to expand...
Click to collapse
If you already have a custom kernel with dt2w working then this upgrade will work too

tanish2k09 said:
I guess you can find it in almost every custom kernel on GitHub, according to your chipset of course.
The most important part is configuring the touch panel to be active and receive input even with screen off. That, however, should be no difficulty for an experienced kernel maintainer
Click to expand...
Click to collapse
OK I'm new to android kernel development and I'm having my mind melt trying to add the v1 code.
Could you please write a tutorial or make a complete d2w api without needing to hunt for codes. Thanks.

xDoge said:
OK I'm new to android kernel development and I'm having my mind melt trying to add the v1 code.
Could you please write a tutorial or make a complete d2w api without needing to hunt for codes. Thanks.
Click to expand...
Click to collapse
I could and I would if I had time. Just rolled into the fall sem so I'll be a LOT busy. Sorry

tanish2k09 said:
I could and I would if I had time. Just rolled into the fall sem so I'll be a LOT busy. Sorry
Click to expand...
Click to collapse
Why don't you rollback with sem reset hard.

Sorry for double post. XDA app messed the post.

xDoge said:
Why don't you rollback with sem reset hard.
Click to expand...
Click to collapse
Gesendet von meinem SM-G950F mit Tapatalk

may I ask. My device already have featur dt2w/dt2s and sweep up to wake on settings (in Zenmotion). But, unfortunately when I use custom rom this feature gone. Can I use this file to bringing back that feature (dt2w/dt2s)? or maybe adding SU2W too? please help. My device is X00RD

Related

[APP] [Alpha-03] - xCharge - SE Reboot Options for Xperia - http://xcharge.sf.net

Thanks to my good friend DooMLoRD for this breakthrough, Bin4ry & Androxyde for developing and maintaining FlashTool, the ability to drop from the desktop into Recovery on the X10 is now just a widget download away.
The original thread has since evolved and is worth looking at to understand the concepts, some history and challenges faced with thanks to all the XDA developers and forum members who have given help and time, in making this possible. This evolution, would not be at all possible without the DooMLoRD and his work and efforts and contributions for Xperia owners has made many owners very happy, the [Universal] for ALL ROMs / ALL Xperia Android devices with any Recovery is where it all began and now, the ever popular app by Koush application Rom Manager , available for the Sony Ericsson Xperia.
Requirements:
Any of the following supported devices
Phone needs to be rooted with Busybox installed
Any Working Version of Recovery
Supported Devices:
Xperia X10
Xperia X8
Xperia X10 Mini
Xperia X10 Mini Pro
How-To:
1: Download the update.zip (its flashable via recovery) and save on sdcard
2: Reboot into recovery and flash the update.zip
3: Reboot phone
The app is a widget and does not have a App Drawer icon yet! (coming soon), once u enter home screen long press on blank area to add widget (this requires 1x2 icon space).
1: Locate "Xperia Reboot Options" and select it
2: Click on the app icon (X) to lauch widget/app
3: Select what reboot option u want
Click Process
Allow superuser prompt for permissions... click "Allow"...
DONE!!!
reserved
Release:
[19-May-2011] Xperia Reboot Options v1.0.0 - Initial release
Downloads:
v1.0.0: xperia_reboot_options_v1.0.0.zip
reserved
finally released...
still lots of work to be done...
MrHassell lets get those SED cmds into JAVA...
deserved for its release
thaaaanks
A big step to us
Waiting for the next update....
It can not boot into xRec when using z's kernel
cheers,
L
MrHassel, Just saw your message, I think I should now work on the SF repo, right?
Are the todos here all the needed?
zoz33 said:
MrHassel, Just saw your message, I think I should now work on the SF repo, right?
Are the todos here all the needed?
Click to expand...
Click to collapse
hi zoz33,
i dont know if MrHassel updated the sources after our discussions but basically we are trying to implement SED commands based on v3 (reboot_into_rec_univ_xperia_v3.zip) of add-on_installer.sh script from here... in java..
may be he will upload the latest files in a few hours...
Zoz33 sorry for delay response, Australian time zones.. Had to undo something yesterday, working at cross purposes on mount points and ended up with a buffer problem. Using Apache Commons isn't working nice due to fifo..
Stream EDit (sed) is much better way as DooMLoRD said. So I will be modifying and reissue sources now.
zoz33 said:
MrHassel, Just saw your message, I think I should now work on the SF repo, right?
Are the todos here all the needed?
Click to expand...
Click to collapse
Moved to proper forum.
do I still need to edit the scripts before installing the widget?
or
just the widget only?
thanks.
great work guys
Nice.
What exactly do you want graphics-wise?
*when complete* provides alternative to scripts
@junixquiaoit good question. This app is not ready for release, it is still being developed. The reason I posted to the developer forum is that I have put this together based on DooMLoRD's scripts, with his assistance and guidance.
Mr Clown relocated rightly, as this is an APP but still in development and not ready for public testing just yet - this maybe causing some.. you have my apologies.
For now perhaps it is best to stick with scripts. When ready the widget / app could potentially replace scripts, although both will be maintained by DooMLoRD and myself.
I will continue to provide assistance and support for as long as I am able, life hopefully
junixquiaoit said:
do I still need to edit the scripts before installing the widget?
or
just the widget only?
thanks.
great work guys
Click to expand...
Click to collapse
AyDee said:
Nice.
What exactly do you want graphics-wise?
Click to expand...
Click to collapse
Hi Aydee Great to hear from you, presently it has one single Transparent PNG, 72 x 72 px - created in Adobe Illustrator CS5, no filters or effects, attached at the top of this thread.
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html
Ideally it should continue to have a 72x72px graphic, for the App drawer and a very small icon for the Widget selection panel and desktop.. HOWEVER what would be really nice imho is to have a few options, one as a spanning 4 column 2 row desktop widget, which can display important state of chargemon (modified / stock), recovery version (ie; xRecovery 0.3 / 0.2 etc..), root active, uptime or some system info..
Best Regards,
MH
Hi all,
sorry to pull a noob on this one put I cannot get this widget working? Can anyone take me though a quick dummy-guide after dl? I tried installing with custom zip, and nothing, can't install...no idea.
X10 Mini E10i Gigglebread V6
phoneyericsson said:
Hi all,
sorry to pull a noob on this one put I cannot get this widget working? Can anyone take me though a quick dummy-guide after dl? I tried installing with custom zip, and nothing, can't install...no idea.
X10 Mini E10i Gigglebread V6
Click to expand...
Click to collapse
Your post will be Ignored because you failed to read & understand any of the posts!!!
P.S
ONLY for Developers!
you know what...
I guess a development thread (hosted with official open source hosting) isn't a development related?
As it turns out neither was the development of Zdzihu's kernel, that he released on April 1.
All I've done amounts to nothing. Just create an open source development project at SourceFoge, prepared a guide for zoz33 (with a lot of redundant java code, which is obviously just an APP or theme or something)... the fact you can't install it means nothing I guess.
@Mr Clown - as this is apparently no longer an active development and isn't any longer a part of the development thread. Why not just remove it altogether?
It's never going to get released when it's sitting in an App or Theme thread, without any input from developers.. so just delete this ok?
I'll do the same with my XDA account and everyone can just be happy.
Cheers.
MrHassell said:
I guess a development thread (hosted with official open source hosting) isn't a development related?
As it turns out neither was the development of Zdzihu's kernel, that he released on April 1.
All I've done amounts to nothing. Just create an open source development project at SourceFoge, prepared a guide for zoz33 (with a lot of redundant java code, which is obviously just an APP or theme or something)... the fact you can't install it means nothing I guess.
@Mr Clown - as this is apparently no longer an active development and isn't any longer a part of the development thread. Why not just remove it altogether?
It's never going to get released when it's sitting in an App or Theme thread, without any input from developers.. so just delete this ok?
I'll do the same with my XDA account and everyone can just be happy.
Cheers.
Click to expand...
Click to collapse
oh come on dude....
dont get disheartened...
we will complete this soon...
Mr. Clown said:
Moved to proper forum.
Click to expand...
Click to collapse
Remove altogether thank you sir.
Devs required
@ALL
this work will be really helpful to the Xperia community as it is laying a foundation for anyone to use this platform to create his/her own apps... we are already sharing the code with the community @ http://xcharge.sf.net and would really appreciate many more devs to help out with various aspects of this project...
firstly i want to make a few things very clear... this is a purely development thread where-in all parts of the app have not yet been finalized and work is still goin on in its development...
all the files for this are openly available at SourceForge http://xcharge.sf.net
@MODERATORS
i request you to please move this thread to X10 Development Section so that the intended audience (developers & designers) can see it and help us out...
we need help from devs/designers to create graphics for this application/widget...
we need help from devs for improving on the programming parts and also on creating newer apps/widgets based on this...
we have a few ideas for additional apps/widgets based on this:
FreeXperia Recovery installer - currently it comes preinstalled on CM7 roms by jerpelea & also can be installed thru flashtool v0.2.8 and above, but doesnt have a installer like xrecovery had
Battery/Performance tweak toggle app - like the tweaks mentioned here: http://forum.xda-developers.com/showthread.php?t=1005027
Custom kernel selection on reboot menu - now that the bootloader has been bypassed newer custom kernels will be released... wouldnt it be great to have an app to select which custom kernel u want to reboot into? we can have overclock/undervolt/etc kernels...
Multi-boot menu - slightly far fetched and will need help from the devs who create the ROMs
Having this in apps & themes, is like having a car frame, a few boxes of nuts & bolts, 4 wheels and a horn.. then saying "let's go for a drive!".
That is obviously how some people roll.. so anyway.. since mostly all thread's are getting hijacked, you're going to see less postings from me. If any - thanks to J.Anderson this place is like a ghost town and the moderator's have become annoyed so much, they don't want to see new development projects, just finnished results. Fair enough..
You can't install this. It is not an app. Where it belongs is a different forum, maybe even a different website.
For anyone interested in the current state. Finnish widget and will post back when tests complete.

[ROM][STABLE][J600G]Revolution S9 ROM

Revolution ROM for J6 (2018)
It all starts here
Code:
Your warranty is now void.
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about flashing this zip file
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you. HARD!
DO NOT TAKE MY STUFF WITHOUT PERMISSION!
YOU WILL BE REPORTED BY DOING SO
Introducing, my very first direct S9 port!
So, you decided to buy this phone, huh? Maybe you had no choice, maybe you only saw "octa-core chip" and jumped all over it, or maybe you just assumed that you would just download ROMs from XDA to make this device better since all other devices contain ROMs on this forum by the truck loads.
Then you get to the sad realization that generally speaking, this phone is really bad and no developer would want to buy this 2018 device with a 2016 processor and barely any sensors lol
Well, I hope I can at least ease a bit of that pain with this ROM. I am no master developer, but at least I know my development a-b-c's... but just barely.
So, it is only fair to warn you the following (aside from that giant disclaimer at the beginning of the thread lol):
If you are expecting this device to run as smooth as an S9 phone, have the expectation to download this ROM to improve your battery life by 50% , are expecting this ROM to run Fortnite at the highest settings possible as an actual S9 would or even expect the Benchmark scores like Antutu to increase, THEN STOP! STAY IN STOCK ROM!
AS I STATED, I AM NO MASTER DEVELOPER, MY KNOWLEDGE ONLY EXTENDS TO FRAMEWORK EDITING, I HAVE NO KNOWLEDGE ON KERNEL TWEAKING
And even if a dev tweaked the kernel to run faster, I doubt any of the above would happen, lower your expectations you're not dealing with a high end device
OK, rant out of the way. Let's get started!
Supported variant: SM-J600G (I do not know if this will run on any other variant, if you decide to try please give me feedback so I can update post)
Features:
*S9 Firmware
*Edge panels
*Edge lighting
*Smart select
*GIF recording
*Smart stay
*S9 Multiwindow (Pop-up view action)
*Open notifications in multiwindow mode
*Smart capture
*Scroll capture
*Infinity wallpapers
*And I think for the most part, all the features that the J6 offers by default
*More to come, of course
ROM Info:
*Based on S9 firmware G960FXXS2BRJ6
*Deodexed
*Zipaligned
*Busybox
*Slightly debloated
*Rooted with Magisk
Bugs:
*Mobile Hotspot does not work
*Phone lags at the initial boot due to being rooted with Magisk. To fix this, you just have to reboot upon getting to welcome screen
*Resolution looks a bit blurry. To fix this, just go to Settings->Display Settings->Resolution and change resolution to WQHD+, apply and the change back to HD+ and apply. Then the bug is fixed.
*This is initial release, expect bugs other than these mentioned. Please report if you find more
*AOD: Does not work at the moment
*Currently does not work with 2 SIMs inserted [FIXED]: Thanks for tutorial to BlackMesa123 here and thanks to @corsicanu for discovery
Changelog:
*13/12/20108 V1.0*
Initial release
Download links:
Google Drive
More mirrors to come
Installation instructions
-Create full backup before trying
-Wipe system, data, cache and dalvik
-Install ZIP via TWRP
-Let it boot for aprox 20 minutes
-Once booted, select language in start up screen and reboot the phone
This is done to remove lag due to being rooted with Magisk
-Complete setup
-Enjoy
Special thanks!
@ananjaser1211 for sharing all his knowledge on S9 porting. Fixed a couple of major bugs because of his guidance. You are awesome, dude!
@Albe96 for all the help he gives me in general. I know I bother you too much and I appreciate your patience with me :highfive:
@malbert16442 For his tutorial on ROM porting which you can find here: https://forum.xda-developers.com/an...to-samsung-t3481114/post69145910#post69145910
@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@yash92duster For his thread and contributions to the Oreo modding scene. Check out this amazing thread: https://forum.xda-developers.com/android/general/guides-android-8-0-oreo-mods-thread-t3772017
@Grouxho For his tutorials and some MODs. I specially love the Free form from notification MOD he shared with us
@BlackMesa123 For his discoveries on RMM lock and his bypass zip. Read more about rmm here: https://forum.xda-developers.com/showpost.php?p=75360965
@ Samsung for the firmware
@ Team TWRP for their amazing recovery
@ To users like you!
If you feel I missed you, please give me a PM so I can add you
XDA:DevDB Information
Revolution S9 ROM for J6, ROM for the Samsung Galaxy J6+
Contributors
ShaDisNX255
ROM OS Version: 8.x Oreo
Based On: Samsung Experience
Source Code:
https://github.com/Albe96XDA/j6lte
(Thanks Albe, you rock!)
Version Information
Status: Stable
Current Stable Version: V1
Stable Release Date: 2018-12-13
Created 2018-12-14
Last Updated 2018-12-13
Join our Telegram group​
Code:
Check out the latest projects on our Telegram group, where we share our advancement on new things and try to help as best as we can.
For anything already released, please ask here in XDA
Link: Telegram Group​
How to report a bug/Ask for a change​
Over the small amount of time I've been doing my edits and shared them with the community, I've noticed something that seems to irritate me. I can't speak for all the developers on this forum, but I do edits/ROMs/PORTs/etc... to what I like. I don't work for anybody else but me. I share my work because it may have something of value to other people and/or some people may share the same taste as me on regards to what they want on a ROM.
That being said, that doesn't mean I will completely ignore what the community has to say.
First and foremost, it must be said, I am merely a beginner. I do not claim to be a professional developer that knows how to add everything, I am nowhere close and I learn as I go.
There are ways to ask for something and/or report a bug when it comes to ROMs, and this post is my attempt to try to explain how to (and how not to) report a bug in order to help me out as much as possible to try to fix something
You can also ask for something to be added, but there are also ways to ask for something
So, here we go
Keep in mind:
I do not add stuff that can easily be downloaded from the Playstore
I, myself, don't do kernel edits
I COULD remove stuff if NOBODY uses it
---REPORTING BUGS---​
How NOT to report a bug:
"SystemUI (or any app)is crashing, please help!"
"Instagram doesn't allow me to edit my post, what could be wrong?"
"My bank account app is not letting me do such thing"
These posts are sort of pointless as they only state something but I have no context on what could be causing it. Also, I can't really control (for the most part) third-party apps, so if you're going to ask about them this way, don't even bother
A slightly better way to report a bug:
"I clean installed the ROM and was working fine, after I installed Facebook and logged in, I immediately uploaded a photo and SystemUI started to crash. Can you look in to it?"
"I tried to install Black Neon theme (a link to it would work as well) and it was working fine until I tried to activate AOD (or anything else for some reason) and SystemUI (or any other app) is crashing, could you look in to it?"
"My bank account app doesn't let me take a screenshot of my accounts. I get a toast notification saying "Can't take screenshot due to security policy"
As you can see, this provides a bit more context and explanation on your current situation. This gives me a little more detail on trying to replicate the problem and hopefully could fix it by replicating it. Well, except for point #3 which is out of my hands for the most part (I think). If you include what kernel you're using would make everything better! Also any significant change that would require root (like xposed and or anything that modifies /system also needs to be informed for better results)
The BEST way to report a bug:
LOGCAT!!!!!!!!!!!!!!!!!!
Please learn the ins and outs of a logcat, this really helps a lot on finding what the problem is. Also, please give a brief explanation as the above examples when providing a log cat
---ASKING FOR STUFF TO BE ADDED---​
How NOT to ask for stuff:
On your next update, add iris scanner
You should add (app) on your next update
Hey, please add (app or feature) on your next update
No, I do not work for you. Even if you say please like the third example, that doesn't mean you're being polite. It still sounds like an order lol so you should probably rephrase your request.
How to ask for stuff to be added to my work:
Would you be so kind to add (feature) to your ROM, if possible?
Would it be possible to add this app to your ROM?
Please, can you add (feature) to your ROM, if it isn't much to ask?
See how politeness makes everything better? You're not demanding it, you're just politely asking to see if maybe it is within my grasp to add something. And if all request would be like this, I can assure you I'd try my best to add said feature
I hope this is useful to you or I at least hope that some people read it.
If not, I can just tell you to return to stock ROM, probably better than any ROM I put out anyway
Lol this is #3
Final reservation
Awesome work :good: glad we see more people interested in development. keep it up
J6 or j6+ ? And where could i get twrp ?
Amazing work bud, the ROM is truly awesome.
danicadanicadanica said:
J6 or j6+ ? And where could i get twrp ?
Click to expand...
Click to collapse
Normal J6, I've asked the thread to be moved
Is SM-J600G and SM-J600F same? Because i saw a built twrp which is SM-J600F could u post the recovery you used..
danicadanicadanica said:
Is SM-J600G and SM-J600F same? Because i saw a built twrp which is SM-J600F could u post the recovery you used..
Click to expand...
Click to collapse
It should be the same, but I can't guarantee it. An F user told me it runes fine
So how did u make it work you are J600G right ? Im asking for a twrp you used so that im confident to try im also J600G
danicadanicadanica said:
So how did u make it work you are J600G right ? Im asking for a twrp you used so that im confident to try im also J600G
Click to expand...
Click to collapse
Here is TWRP: https://forum.xda-developers.com/galaxy-j/development/recovery-twrp-3-2-2-0-galaxy-j6-on6-t3819751
Ok thanks feedback soon
You're doing great job.Keep it up!
Thanks for this rom. Will try it. Just Got my done back after screen repair so rmm lock still active.
Shouldn't this be in the development section?
ashyx said:
Shouldn't this be in the development section?
Click to expand...
Click to collapse
Yes, yes it should (but I need to post kernel sources and stuffs and I'm struggling to do that since its just stock kernel, but I'll get that sorted soon to get it fixed
Hope it comes one day with native black theme
I really appreciate your work.
Nice start, however I'm not port fn. More into other roms like valdius, tipsy, lineage, resurrection remix
KRiST0F said:
Hope it comes one day with native black theme
I really appreciate your work.
Nice start, however I'm not port fn. More into other roms like valdius, tipsy, lineage, resurrection remix
Click to expand...
Click to collapse
I am the complete opposite
I like the Samsung stuffs

[TESTING] JDI J1 touch lag fix

If you have a JDI display (what you can verify on MIUI via *#*#6484#*#* and on AOSP via "su [click enter] cat /proc/cmdline" command), you currently get a touch lag (limit) on every Oreo/Pie-based ROM (MIUI too). If you move your finger ultra slowly, the touch pointer stays until you move 2-3mm in distance, then it simply jumps. I really don't want to explain why it feels like crap, but even a single millimeter isn't a small unit on miniaturized computers which often need to be operated in detail (UI sliders, graphic editors, scrolling clickable elements).
So, if you happen to understand that and to already be pissed off, here you go: I built a kernel with the touchscreen firmware extracted by Luca Stefani https://review.lineageos.org/c/LineageOS/android_kernel_xiaomi_msm8996/+/197860 long ago, when Xiaomi still had it fixed. Sadly, the scorpio-o-oss source code drop (which is used on every AOSP Pie ROM) and any of the official Oreo MIUI builds no longer contain it.
Then here we go: so far, only one tester booted it for me and it was on Syberia ROM, while the image I link is made on top of LOS 16 trees. I want to test with few people before committing. Maybe it's too much of a hassle, but at least nobody will tell me it's dangerous or irrelevant.
Your mission is:
- test it
- don't be dumb to ask about anything explained in the thread
https://transfer.sh/12rbtB/lineage-16.0-20190725-UNOFFICIAL-capricorn.zip
For moderators: even if it's kernel, it's more of a mod and nothing with plans to be further maintained. If you really decide to move it, it's up to you, but to me, it wouldn't make sense.
It works! Thanks a lot!
Jdi
Current state: need to figure out why fp gets broken, as it turns out it is :| If I won't come up with any solution, I'll just build the kernel sometimes, for the people who hate this lag and couldn't use any ROM with it (like me). But I hope I'll fix it up.
Edit: Pie trees may be unfinished or requiring something special, because fp works properly with 15.1 build.
https://transfer.sh/7fHND/lineage-15.1-20181224-UNOFFICIAL-capricorn.zip
Build made on the current sources
https://transfer.sh/12rbtB/lineage-16.0-20190725-UNOFFICIAL-capricorn.zip
Would you make flashable file for twrp, so we could use it with other ROMs .. For example, I`m on Pixel 8.1 Final now ..
Regards
bmasgone said:
Would you make flashable file for twrp, so we could use it with other ROMs .. For example, I`m on Pixel 8.1 Final now ..
Regards
Click to expand...
Click to collapse
First test this build and then I'll link the commit sent to LOS gerrit.
j1505243 said:
First test this build and then I'll link the commit sent to LOS gerrit.
Click to expand...
Click to collapse
I'm not willing to flash a whole rom but curious to try - Could you provide your kernel patch (preferred) or a compiled kernel?
Did you get fingerprint working on Pie?
jamesd__ said:
I'm not willing to flash a whole rom but curious to try - Could you provide your kernel patch (preferred) or a compiled kernel?
Did you get fingerprint working on Pie?
Click to expand...
Click to collapse
Nobody tested the existing build yet, that's the only reason why I'm not pushing it to gerrit.
The source commit is here https://review.lineageos.org/c/LineageOS/android_kernel_xiaomi_msm8996/+/197860
sorry i dont know how to flash it, can u teach me to use it? jdi work on my phone and the touch lag is too bad.
sorry my english is poor

[ROM][OneUI][Pie][MAGISK][SM-J600G/F]Stock OneUI for J6

Stock OneUI Release for J6
So, a couple of days ago OneUI was released for the SM-J600F. I simply took the ROM and made it flashable via ZIP
This is JUST STOCK ONEUI """OFFICIAL""" for the J6, DO NOT EXPECT EXTRA FEATURES!
Also, I debloated it lol
BUT
I want to make something clear. If you have not read this and this allow me to summarize
Pie brings new locks to the table, something far worse than rmm lock. If you flash Pie officially, either via OTA or via Odin, these new locks will prevent you from rooting, as I understand it.
The workaround is to flash Pie but with Oreo BL.
BUT
We don't know how long that will keep working
Samsung can easily make Pie only boot with Pie BL.
So... for now... DO NOT UPLOAD YOUR BOOTLOADER TO PIE YET OR YOU WILL NOT BE ABLE TO ROOT OR FLASH CUSTOM BINARY ANYMORE!
And this is where this zip comes in handy!
This ZIP will not change your BL (it will keep your Oreo BL) and included is a kernel (Helios Pie kernel) that fixes small issues. Also, if anything were to go wrong, you still have TWRP to backup and restore, how awesome is that?
So, you have been warned!
Downloads:
Android File Host:
https://www.androidfilehost.com/?fid=1395089523397933484
Mega: https://mega.nz/#!5BEXVSgJ!I6ta7PQQFHFqF9b1i3QeE5pANf1lVmF_c87uS6p8vEI
OneDrive: https://1drv.ms/u/s!AjUnizekeauKhAHeYnt-lwr5YZDW
(I'll try to upload to GDrive and AFH soon, I promise)
Instructions:
-Create a backup (just in case)
-Wipe system and data
-Flash zip
-Reboot and wait 10 minutes
If after 10 minutes, it is still in logo, force a reboot (Hold VOL +, VOL - and POWER) and then the ROM will work
"Features":
-Official Pie!
-In theory, should not have major bugs
-Pre-rooted with Magisk
-Debloated
If you appreciate having Pie early (and rooted!) please consider a donation to ananjaser1211, who was kind enough to compile Helios Pie kernel without even having the device!!!
http://paypal.me/ananjaser1211
@ananjaser1211 for compiling Pie kernel for the J6... without even having the device! Amazing job!
@SuperR. For his Super R's Kitchen which you can find here: https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
@topjohnwu for Magisk
@ Samsung for the firmware
@ Team TWRP for their amazing recovery
@ To users like you!
XDA:DevDB Information
[STOCK][OneUI][9.0]Stock OneUI for J600 G/F, ROM for the Samsung Galaxy J
Contributors
ShaDisNX255, ananjaser1211
Source Code: [url]https://github.com/ananjaser1211/Helios_7870[/URL]
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Version Information
Status: Stable
Created 2019-04-03
Last Updated 2019-04-03
FAQ
[Q] My phone is stuck in bootloop/infinite boot, what should I do?
[A] It is normal for first instalation to take aprox 10-20 minutes on first boot, let it sit for a little bit
[Q] Even after 20 minutes, my phone is still in a bootloop/infinite boot, what can I do?
[A] It is possible that your previoius Android setup is conflicting with this new setup. Please, do the following:
1. FORMAT DATA (not WIPE, FORMAT!)
2. Try the instalation of the ROM again
[Q] I've found a bug, what should I do
[A] Please read the "Bugs" section of the thread to see if your bug has been reported, if it hasn't, please let me know exactly what the problem is so I can take a look
[Q] My phone isn't rooted
[A] This ROM has Magisk pre-packaged. If you do not see Magisk Manager, just download the latest version of it in xda
[Q] Something bothers me and I want it fixed/changed
[A] Please, kindly make a request and if it's within my grasp, I'll try to fix it. Just, don't be rude and demand something. Either that or return to stock, your choice
Join our Telegram group​
Code:
Check out the latest projects on our Telegram group, where we share our advancement on new things and try to help as best as we can.
For anything already released, please ask here in XDA
Link: Telegram Group​
How to report a bug/Ask for a change​
Over the small amount of time I've been doing my edits and shared them with the community, I've noticed something that seems to irritate me. I can't speak for all the developers on this forum, but I do edits/ROMs/PORTs/etc... to what I like. I don't work for anybody else but me. I share my work because it may have something of value to other people and/or some people may share the same taste as me on regards to what they want on a ROM.
That being said, that doesn't mean I will completely ignore what the community has to say.
First and foremost, it must be said, I am merely a beginner. I do not claim to be a professional developer that knows how to add everything, I am nowhere close and I learn as I go.
There are ways to ask for something and/or report a bug when it comes to ROMs, and this post is my attempt to try to explain how to (and how not to) report a bug in order to help me out as much as possible to try to fix something
You can also ask for something to be added, but there are also ways to ask for something
So, here we go
Keep in mind:
I do not add stuff that can easily be downloaded from the Playstore
I, myself, don't do kernel edits
I COULD remove stuff if NOBODY uses it
---REPORTING BUGS---​
How NOT to report a bug:
"SystemUI (or any app)is crashing, please help!"
"Instagram doesn't allow me to edit my post, what could be wrong?"
"My bank account app is not letting me do such thing"
These posts are sort of pointless as they only state something but I have no context on what could be causing it. Also, I can't really control (for the most part) third-party apps, so if you're going to ask about them this way, don't even bother
A slightly better way to report a bug:
"I clean installed the ROM and was working fine, after I installed Facebook and logged in, I immediately uploaded a photo and SystemUI started to crash. Can you look in to it?"
"I tried to install Black Neon theme (a link to it would work as well) and it was working fine until I tried to activate AOD (or anything else for some reason) and SystemUI (or any other app) is crashing, could you look in to it?"
"My bank account app doesn't let me take a screenshot of my accounts. I get a toast notification saying "Can't take screenshot due to security policy"
As you can see, this provides a bit more context and explanation on your current situation. This gives me a little more detail on trying to replicate the problem and hopefully could fix it by replicating it. Well, except for point #3 which is out of my hands for the most part (I think). If you include what kernel you're using would make everything better! Also any significant change that would require root (like xposed and or anything that modifies /system also needs to be informed for better results)
The BEST way to report a bug:
LOGCAT!!!!!!!!!!!!!!!!!!
Please learn the ins and outs of a logcat, this really helps a lot on finding what the problem is. Also, please give a brief explanation as the above examples when providing a log cat
---ASKING FOR STUFF TO BE ADDED---​
How NOT to ask for stuff:
On your next update, add iris scanner
You should add (app) on your next update
Hey, please add (app or feature) on your next update
No, I do not work for you. Even if you say please like the third example, that doesn't mean you're being polite. It still sounds like an order lol so you should probably rephrase your request.
How to ask for stuff to be added to my work:
Would you be so kind to add (feature) to your ROM, if possible?
Would it be possible to add this app to your ROM?
Please, can you add (feature) to your ROM, if it isn't much to ask?
See how politeness makes everything better? You're not demanding it, you're just politely asking to see if maybe it is within my grasp to add something. And if all request would be like this, I can assure you I'd try my best to add said feature
I hope this is useful to you or I at least hope that some people read it.
If not, I can just tell you to return to stock ROM, probably better than any ROM I put out anyway
Enjoy Pie
Yes its working
You should tell that vendor will be also replaced.
Downloading
Downloading...
nice work
Nice work Sha! Working great. Battery is draining faster as compared to Ncx A8. Keep it up.
MKashifSajjad said:
Nice work Sha! Working great. Battery is draining faster as compared to Ncx A8. Keep it up.
Click to expand...
Click to collapse
battery drains faster then stock oreo rom ? do you find any other bug ? camera works good ? can you check please if camera is flickering while taking photo to computer monitor or tv ?
Battery takes about 2 cycles to stabilize. My first testers and me did notice higher than normal drain but then reduced the drain a lot.
Aleko91 said:
battery drains faster then stock oreo rom ? do you find any other bug ? camera works good ? can you check please if camera is flickering while taking photo to computer monitor or tv ?
Click to expand...
Click to collapse
It's normal for any camera to flicker when taking photos of older tvs as far as I know
j6 plus :crying:
???
This is not the J6+ forum lol
Will it work for On6
J600G please reply
naviidgull said:
Will it work for On6
J600G please reply
Click to expand...
Click to collapse
Yeah, maybe lol. Backup before you try anything
Digital TV is working?
Links are not working anymore bro please bro new link
ShaDisNX255 said:
It's normal for any camera to flicker when taking photos of older tvs as far as I know
Click to expand...
Click to collapse
on stock oreo rom it's not flickering , but it flickers even on odex stock rom

[ROM] [10] [Official] Android Open Source Mutation - hotdogb

Welcome to Android Open Source Mutation for the OnePlus 7T
(previously Xtended-Mutate)
Code:
**DISCLAIMER**
We bear absolutely no responsibility for any damages to your device,
from following any instructions or flashing anything we provide.
All software is 'as-is' and no warranty is implied or stated and will not be honored.
As always flash at your own risk.
Everything you could want in a ROM.... and more
ROM originally derived from MSM-Xtended
Features list:
- Android R notification headers
- Substratum support
- Theming (accents, gradients, dark mode)
- FOD icon customizer
- Fully customizable animations
- Different fonts included
- Full sounds customization
- Power menu customization
- Full MD2 support
- Signature spoofing
- Remove ADB notification
- Aggressive battery
- Sensor block per package
- OmniStyle and OmniJaws for headers and weather
- Ambient display and Always-On Display
And even more!
TODO:
- Rebase on Lineage sources
- Finish rebranding
- Add all the features, ALL OF THEM.
- Ok maybe not all.
What works:
- FOD works
- Alert slider works
- DC dimming works
- 60/90/Auto refresh rate
Bugs:
- Auto brightness may have issues
- The carrier Visible is known not working on latest builds.
- ??? This is where you tell us
Install instructions
* Always make sure to flash latest OxygenOS to each slot before installing this ROM!
* Flashing via fastbootd is recommended for now. Although a TWRP is available, it is closed source and therefore in violation of the TWRP GPLv3 license and we therefore cannot link to it here. OTA zips and fastbootd zips will be provided.
1. Set up adb and fastboot on your computer with the latest zip from google. Get them here
2. Ensure your device is upgraded to the latest OxygenOS. We recommend flashing latest to both slots before proceeding.
3. Reboot to bootloader
Code:
adb reboot bootloader
4. Ensure your bootloader is unlocked. This can be done with
Code:
fastboot oem unlock
You'll need to confirm on device. T-Mobile users have to obtain the unlock from T-Mobile first.
5. Now this is the different part with Android 10. If you choose to use the non-official TWRP, you may flash the OTA zip as usual. Otherwise assuming the ROM fastbootd zip is in the same location as your prompt:
Code:
fastboot update -w <file>.zip
6. Reboot and enjoy! Never flash magisk on first reboot as this can cause issues. Always boot at least once.
Updates
* Recommended method is via fastbootd
1. With adb set up and enabled:
Code:
adb reboot bootloader
2. In bootloader mode:
Code:
fastboot update <name>.zip
Reporting bugs:
- To report a bug, clean flash is MANDATORY.
- We provide no support to (Ed)Xposed users, or custom kernels (some custom kernels are known to break FOD, DC dimming, etc). Bugs should be reported with magisk in safe mode or with no modules enabled. We also provide no support for any users of AIO "tweakers" (eg, FDE.AI, LSpeed, NFS, etc), the reason being those are well known to cause instability.
- A good bug report should contain:
Code:
- Device:
- ROM version (eg date ROM was built):
- Magisk used?:
- Tried a clean flash?:
- Concise description (eg, no "fingerprint not working plzzz help"):
- Logcat or dmesg (for boot issues, try the Magisk Module LogCatcher, logcat's I recommend Logcat Reader. Reports without logs WILL BE IGNORED):
Support:
-Telegram: https://t.me/joinchat/KNY93ke5jYFhTFYpwyR3Lw
-XDA: this thread (duh)
Downloads:
{Mod edit}
Device sources:
Kernel: https://github.com/Xtended-Mutate/kernel_oneplus_sm8150
Device: https://github.com/Xtended-Mutate/device_oneplus_hotdogb
Many thanks to:
@linuxandria
jacks84
@Abalam
Creators of MSM-Xtended
AOSiP for some device related things
BlissROMs for a handful of features
Everyone else we probably forgot to mention
We request all discussion to be courteous, on topic, and adding to the discussion. Any hateful or off-topic will be promptly be delt with. Moderators, do what you have to. Thank you.
XDA:DevDB Information
[ROM] [10] [Official] Android Open Source Mutation - hotdogb, ROM for the OnePlus 7T
Contributors
linuxandria, Abalam, jacks84
Source Code: https://github.com/Xtended-Mutate
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: OxygenOS 10.0.9 or newer
Based On: MSM-Xtended
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2020-05-12
Created 2020-05-14
Last Updated 2020-05-17
Thanks for release !
Looks like a cool rom.
So,
fastboot update -w <file>.zip
Click to expand...
Click to collapse
Will be all thats needed to flash?
No need to unzip and flash each file manually , as we do with other ROMs for our OnePlus 7t?
hightech316 said:
Thanks for release !
Looks like a cool rom.
So,
Will be all thats needed to flash?
No need to unzip and flash each file manually , as we do with other ROMs for our OnePlus 7t?
Click to expand...
Click to collapse
No need to unzip no
linuxandria said:
No need to unzip no
Click to expand...
Click to collapse
Awesome.
Is it Ok coming from MSM-Xtended ,or should we flash back to lastest OxygenOS first, then flash your rom?
Thanks for a new room! This looks pretty dope
hightech316 said:
Awesome.
Is it Ok coming from MSM-Xtended ,or should we flash back to lastest OxygenOS first, then flash your rom?
Click to expand...
Click to collapse
I always recommend clean flashing, as we have some serious changes
Can some one upload some screenshot of this ROM, please?
First, THANK YOU VERY MUCH!!!
Next:
Does it have face unlock? I work at the post office and have to use gloves. Face unlock is a must have for me.
Also, does Google pay work?
Congratulations you guys for getting all together now on XDA. Jack: Lets get you back on XDA so you can get some XDA points
Been using this for a day now and just wanted to say this rom is amazing! The customization and the performance is perfect. Thanks again!
Kanging entire project without permission, isn't what we promote on xda
aer0zer0 said:
Congratulations you guys for getting all together now on XDA. Jack: Lets get you back on XDA so you can get some XDA points
Click to expand...
Click to collapse
And luckily, for doing that he decided to use MSM-Xtended with just logo changes and nothing further, no addition, no fixes, just nothing.
Going through the commit history was showing further more. I mean, I have heard many devs saying cherry-picking is the easiest, still people don't want to ?
Moderators, the entire of our work has been used without any notice or permission or anything. Here I mean entire of the work of Team Xtended and we object to it.
Kindly let us know the process to take down this thread.
Regards
BOND
SuperDroidBond said:
And luckily, for doing that he decided to use MSM-Xtended with just logo changes and nothing further, no addition, no fixes, just nothing.
Going through the commit history was showing further more. I mean, I have heard many devs saying cherry-picking is the easiest, still people don't want to ?
Moderators, the entire of our work has been used without any notice or permission or anything. Here I mean entire of the work of Team Xtended and we object to it.
Kindly let us know the process to take down this thread.
Regards
BOND
Click to expand...
Click to collapse
I sort of knew this was going to happen when I saw this thread but yea he basically just cloned y'all entire work without any changes hell I'm surprised it took this long tho for anyone to notice lol.
Unfortunately due to recent feedback and discussions, this thread will be locked until further notice! The project will be undergoing some serious reworking and reevaluation!
@MikeChannon if you could lock this thread we'd be grateful
SuperDroidBond said:
And luckily, for doing that he decided to use MSM-Xtended with just logo changes and nothing further, no addition, no fixes, just nothing.
Going through the commit history was showing further more. I mean, I have heard many devs saying cherry-picking is the easiest, still people don't want to ?
Moderators, the entire of our work has been used without any notice or permission or anything. Here I mean entire of the work of Team Xtended and we object to it.
Kindly let us know the process to take down this thread.
Regards
BOND
Click to expand...
Click to collapse
You have absolutely no right to say this. We have violated no license, and have given all proper authorship and credits. In addition, while it is most certainly true we have based our rom on MSM-Xtended (and have never once denied it!), we have added a smattering of new features and unbroken things they have broken on our supported devices.
Kindly do not make exaggerated accusations, and if you have something to say, let's discuss it in private, not taking to public forums to complain about someone using your work. Personally if someone based off my work, I'd be complimented
If you want to discuss anything in a constructive manner, my telegram username is linuxandria, otherwise do not further pollute our chatrooms and threads with any more of this nonsense, thanks.
And I'll kindly remind everyone that you have kanged the entire work of either AOSP or LOS and you don't see them coming into your xda threads complaining about using their works without violating any licenses and maintaining proper authorship.
Regards
In before the lock! Lol
linuxandria said:
And I'll kindly remind everyone that you have kanged the entire work of either AOSP or LOS and you don't see them coming into your xda threads complaining about using their works without violating any licenses and maintaining proper authorship.
Regards
Click to expand...
Click to collapse
And let's not forget gzosp, either. There was no MSM without GZOSP.
linuxandria said:
Unfortunately due to recent feedback and discussions, this thread will be locked until further notice! The project will be undergoing some serious reworking and reevaluation!
@MikeChannon if you could lock this thread we'd be grateful
Click to expand...
Click to collapse
THREAD CLOSED!
Please advise the moderators' team to re-open the thread when re-working and re-evaluation has been finished but especially when ready to provide a workable link to kernel source.
Request to everybody: If moderator's assistance is required, please do not simply state this in a post! XDA currently has more than 35.5M threads and we cannot and do not scan every single thread and post. For timely actions please use the report function!

Categories

Resources