[DISCONTINUED] CyanogenMod 12.1 (for TCL M3G / converted eMAX Mini)

varotone Post time 2016-5-26 15:57:50 | Show all posts   [Copy link]
279 55745
Author: varotone

[DISCONTINUED] CyanogenMod 12.1 (for TCL M3G / converted eMAX Mini)

  [Copy link]

2

threads

94

posts

700

credits

Diamond Member

Rank: 4

credits
700
 Author| Post time 2016-5-14 18:26:48 | Show all posts
Doman replied at 2016-5-14 07:46
Hello. I've just received my UMI eMax mini today. Already done rooting and flashing, so far ended up ...

The "startup logo" you're referring to is actually the kernel bootlogo. As we're using the stock LEWA kernel (with some slight tweaks to work with CyanogenMod), it has the LEWA logo. I frankly don't know how to change it, but you can probably look around in xda/google for a method if it's so important to you.

0

threads

3

posts

200

credits

Platinum Member

Rank: 3Rank: 3

credits
200
Post time 2016-5-20 21:46:26 | Show all posts
Edited by antsm at 2016-5-27 16:41 \n\n Edited by antsm at 2016-5-27 16:38 varotone,

Here is a workaround to fix a problem with double tap.

At "android/platform/frameworks/base/services/java/com/android/server/power/PowerManagerService.java" look for a "public void goToSleep(long eventTime, int reason)" method and put there at the beginnig something like:

  1. final String state = "on";
  2. FileOutputStream localFileOutputStream = new FileOutputStream("/sys/class/TP-UNLOCK/device/gesture");
  3. localFileOutputStream.write(state.getBytes());
  4. localFileOutputStream.flush();
  5. localFileOutputStream.close();
Copy the Code


This will force turn on double tap every time just before the screen turns off.
In order to make a switcher located in "Settings -> Display" work properly, you could store user choice at settings.db (could be done in "/cmhw/org/cyanogenmod/hardware/TapToWake.java") and modify the code given above to check that before.

As a temporal solution i have made an Xposed module:

tapfix_0.1_ANT.zip (9.42 KB, Downloads: 8)

Comments

LOL thx anymore  Post time 2016-5-23 23:04

2

threads

94

posts

700

credits

Diamond Member

Rank: 4

credits
700
 Author| Post time 2016-5-24 04:29:11 | Show all posts
R11 uploaded.

1

threads

33

posts

372

credits

Platinum Member

Rank: 3Rank: 3

credits
372
Post time 2016-5-24 05:52:14 | Show all posts

Thanks! : )

2

threads

81

posts

382

credits

Platinum Member

Rank: 3Rank: 3

credits
382
Post time 2016-5-25 14:37:12 | Show all posts
hello varotone
I would like to know why when I do ota update your phone then you slow down, I have to clean something after downloading the updating?
comuncque thanks always

2

threads

94

posts

700

credits

Diamond Member

Rank: 4

credits
700
 Author| Post time 2016-5-25 17:31:50 | Show all posts
halaska replied at 2016-5-25 14:37
hello varotone
I would like to know why when I do ota update your phone then you slow down, I have t ...

OTA updates are not clean updates (no wipes), therefore some slowing, although unusual, may occur. If that happens, wiping cache&dalvik should fix it.

2

threads

81

posts

382

credits

Platinum Member

Rank: 3Rank: 3

credits
382
Post time 2016-5-25 20:42:53 | Show all posts
thank you
but wiping cahe and dalvlk are lost archives ?

0

threads

3

posts

200

credits

Platinum Member

Rank: 3Rank: 3

credits
200
Post time 2016-5-26 02:41:07 | Show all posts
Edited by antsm at 2016-5-26 02:43 \n\nUpdate
Here is a workaround to fix a problem with double tap

Fixed: Doubletap not activated on screen off timeout (i.e without user action).
Hook goToSleepNoUpdateLocked method instead of goToSleepInternal

tapfix_0.2_ANT.zip (9.5 KB, Downloads: 29)

2

threads

81

posts

382

credits

Platinum Member

Rank: 3Rank: 3

credits
382
Post time 2016-5-26 14:30:21 | Show all posts

after downloading the apk you must do to activate ?

0

threads

15

posts

241

credits

Platinum Member

Rank: 3Rank: 3

credits
241
Post time 2016-5-26 15:57:50 | Show all posts
antsm replied at 2016-5-26 02:41
Edited by antsm at 2016-5-26 02:43 \n\nUpdate

Fixed: Doubletap not activated on screen off timeout ...

Thanks your fix is working great
You have to log in before you can reply Login | WELCOME TO UMIDIGI COMMUNITY

Points Rules

Quick Reply Top Back to list