[One Pro] [Treble Project] Custom ROMs-GSIs [NFC/RIL fix]

Ghost505 Post time 2018-11-14 18:12:32 | Show all posts  Close [Copy link]
78 27841
View: 27841|Reply: 78

[One Pro] [Treble Project] Custom ROMs-GSIs [NFC/RIL fix]

 Close [Copy link]

12

threads

124

posts

728

credits

Diamond Member

Rank: 4

credits
728
Post time 2018-11-1 00:20:20 | Show all posts |Read mode
Edited by Ghost505 at 2019-2-2 01:14  

Android 8.1 : Custom rom Eragon link : here

Android 9: everything that follows

**Hopefully someone can fix dual camera,hotspot and Profile CTS for the One Pro .**
Do not continue if you never had used twrp before !
This operating system is still experimental, some features will not work!
-> If you do NOT flash properly, you will soft-brick your device and you will have to use twrp or flashtools to restore it.<-
-> At first, you will lose all your data if your /data partition is encrypted.<-

If you do not use dual camera, hotspot or google pay (device uncertified at the moment), you could use these.

Pixel Experience Pie (tested)
Latest release : link - choose arm64 A -(last system.img update has an annoying error) use PE-A-2018-10-17

HAVOC (tested)
Latest release : link - choose arm64 A -edge gestures
-auto swipe on face unlock
-more features

Descendant OneDotFive (tested)
Latest release : link - choose arm64 A  -auto swipe on face unlock

Benzo (tested)
Latest release : link - choose arm64 A

Pixel Dust (tested) -(annoying error on boot)
Latest release : link - choose arm64 A -auto swipe on face unlock
-more features
-edge gestures


What is working :
  • Making/Receiving Calls check fix 3
  • Sending/Receiving SMS check fix 3
  • LTE
  • Camera (choose a working camera from play store) -> Camera for Xiaomi Pocophone .apk
  • Face Unlock (need to swipe up to remove screen lock after unlock face only on some GSI that does not support auto swipe on face unlock)
  • Fingerprint
  • Flash Light
  • Night Mode
  • Brightness/Auto Brightness
  • Battery/Data Save mode
  • Accesibility saved after restart
  • NFC -> check fix 2
  • System bar smaller than notch -> check fix 1 -> works
  • pretty much everything else



What is not working :
  • Hotspot (bugged) -> an alternative would be PdaNet+
  • No support for notch per specific application
  • Device uncertified (basicIntegrity is true with 18.0 magisk+Magisk HidePropsConfig) (Profile CTS is still false) -> Can not use google pay...
  • Need better Magisk version (17.1 can use root privilege but cannot hide magisk from apps) (17.3 bug does not ask for allow root on new apps, also cannot hide apps also can not install new modules)(18.0 still problems after installing more then one module) -> 17.1 best at the moment
  • Dual camera
  • FMRadio
  • ...

Not tested :
  • Audio stereo (honestly I can't tell the difference)
  • Voice over LTE

Install
  • Extract image (you need the .img)
  • Open TWRP
  • Backup your partitions data,system,vendor,cache,dalvik,boot (recommended - you better back up all partitions) ****
  • Wipe data/dalvik/cache/system
  • Flash the image (.img) in system partition ->Install->Select Image->Select System
  • Flash gapps if the GSI that you choose does not have google store
  • Reboot device
  • Apply fixes

In case you want to go back or bootloop
  • Restore  data,system,cache,dalvik,boot,vendor (if it still does not work restore all the partitions saved or use sp flash to restore firmware (do not format all + download))


****How to have your /data partition decrypted (you will loose all your files and settings at first to decrypt it) Benefit of this is because you will be able to backup and restore /data whenever you want with twrp
-Option 1
*credits to skeleton1911 from XDA forum
  • To edit fstab.mt6763 in vendor partition
  • Download Mixplorer from XDA Thread.
  • Open mixplorer and browse to system/vendor/etc/fstab.mt6763
  • Open that file and search for : (line 15)
  • Code :
    1. /dev/block/platform/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,errors=panic wait,check,quota,formattable,resize,forceencrypt=/dev/block/platform/bootdevice/by-name/metadata,
    Copy the Code
    Edit the file to this
    1. /dev/block/platform/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,errors=panic wait,check,quota,formattable,resize,encryptable=/dev/block/platform/bootdevice/by-name/userdata,
    Copy the Code

  • Save and turn off the phone
  • Wipe/format data partition in twrp
  • Start phone and follow the setup
-Option 2 (easy) *credits to Dirrool from 4pda.ru
Flash encryption_userdata.zip with twrp and format data partition (make sure you have your boot partition rooted before proceding)After that, you need to enter in twrp and format /data partition


Pictures for Pixel Experience Android 9 :



TWRP Download : You may loose the ability to use the fingerprint/imei so make sure you backup everything at first with TWRP. TWRP credits / change language_op1 language_op2
New TWRP Download -> Default language set to English + Orange Mode
I backed up all partitions and restore all of them at the same time and it creates no problem for me. If something is wrong you can always use sp flash but do not use (format all + download) in it.

Fixes :
1) increase height of system bar to cover notch (fixed the height but need some adjustements to the right side) *credits to Dirrool from 4pda.ru
   a) download the treble-overlay-umidigi-one-pro.apk file
   b) move this file using Root Explorer to / vendor / overlay
   c) add the line to the build.prop file located on the /system/build.prop path:
      ro.vendor.product.device = OnePro
   d) reboot the device.
2) NFC4PRA-GSI Download credits credits- Flash NFC Fix with TWRP (it applies on system.img) -> For now I suggest copying the system files manually into the system partition for nfc to fully work instead of just showing the nfc icon but not really working when using a nfc tag.
3) fixRIL - credits- Add those files in vendor to fix incoming calls and incoming sms (to vendor partition).

Fixes update :
-flash this into TWRP to fix NFC and RIL at once --> instead of fix 2) and 3) (in case nfc still does not work check permissions for the files in the patch)
-flash this to fix notch ( developer settings -> Simulate a display with a cutout ) with twrp --> instead of fix 1)
  • Default: applications in immersive mode will ignore notch
  • Tall Display Cutout: applications in immersive mode will adapt to the notch





umidigi_one_pro_notch_Android9.zip

835.62 KB, Downloads: 246

encryption_userdata.zip

131.82 KB, Downloads: 161

0

threads

13

posts

422

credits

Platinum Member

Rank: 3Rank: 3

credits
422
Post time 2018-11-15 19:44:03 | Show all posts
I've tried the benzo rom and i like it but as the smartphone marks as not certified by google i've returned to stock version waiting for the next ota. Anyway i think there are a good sign and maybe in the future when somebody can fix the problem with google certification i will install another treble rom.

Comments

Yeah I agree, if the certification issue is solved I would use Pie too as primary. Google Pay is an useful feature for me.  Post time 2018-11-16 00:19

12

threads

124

posts

728

credits

Diamond Member

Rank: 4

credits
728
 Author| Post time 2018-12-18 00:27:35 | Show all posts
Eragon link : here

0

threads

4

posts

34

credits

New Member

Rank: 1

credits
34
Post time 2018-11-9 12:41:16 | Show all posts
Seems works well. but not work any data communication.
It show as using LTE, but no data working.

0

threads

4

posts

34

credits

New Member

Rank: 1

credits
34
Post time 2018-11-9 13:40:20 | Show all posts
https://github.com/phhusson/treble_experimentations/issues/57
I think that shis issue is well known one. so we have to wait until phh's solution maybe... lol

12

threads

124

posts

728

credits

Diamond Member

Rank: 4

credits
728
 Author| Post time 2018-11-9 14:06:33 | Show all posts
本帖最后由 Ghost505 于 2018-11-10 02:20 编辑
naruchan 发表于 2018-11-9 12:41
Seems works well. but not work any data communication.
It show as using LTE, but no data working.

Thats odd, my incoming calls/sms are working fine after applying the fix posted
Also my mobile data on both 3g and 4g is working fine.
I can say that for the One Pro only

@naruchan,I will look into it again.

0

threads

4

posts

34

credits

New Member

Rank: 1

credits
34
Post time 2018-11-9 21:17:34 | Show all posts
I reset full-wipe(from original  rom),
write boot.img / recovery using tool.
after that. I write all.... but, same  result.
no 4G LTE. but ok for SMS..  (Also, tried both method of RIL fix... It's ok to get SMS.)

Hmm...

12

threads

124

posts

728

credits

Diamond Member

Rank: 4

credits
728
 Author| Post time 2018-11-10 02:48:35 | Show all posts
naruchan 发表于 2018-11-9 21:17
I reset full-wipe(from original  rom),
write boot.img / recovery using tool.
after that. I write all ...

Screenshot_Speedtest_20181109-134243.png
Nope, my lte is working. You have the one pro ?

0

threads

4

posts

34

credits

New Member

Rank: 1

credits
34
Post time 2018-11-11 07:44:24 | Show all posts
Ghost505 发表于 2018-11-10 02:48
Nope, my lte is working. You have the one pro ?

Yup. 2 lot of one pro.
both, same result.

0

threads

13

posts

422

credits

Platinum Member

Rank: 3Rank: 3

credits
422
Post time 2018-11-14 07:40:56 | Show all posts
Can't download from 4pda.ru Could you please upload the file NFC+Ril Patcher  to another server.
Thank you

Comments

done  Post time 2018-11-14 15:25

0

threads

13

posts

422

credits

Platinum Member

Rank: 3Rank: 3

credits
422
Post time 2018-11-14 18:12:32 | Show all posts
lemuag replied at 2018-11-14 07:40
Can't download from 4pda.ru Could you please upload the file NFC+Ril Patcher  to another server.
Tha ...

1234567Next
You have to log in before you can reply Login | WELCOME TO UMIDIGI COMMUNITY

Points Rules

Quick Reply Top Back to list