[APP][XPOSED][1.0] hellsCode - A KnockCode mod for hellsCore kernel - Nexus 4 Original Android Development

Code:
/** Disclaimer
* The usual stuff, I am not responsible for any damages from this mod,
* either to you phone, your job, your house, your kitten, blah blah…
*/
Introduction, How it works, etc.
This is a KnockCode feature addition for hellsCore kernel on our beloved Nexus 4.
I created this mod by modifying Stratoks's dt2wake in hellsCore kernel that you can input a pattern on the screen, which is separated in a grid of 4 rectangles (For further explanation search for LG KNOCKcode on Google). I record that pattern in Touchscreen driver, and then write it into a sysfs file.
In the second step, the hellsCode config Xposed module reads the code from that file, and compares it to the code saved in its preferences. If the code was correct, it finishes the Keyguard to unlock your device.
If the code is wrong, the screen still goes on, but this time shows the Keyguard. That means you can also use it as QuadrupleTap2Wake
At the moment, this mod heavily relies on Xposed, but I hope that I can integrate this mod directly into some custom roms, I will write a guide for rom creators later.
Since B80, my mod is merged into the official hellsCore kernel.
Sources:
Look below.
Click to expand...
Click to collapse
Installation instructions
* You need Xposed for this to work properly
* Install hellsCore kernel from here (since B80)
* Install hellsCodeConfig.apk, activate in Xposed installer, reboot.
* Set up your code in hellsCode Config app.
* You need to have doubletap2wake enabled in your favorite Kernel manager, and also enable the mod with
echo 1 > "/sys/devices/virtual/input/lge_touch/hells_code_enabled"
To disable temporarily, do echo 0 > "/sys/devices/virtual/input/lge_touch/hells_code_enabled", to remove permanently uninstall the hellsCode Config app.
Click to expand...
Click to collapse
Thanks To/Credits
Code:
* hellsgod for creating the best kernel in the world
* Stratosk for providing me the base with his dt2wake mod
XDA:DevDB Information
hellsCode, Device Specific App for the Google Nexus 4
Contributors
Maxr1998, hellsgod
Source Code: https://github.com/hellsgod/hells-Core-N4/commit/10eb65957bbcf65004d432a02fe7345a149c36db
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2015-06-27
Created 2015-06-15
Last Updated 2016-08-24

Download
Changelog
Code:
1.1 - 2015.06.27
[fix] -- relock keyguard
Older changelogs:
Code:
1.0 - 2015.06.15
[new] -- initial release
Click to expand...
Click to collapse

FAQ
Why isn't there a version for CM?
-- There actually is one, just take a look at the official hellsCore kernel, which includes the mod since B80.
The device sometimes unlocks when woken up with the power button, why does this happen?
-- That was a bug, fixed with config 1.1
Click to expand...
Click to collapse

Good job man, will try this asap!
is it echo 1 > "/sys/devices/virtual/input/lge_touch/hells_code_enabled"
or
echo 1 > /sys/devices/virtual/input/lge_touch/hells_code_enabled ???

eurochild said:
Good job man, will try this asap!
is it echo 1 > "/sys/devices/virtual/input/lge_touch/hells_code_enabled"
or
echo 1 > /sys/devices/virtual/input/lge_touch/hells_code_enabled ???
Click to expand...
Click to collapse
Whatever. With "" it has nicer formatting, and is most times better when you have spaces in folder names.
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B78

Feedback
Really thanks! I really like knock code. This mod works great, but with three problems :
1. Lock screen is shown for a milisec, then unlocks. Not really a big problem.
2. After unlocking, status bar is sometimes pulled down.
3. Power button is useless now. Every time I use power button, it bypasses lockscreen. Every time.
I hope this mod advances with updates! Thanks!

ddaggebi said:
Feedback
Really thanks! I really like knock code. This mod works great, but with three problems :
1. Lock screen is shown for a milisec, then unlocks. Not really a big problem.
2. After unlocking, status bar is sometimes pulled down.
3. Power button is useless now. Every time I use power button, it bypasses lockscreen. Every time.
I hope this mod advances with updates! Thanks!
Click to expand...
Click to collapse
1. I still have to research which hooks suit better.
2. Really? That's strange, and has nothing to do with the mod..
3. That's a bug, read OP
Btw, if you touch screen once, and then press power button, it doesn't unlock. Will fix later today IF I have the time.
I unfortunately ignored school a bit the last few days, and have to catch up :/
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B78

ddaggebi said:
Feedback
Really thanks! I really like knock code. This mod works great, but with three problems :
1. Lock screen is shown for a milisec, then unlocks. Not really a big problem.
2. After unlocking, status bar is sometimes pulled down.
3. Power button is useless now. Every time I use power button, it bypasses lockscreen. Every time.
I hope this mod advances with updates! Thanks!
Click to expand...
Click to collapse
For me is working quite fine, only problem i face is that the mod is not respecting unlocking sequence configured on hellscode config, if you tap on anywere 4 times phone unlocks.
Enviado desde mi Nexus 4 mediante Tapatalk

Thanks for the quick reply. I will love this if the power button bug is fixed!
About the statusbar, I think it is related with my rom's feature(quick pulldown). Do you use stock rom?
---------- Post added at 02:33 PM ---------- Previous post was at 02:32 PM ----------
damopi95 said:
For me is working quite fine, only problem i face is that the mod is not respecting unlocking sequence configured on hellscode config, if you tap on anywere 4 times phone unlocks.
Enviado desde mi Nexus 4 mediante Tapatalk
Click to expand...
Click to collapse
Can you tell me what rom you use? Stock?

ddaggebi said:
Thanks for the quick reply. I will love this if the power button bug is fixed!
About the statusbar, I think it is related with my rom's feature(quick pulldown). Do you use stock rom?
---------- Post added at 02:33 PM ---------- Previous post was at 02:32 PM ----------
Can you tell me what rom you use? Stock?
Click to expand...
Click to collapse
Euphoria-OS 13 June build
Enviado desde mi Nexus 4 mediante Tapatalk

ddaggebi said:
Thanks for the quick reply. I will love this if the power button bug is fixed!
About the statusbar, I think it is related with my rom's feature(quick pulldown). Do you use stock rom?
---------- Post added at 02:33 PM ---------- Previous post was at 02:32 PM ----------
Can you tell me what rom you use? Stock?
Click to expand...
Click to collapse
Sorry i quoted the wrong post, Euphoria-OS 13 June build
Enviado desde mi Nexus 4 mediante Tapatalk

damopi95 said:
For me is working quite fine, only problem i face is that the mod is not respecting unlocking sequence configured on hellscode config, if you tap on anywere 4 times phone unlocks.
Enviado desde mi Nexus 4 mediante Tapatalk
Click to expand...
Click to collapse
Sure it unlocks? Or does only screen toggle on?
ddaggebi said:
Thanks for the quick reply. I will love this if the power button bug is fixed!
About the statusbar, I think it is related with my rom's feature(quick pulldown). Do you use stock rom?
damopi95 said:
Euphoria-OS 13 June build
Click to expand...
Click to collapse
I use Euphoria as well.
Click to expand...
Click to collapse

Maxr1998 said:
Sure it unlocks? Or does only screen toggle on?
ddaggebi said:
Thanks for the quick reply. I will love this if the power button bug is fixed!
About the statusbar, I think it is related with my rom's feature(quick pulldown). Do you use stock rom?
I use Euphoria as well.
Click to expand...
Click to collapse
Unlock
Enviado desde mi Nexus 7 mediante Tapatalk
Click to expand...
Click to collapse

damopi95 said:
For me is working quite fine, only problem i face is that the mod is not respecting unlocking sequence configured on hellscode config, if you tap on anywere 4 times phone unlocks.
Enviado desde mi Nexus 4 mediante Tapatalk
Click to expand...
Click to collapse
damopi95 said:
Euphoria-OS 13 June build
Enviado desde mi Nexus 4 mediante Tapatalk
Click to expand...
Click to collapse
work fine here, if i tap a wrong sequence the screen turn on but it doesn't unlock the screen

Nice work. I was waiting for this for a long time. I'll try the mod as soon as power button bug will be fixed.
Is there any chance you fix the micro lag that makes lockscreen shows for a millisecond?
Thanks

Ciao600 said:
Nice work. I was waiting for this for a long time. I'll try the mod as soon as power button bug will be fixed.
Is there any chance you fix the micro lag that makes lockscreen shows for a millisecond?
Thanks
Click to expand...
Click to collapse
Possibly.
But I don't have too much time this week. Maybe tomorrow or friday, but not today.
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B78

How does this mod influence battery life?

Ciao600 said:
How does this mod influence battery life?
Click to expand...
Click to collapse
Exactly as much as original dt2w. Means not that much, maybe 1-2% overnight extra.
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B78

no CM hells kernel?? how do i try it on resurrection remix??

abhishek24dogra said:
no CM hells kernel?? how do i try it on resurrection remix??
Click to expand...
Click to collapse
Not by now, sorry. But as @hellsgod will merge it into his sources, I'm sure he will also provide a CM build then..
Sent using my nexus⁴ running Euphoria 1.1 with Xposed and hells-Core B78

Related

[ROM][4.4.2] BeanStalk 4.4.240 [28/02/2014]

Warning! Before installation please read Installation method from downside. To install any custom ROM 4.1+ you need official JB from Samsung before and make CWM Recovery. If you are already on any custom ROM, just read installation process.
Port of BeanStalk 4.4.2 based on android 4.4.2. All credits goes to
New Macław, TeamCanjica and sooti for I9100 version.​
Changelog [28/02/2014]:
- fully fixed Dark Stalk
- more visible place when writing messages (7 lines)
- new DSManager with bass fraquency and wider stereo
- new Camera app with more options
- fixed Mute call in Phone app
- removed many doubled options and useless/not working things from settings
- fixed icon glitch (Halo and Dark Stalk)
- updated polish translation
Bugs founded:
• low in-call volume and when switching between speaker and louder speaker, use vol- than vol+ at this moment or this app
- screen recorder (was removed ATM)
Biggest Features list is in official changelog on BeanStalk site:
http://www.scotthartbti.com/index.php/beanstalkbuilds/
Member, Beanstalk ROM is still in development stage.
Screenshots:
Extra info:
• Official Slim GAPPS:
http://slimroms.net/index.php/downl...dons4-4/8852-slim-minimal-gapps-4-4-2-build-3
or
• Smallest Core Gapps:
http://d-h.st/PbA
Click to expand...
Click to collapse
Installation method:
• download ROM and save on your external/internal SD
• go to Recovery and make Backup of current ROM in Backup and Restore option
• if you move up from:
a) previous version of this ROM do Wipe cache and Dalvik-cache
b) others 4.4 do the same, but if you see any bugs after boot, do Wipe data
c) any others android version do Wipe data
• choose install zip from and select ROM, wait for completed installation
• you can flash now Gapps package
• now set reboot system now option and wait to system boot up
• done
Click to expand...
Click to collapse
Download Rom:
https://docs.google.com/file/d/0B7hlS8uionOjUS1LMHNmc3VKVVk/edit?usp=docslist_api
MD5 (check original package size)
3dfd31302543273e226f78a07e6e44e6
Click to expand...
Click to collapse
Addons*:
*Always flash via install zip from sdcard in Recovery
Click to expand...
Click to collapse
• complete KitKat font
Android4.4-KitKat-RobotoCondensed_Fonts
Credits to:
scott.hart.bti | New Macław | TeamCanjica | sooti | Cyanogen | AOKP | Android Does | Google​
Finally this great rom thanks @PolishVodka i will try it soon
It has rotation glitch?
Inviato dal mio GT-I8160 utilizzando Tapatalk
P.V. your a genius! D ofc rox and others too)
pedroleon99 said:
Finally this great rom thanks @PolishVodka i will try it soon
It has rotation glitch?
Inviato dal mio GT-I8160 utilizzando Tapatalk
Click to expand...
Click to collapse
No, this ROM not.
So this rom doesn't have rotation glitch?
Sent from my GT-I8160 using XDA Premium 4 mobile app
Back to back great ROMs thanks PV!
Accidentally sent from my Ace 2!
Ok so the only bug should be Low incall can i resolve it with this method?
Extract the rom maclaw system / app "TelephonyProvider.apk" and system / priv-app "Dialer.apk and Teleservice.apk" Copy to their proper places giving permissions rw-r - r -.
Reboot into recovery mode wipe cache and wipe dalvik cache.
Restart and solved
Click to expand...
Click to collapse
@pedroleon99
Of course not, its not CM11, it has different Phone app. Give me little bit more time and will be fixed.
Respect mate! And respect couse u allways put screenshots of your roms.
PolishVodka said:
@pedroleon99
Of course not, its not CM11, it has different Phone app. Give me little bit more time and will be fixed.
Click to expand...
Click to collapse
Ok thanks i hope you will fix It
Inviato dal mio GT-I8160 utilizzando Tapatalk
This is definitely the ROM to watch for, thanks for the release mate.
Small bug, halo toggle in notification bar appears as a settings icon rather than the halo icon.
Edit: Once you touch it, the actual icon is displayed...
if swap memory as CM11 can be used in this room?
d-beat said:
if swap memory as CM11 can be used in this room?
Click to expand...
Click to collapse
=edited=
Its work:sly:
Wow. Nice job on the ROM. I was surprised at how well this ROM performed. I can even say its faster than cm11.
Sent from my GT-I9100 using Tapatalk
Great, gonna try this ROM soon.
While no devs could fix the rotation glitch atm, here, you can fix rotation glitch featured with bean stalk. Its just absolutely awesome.
notification access bugs, can't you just disabled it??
it would be a shame, if someone accidentally change something there and having bootloop.
ItsHumf said:
Small bug, halo toggle in notification bar appears as a settings icon rather than the halo icon.
Click to expand...
Click to collapse
other roms (beanstalk for example) also shows as settings icon. its not bug i think
Sorry for noob question. On this 4.4.2 roms app drawer is transparent? thanks
nusko_x said:
Sorry for noob question. On this 4.4.2 roms app drawer is transparent? thanks
Click to expand...
Click to collapse
That is launcher dependant, but yes, the app drawer has a transparent/blurred background.
---------- Post added at 06:07 PM ---------- Previous post was at 06:05 PM ----------
teddytsen said:
other roms (beanstalk for example) also shows as settings icon. its not bug i think
Click to expand...
Click to collapse
The official/proper icon is supposed to be a circle with a message on it.
I'm not complaining at all, I just thought I'd notify PV.
So this rom hasnt rotation glitch ?
Enviado desde mi GT-I8160

[5.1.1] Temasek ROM

Hello everyone. As you might imagine I hate to see sad faces because of some dev leaving. So i've decided to do something about it. There are many of you which want Temasek funtionalities as also some of you which wants jgcaap ROM speed.
How about a combination of both?
Seems to much to ask but, today I've decided to play a bit and post a build.
Basically you have here is a CyanogenMod ROM with temasek goodies and jgcaap optimizations.
Features:
Updated SQL to 3.9.0.0
New Kernel - v2.75
Optimized Build and compiled with custom GCC (Odexed)
Improved sound with speex resampler
Improved bionic with many optimized libraries
Chamber of Secrets
OnTheGo
3 finger gesture screenshot
TRDS
PIE
OTA's
Unified F2FS & ext4
Lockscreen Gestures
OmniSwitch
AppBar
App Circle bar
Gestures Anywhere
Heads Up Notifications
Network traffic meter
DPI Settings
Proguard 5.2.1
CameraNext
F2FS ready for data and cache (only recommend over cache.)​
Sounds good enought?
For best compability, use this firmware update for your device:
Firmware 17/06/2015
Download
​​All the credits go to CyanogenMod Team, @temasek , @arter97, @katinatez as also many other devs which provided toolchains, support code etc.
Please first test with stock, only after flash other kernels!​Source Code
If you like my work, please consider a donation.
reserved
reserved
New build coming in two hours. Download only after Thanks
Glad to see development still going!
Sent from my A0001 using Tapatalk
Flashed. Everything working. Report 2morrow if there r any bugs.
Next build will be a bit more faster please wait for it
Sent from my A0001 using Tapatalk
The file size is a pretty hefty 347MB.. :-/. Previously it was around 300MB....
iTalisman said:
The file size is a pretty hefty 347MB.. :-/. Previously it was around 300MB....
Click to expand...
Click to collapse
Odexing increases size..
Setting.Out said:
Odexing increases size..
Click to expand...
Click to collapse
It's up and ready. Have fun everyone .
I have f2fs all. Is that okay?
Ejvyas said:
I have f2fs all. Is that okay?
Click to expand...
Click to collapse
Yes, as long as it's not also the system partition..
@Vivek_Neel can you do your caf magic pretty please!?
---------- Post added at 11:04 PM ---------- Previous post was at 11:03 PM ----------
Thanks for this awesome combo!! @jgcaap
can we dirty flash over katinatez cm13? i suppose yes, but just to be sure
Inviato dal T.A.R.D.I.S. con il cacciavite sonico
matrixino said:
can we dirty flash over katinatez cm13? i suppose yes, but just to be sure
Inviato dal T.A.R.D.I.S. con il cacciavite sonico
Click to expand...
Click to collapse
NO since this is still cm12.1. It would be a wonder if you wont get stuck in a bootloop :angel:
@jgcaap you mentioned a separate build for xposed users in katinatez' thread, is this statement still valid?
nevertheless thanks for making magic for us OPO users :good:
fiz:ik said:
NO since this is still cm12.1. It would be a wonder if you wont get stuck in a bootloop :angel:
@jgcaap you mentioned a separate build for xposed users in katinatez' thread, is this statement still valid?
nevertheless thanks for making magic for us OPO users :good:
Click to expand...
Click to collapse
Oh dang, i was sure he was going to continue his cm13 branch. Forget me.
Hey @jgcaap, thanks for carrying @katinatez's awesome work forward. Much appreciated.
Found a small boo-boo.. Camera comes up with 'cannot connect to Camera' after a while. I had to delete camera and re-flash Cameranext.zip in recovery. Please take a look.
Thanks!
Oomahey said:
Hey @jgcaap, thanks for carrying @katinatez's awesome work forward. Much appreciated.
Found a small boo-boo.. Camera comes up with 'cannot connect to Camera' after a while. I had to delete camera and re-flash Cameranext.zip in recovery. Please take a look.
Thanks!
Click to expand...
Click to collapse
Ahh I think I know what about... I'll fix tomorow after exams. Enjoy
Sent from my A0001 using Tapatalk
Cm 13 will come... I'm waiting for their fix. You have cm 13 available at drdevs.com compiled with my stuff, I also have a thread for that.
Sent from my A0001 using Tapatalk
Some naive questions..
Jgcaap, thank you so much for your awesome work. I do have some really silly and naive questions and i would like your inputs.
1. Which GAAPS should i flash, I normally use TK Gaaps
2. is there an xposed version we should use
3. is the approach the same (reset, clean flash and then install the xposed and cameranext) ?
Thanks

Madsurfer's 23s EUI 5.9 Rom [Discontinued]

DISCLAIMER: I TEST ALL OF MY ROM'S TO MAKE SURE THEY WORK OK, NONETHELESS ERRORS CAN OCCUR... SO DON'T BLAME ME IF YOUR ALARM DOESN'T SOUND IN THE MORNING, IF YOU GOT LATE TO THE OFFICE, IF YOUR CAT EATS YOUR BIRD OR IF YOUR MOTHER IS ABDUCTED BY ALIENS, IF YOU DON'T KNOW HOW TO FLASH A ROM AND BRICKED YOUR PHONE IS YOUR FAULT NOT MINE, THIS ROM IS AS IS!!!! NO WARRANTY IS IMPLIED!!!!
Hi to all of you out there.
I want to share my 23s EUI5.9 rom, it's basically stock, just did some more cleaning, changes and added a few more optimizations
It´s very fast and stable, give it a try, it wont blow your phone away
Before I list the changes, I want to give a BIG THANK YOU to @STEVE_MARS to let me use his ROM as base, that save'd me a lot of work.
So you can count on the following changes:
- No Live Button on EUI
- Deodexed
- All APK's Zipaling'ed
- Init.D Suport
1 GPU_rendering
2 batterytweaks
3 dalviktocache
4 dalvikvm
5 lmkconfiguration
6 sdcardreadahead
7 zipalignonboot
8 netspeed
9 [S89touch]
- No Chinese Apps
- Rooted.
- Busybox installed.
- Gapps with contacts and calendar synchronization.
- Google Play Store.
- Google Now and Google Voice Search.
- Some build.prop Tweaks.
- camera2.api enable
Some pics:
Here's the Download Link, click and enjoy.
https://mega.nz/#!RkRDGADZ!NjVPxjRhrYSWTUk_y4MHcNmnpCnNLFZekvEAgMdndjI
Do you want to install Xposed?
Check this link on how to do it:
http://forum.xda-developers.com/showpost.php?p=69564429&postcount=31
Thanks @serc
Bugs: None so far, at least that i'm aware
XDA:DevDB Information
Le (Mad) Max 2, ROM for the LeEco Le Max 2
Contributors
madsurfer1
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Testing
Created 2016-12-11
Last Updated 2017-08-18
Thank you m8
I'll try this ROM
Thanks for this rom,we all appreciated it.
dirty flash from stock it works? anyone try?
Sent from my Le X820 using Tapatalk
Thx for the good work bro, ill try and tomorow ill say something. thx to @STEVE_MARS for sharing his job
---------- Post added at 02:56 AM ---------- Previous post was at 02:55 AM ----------
ucupdelonge2 said:
dirty flash from stock it works? anyone try?
Sent from my Le X820 using Tapatalk
Click to expand...
Click to collapse
I allways recomend a full wipe when you came from another rom. Remember do not format "internal storage"
need decryption key please
xterminater07 said:
need decryption key please
Click to expand...
Click to collapse
+ 1
xterminater07 said:
need decryption key please
Click to expand...
Click to collapse
+1
xterminater07 said:
need decryption key please
Click to expand...
Click to collapse
Yes, this.
Sorry, forgot to copy the correct link
First post updated with the decrypt key and the link is corret now.
Thanks
ucupdelonge2 said:
dirty flash from stock it works? anyone try?
Sent from my Le X820 using Tapatalk
Click to expand...
Click to collapse
Dirty flash will work, I've tested it that way, nonetheless, for better results a full wipe is advised
madsurfer1 said:
Dirty flash will work, I've tested it that way, nonetheless, for better results a full wife is advised
Click to expand...
Click to collapse
Xposed works?
madsurfer1 said:
DISCLAIMER: I TEST ALL OF MY ROM'S TO MAKE SURE THEY WORK OK, NONETHELESS ERRORS CAN OCCUR... SO DON'T BLAME ME IF YOUR ALARM DOESN'T SOUND IN THE MORNING, IF YOU GOT LATE TO THE OFFICE, IF YOUR CAT EATS YOUR BIRD OR IF YOUR MOTHER IS ABDUCTED BY ALIENS, IF YOU DON'T KNOW HOW TO FLASH A ROM AND BRICKED YOUR PHONE IS YOUR FAULT NOT MINE, THIS ROM IS AS IS!!!! NO WARRANTY IS IMPLIED!!!!
Hi to all of you out there.
I want to share my 21s EUI5.9 rom, it's basically stock, just did some more cleaning, changes and added a few more optimizations
It´s very fast and stable, give it a try, it wont blow your phone away
Before I list the changes, I want to give a BIG THANK YOU to @STEVE_MARS to let me use his ROM as base, that save'd me a lot of work.
So you can count on the following changes:
- Deodexed
- All APK's Zipaling'ed
- Init.D Suport
1 GPU_rendering
2 batterytweaks
3 dalviktocache
4 dalvikvm
5 lmkconfiguration
6 sdcardreadahead
7 zipalignonboot
8 netspeed
9 [S89touch]
- No Chinese Apps
- Rooted.
- Busybox installed.
- Gapps with contacts and calendar synchronization.
- Google Play Store.
- Google Now and Google Voice Search.
- Some build.prop Tweaks.
Some pics:
Here's the Download Link, click and enjoy.
https://mega.nz/#!FpxjCK4S!i3RGlId8hFvcug5pX9b9sEkbnlscnEXUqDRFa0oTgO0
Decrypt Key: !i3RGlId8hFvcug5pX9b9sEkbnlscnEXUqDRFa0oTgO0
Bugs: None so far, at least that i'm aware
Todo: Remove the live button from the EUI launcher.
Click to expand...
Click to collapse
Many thanks, my friend
sdevaux said:
Xposed works?
Click to expand...
Click to collapse
It should, but I havent tested it because I dont use it
sdevaux said:
Xposed works?
Click to expand...
Click to collapse
not for me, I've tested unfortunately .. like revolution rom.. but its great rom btw [emoji4]
Sent from my Le X820 using Tapatalk
works camera2.api at build.prop?? in the rom of steve not working.
I will add later today the string "persist.camera.HAL3.enabled=1" to the build. Prop and check if it works
xposed works ?
ucupdelonge2 said:
not for me, I've tested unfortunately .. like revolution rom.. but its great rom btw [emoji4]
Click to expand...
Click to collapse
By me very good running xposed and xprivacy
For me the best rom ever i found for max2
Nova Launcher is very good running
IR i must test later
but the best I can remove system apps like email recorder etc fully fullly happy
thanks madsurfer and steve mars
madsurfer1 said:
I will add later today the string "persist.camera.HAL3.enabled=1" to the build. Prop and check if it works
Click to expand...
Click to collapse
If it's stock based, it should work. I didn't get it to work in RAW mode using footej camera, I got it to work using manual camera app. Also is there a way you can incorporate the dirty cow vulnerability fix in this build?

[ROM] [OUTDATED] Android One Port for Mi5X [7.11.18] [Nougat]

This thread is outdated, Oreo port will be uploaded to this other thread from now on.
Download link 7.11.18:
Mega
Baidu
Android One Nougat 7.12.19 is out but not ported. However, you can install it using my modded TWRP
https://forum.xda-developers.com/mi...rp-3-1-1-0-t3715084/post74745680#post74745680
How to install:
- Unlock bootloader
- Flash TWRP
- Wipe data, cache and dalvik
- Flash A1 Firmware
- Flash rom zip file
- Reboot
How to update
- Boot into TWRP
- Wipe cache and dalvik/art
- Flash rom zip file
- Reboot
Known issues:
- If you dont flash A1 firmware your fingerprint will acts as a button while unlocked.
- If you don't have Goodix fingerprint variant, fingerprint may not work.
- You tell me.
FAQ:
Q: Can I flash over August patch without wiping data?
A: Yes, you can. However WiFi may not work. If that's your case try restoring network settings. (Settings -> More -> Restore network settings). If WiFi still doesnt work, you'll need to wipe data.
Q: Can I update via OTA?
A: No, you can't. You'll need to wait until I port the update.
Q: Does this ROM come pre-rooted
A: No, it's the A1 stock rom which doesn't come rooted. If you want root, flash Magisk through TWRP
Q: Can I install Xposed?
A: Yes, you can. Just make sure you download xposed for SDK 25.
Q: Will this rom unlock 4G 800MHz band (B20)?
A: No, it won't unlock it. Mi A1 uses a different modem which supports it. Mi 5X modem doesn't.
Q: Do I need to unlock my bootloader?
A: Yes, you need to unlock the bootloader before you can install any custom ROM.
Q: How can I unlock my bootloader?
A: Apply for permissions on http://en.miui.com/unlock/ then download the tool and follow the steps.
Q: Where can I download TWRP?
A: You can download it from here
Donations:
If you like my work and want to contribute, you can donate via paypal.me/aex12
XDA:DevDB Information
Android One Port Nougat, ROM for the Xiaomi Mi 5X
Contributors
Aex12
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.x
Based On: Android One
Version Information
Status: Stable
Current Stable Version: 7.11.18
Stable Release Date: 2017-11-24
Created 2017-10-21
Last Updated 2018-03-07
Reserved
anyone know if it is possible to sideload the ota updates maybe??
---------- Post added at 03:30 PM ---------- Previous post was at 03:15 PM ----------
looks like it would be ok to dirty flash this hmm...
killswitx said:
anyone know if it is possible to sideload the ota updates maybe??
Click to expand...
Click to collapse
As stated on FAQs, you cant update via OTA, as this OTAs are made for an A/B device, and Mi 5X doesnt support A/B.
killswitx said:
looks like it would be ok to dirty flash this hmm...
Click to expand...
Click to collapse
It's OK if you come from another Android One port. Probably you will face some WiFi issues, to solve them read FAQs.
thanks
thanks but Are you sure you will let Android O run in this device??
adeljck said:
thanks but Are you sure you will let Android O run in this device??
Click to expand...
Click to collapse
I cant say it for sure. Will see when it's released for the A1 if it can be ported.
OMG! You're an angel!!
---------- Post added at 04:55 AM ---------- Previous post was at 04:48 AM ----------
@Aex12 is this rom pre-rooted?
I was waiting for this!! THANK YOU SO MUCH!!
Dirty flashed on this rom: http://en.miui.com/forum.php?mod=vi...997&page=15&extra=page=1&mobile=2#pid17831997
Everything working perfectly.
alekos panagulis said:
Dirty flashed on this rom: http://en.miui.com/forum.php?mod=vi...997&page=15&extra=page=1&mobile=2#pid17831997
Everything working perfectly.
Click to expand...
Click to collapse
Didn't you get any WiFi issues?
I got WiFi issues while updating from august to september. But not from september to october. Maybe updating from august to october dont cause any issue.
Aex12 said:
Didn't you get any WiFi issues?
I got WiFi issues while updating from august to september. But not from september to october. Maybe updating from august to october dont cause any issue.
Click to expand...
Click to collapse
No wifi issue.
@Aex12
Thank yoouuu! After waiting so long to unlock my bootloader I finally made it and flashed your rom right away. And it's working as a charm. I'm so happy I got rid of Miui 8 Chinese version and it's many bugs and problems (and occasional Chinese language notification I got no idea what it was saying). MiUi was cute and nice on a few parts, but it just seemed like an unfinished piece of software on many points (super aggressive ram management, brightness slider problem, crazily complex settings menu -especially the applications permissions one divided in three sections-).
This rom works just flawlessly for now, and I had no issue with the fingerprint reader acting as a button on my side. It's really great to see some functions works like fingerprint swipe for notifications or lock-screen notifications. Oh ! And I can finally make the google assistant and feed works out of the box without complex tweaks :laugh:
Camera is still ****ty though (especially coming from a nexus 5x) but, hey, it's a 200€ phone.
Do you have a paypal donate account so I can offer you a beer and encourage you to port the next android updates ?
As we all know all these 3 devices (Note 4x, MIA1 and MI5x) have the se chipsets
Is it possible to port it also on note 4x?
jonjon88 said:
@Aex12
Thank yoouuu! After waiting so long to unlock my bootloader I finally made it and flashed your rom right away. And it's working as a charm. I'm so happy I got rid of Miui 8 Chinese version and it's many bugs and problems (and occasional Chinese language notification I got no idea what it was saying). MiUi was cute and nice on a few parts, but it just seemed like an unfinished piece of software on many points (super aggressive ram management, brightness slider problem, crazily complex settings menu -especially the applications permissions one divided in three sections-).
This rom works just flawlessly for now, and I had no issue with the fingerprint reader acting as a button on my side. It's really great to see some functions works like fingerprint swipe for notifications or lock-screen notifications. Oh ! And I can finally make the google assistant and feed works out of the box without complex tweaks :laugh:
Camera is still ****ty though (especially coming from a nexus 5x) but, hey, it's a 200€ phone.
Do you have a paypal donate account so I can offer you a beer and encourage you to port the next android updates ?
Click to expand...
Click to collapse
You can make camera a little better by downloading the Google Camera modded with HDR+ and adding these two lines to build.prop:
Code:
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
However, you will lose HDR support on native camera.
If you want to donate me you can do so on paypal.me/aex12
Thank you, donations are very appreciated!
rEsonancE_0404 said:
As we all know all these 3 devices (Note 4x, MIA1 and MI5x) have the se chipsets
Is it possible to port it also on note 4x?
Click to expand...
Click to collapse
Probably it can be done. Just ask a dev who have Note 4X to port it.
Aex12 said:
You can make camera a little better downloading the Google Camera modded with HDR+ and adding these two lines to the build.prop:
However, you will lose HDR support on native camera.
If you want to donate me you can do so on paypal.me/aex12
Thank you, donations are very appreciated!
Probably it can be done. Just ask a dev who have Note 4X to port it.
Click to expand...
Click to collapse
Edit: Can't PM you
Did you port the MIA1 rom.on 5x or did you build it on source?
I wonder what porting software did you use as android kitchen is not working on newer roms now
Edit2: do you have google+ or anything? To PM you?
After a few hours I noticed that unlocking with fingerprint has become very slow again. Something like 3 seconds.
alekos panagulis said:
After a few hours I noticed that unlocking with fingerprint has become very slow again. Something like 3 seconds.
Click to expand...
Click to collapse
The slow fingerprint sensor is an A1 related issue. Maybe it get improved in the future with updates.
rEsonancE_0404 said:
Edit: Can't PM you
Did you port the MIA1 rom.on 5x or did you build it on source?
I wonder what porting software did you use as android kitchen is not working on newer roms now
Edit2: do you have google+ or anything? To PM you?
Click to expand...
Click to collapse
I dont use any kind of AIO software. I use a bunch of linux tools and use them through CLI.
I use simg2img and make_ext4fs for the system.img and mkbootimg and unpackbootimg for the boot.img
Hello Aex12, I have no coding skills, so maybe my question is silly: it is possible to introduce in this rom the possibility to set different ringtone for each sim? Thank you.
Inviato dal mio Mi A1 utilizzando Tapatalk
alekos panagulis said:
Hello Aex12, I have no coding skills, so maybe my question is silly: it is possible to introduce in this rom the possibility to set different ringtone for each sim? Thank you.
Inviato dal mio Mi A1 utilizzando Tapatalk
Click to expand...
Click to collapse
Yes, it would be possible. However this rom is intended to be an exact same copy of the Mi A1.
Aex12 said:
Yes, it would be possible. However this rom is intended to be an exact same copy of the Mi A1.
Click to expand...
Click to collapse
Oh wow! Please consider to introduce this feature, please!! You could make a copy of Mi A1 and one more rom with experimental features. You would be my hero.
Inviato dal mio Mi A1 utilizzando Tapatalk

LED control for Moto's MSM8916

This is a new experimental script I decided to write this morning.
I've been investigating a bit till I decided to get my own hands on it: the LED of this device.
Now, I have packed it in a flashable zip for quick testing.
Installation and customization:
Reboot to recovery
Flash 'ledctl.zip'
Reboot
Open any file manager
Edit the file 'ledsettings.sh' at the root of the internal memory
Download:
Click or tap on the download tab at the top of the thread.
What's next?
Disable ambient display, lock your device and enjoy. If want, report hugs and give feedback.
XDA:DevDB Information
LED control for Moto's MSM8916, Tool/Utility for the Moto G4 Play
Contributors
facuarmo, OpenGapps team
Source Code: https://github.com/FacuM/shellscripts/blob/master/harpia/ledctl.sh
Version Information
Status: Beta
Created 2017-12-20
Last Updated 2017-12-24
Changelog:
- First release.
Download link:
https://forum.xda-developers.com/devdb/project/dl/?id=27795
MD5: faf35c69a23a8203b31ed68cbc775808
When you say edit the sh file you mean you have to edit?
albertwesker17 said:
When you say edit the sh file you mean you have to edit?
Click to expand...
Click to collapse
500: Internal server error.
facuarmo said:
500: Internal server error.
Click to expand...
Click to collapse
¿?
Enviado desde mi Moto G Play mediante Tapatalk
facuarmo said:
500: Internal server error.
Click to expand...
Click to collapse
I do not understand!!
albertwesker17 said:
I do not understand!!
Click to expand...
Click to collapse
I did not understand.
Enviado desde mi Moto G Play mediante Tapatalk
albertwesker17 said:
I do not understand!!
Click to expand...
Click to collapse
Your question loops my brain lol. Explain what you tried to mean.
facuarmo said:
Your question loops my brain lol. Explain what you tried to mean.
Click to expand...
Click to collapse
I want to prove this that you are working exactly what is the function of this
my question is that I have to edit in the file ledsettings.sh because you mention that it must be edited with a file manager
I'm sorry I do not speak much English I usually use Google translator !!
Wow I can't believe you managed to do this! Will this eventually allow the LED to work with notifications?
---------- Post added at 04:43 PM ---------- Previous post was at 04:28 PM ----------
I flashed it, but it doesn't work
albertwesker17 said:
I want to prove this that you are working exactly what is the function of this
my question is that I have to edit in the file ledsettings.sh because you mention that it must be edited with a file manager
I'm sorry I do not speak much English I usually use Google translator !!
Click to expand...
Click to collapse
Well, if I've understood properly, what you're asking is the reason for editing 'ledsettings.sh'.
So this is how it works:
You run 'ledctl.sh'.
It tells you to edit 'ledsettings.sh'.
You edit the file and tweak it at your likings.
Finally, you run 'ledctl.sh' again and leave it in the background (the flashable version does this by itself).
Changelog:
- Improve code.
- Solve weird behaviors.
- Correct performance issues.
- Fix the looping bug.
- Always use the last notification and not a horribly chosen one.
Download link:
https://forum.xda-developers.com/devdb/project/dl/?id=27817
MD5: 79a547552f0eb64fc0080e6110a7cf79
Changelog:
- Fix the interval control.
- Add more verbosity for debugging.
Download link:
https://forum.xda-developers.com/devdb/project/dl/?id=27821
MD5: 5c64b3d6baa8c0cded48574ca0729306
Changelog:
- Improve performance.
- Get rid of heavy conditionals.
- Only run if charger is plugged.
- Custom triggers support.
- Comment out all code blocks.
- Correct syntax for printf sentences.
Download link:
https://forum.xda-developers.com/devdb/project/dl/?id=27824
MD5: 41bf55fc09884caee7c4b6f6bcc7968f
I do not understand as can i use this.
Does not work on los14.1 ?
Please, you should create a manual or tutorial of configuration and use, as well as compatibilities.
@facuarmo
Could be nice if work all the time, even if the charger is not plugged, but I think its not working the led dont blink when is chargin and have nitifications
Doesn't work.
facuarmo said:
This is a new experimental script I decided to write this morning.
I've been investigating a bit till I decided to get my own hands on it: the LED of this device.
Now, I have packed it in a flashable zip for quick testing.
Installation and customization:
Reboot to recovery
Flash 'ledctl.zip'
Reboot
Open any file manager
Edit the file 'ledsettings.sh' at the root of the internal memory
Download:
Click or tap on the download tab at the top of the thread.
What's next?
Disable ambient display, lock your device and enjoy. If want, report hugs and give feedback.
XDA:DevDB Information
LED control for Moto's MSM8916, Tool/Utility for the Moto G4 Play
Contributors
facuarmo, OpenGapps team
Source Code: https://github.com/FacuM/shellscripts/blob/master/harpia/ledctl.sh
Version Information
Status: Beta
Created 2017-12-20
Last Updated 2017-12-24
Click to expand...
Click to collapse
@facuarmo , i would like to report some "hugs" [emoji9] come here ya big lug!!
err on the side of kindness

Categories

Resources