yashsingh1/xdaforums huggingface dataset:
[P8 Lite (2017) Development] Dil3mm4:
Preliminary operations/infos

First of all: what's Treble?

Find it out here.

How do I obtain my bootloader unlock code?

GO HERE, FAST!

Huawei officially ceased the unlocking service.

How do I get Treble on my device?

At the moment of this write down, EMUI it's still in private BETA.

The only chance to obtain it it's to follow this guide CAREFULLY.

What if I want to revert to EMUI 8/5?

Follow the steps described in the guide to get treble on your device using EMUI 8 files if you want to revert to EMUI 8, or EMUI 5 if you wish to revert to it.

The road it's long...

So, you're sitting there, not understanding why there are so much ROMs in this section and why you shouldn't use the ones appearing in Treble-Enabled Device Development since you worked so hard to get Treble on it.

Let's try to answer a universal question.

What's the difference from the "standard" GSIs and the ROMs in this section?

Well, the ROMs here were made keeping an eye on the "optimization per-platform" concept, basically tracking down some proprietary stuff inheriting them under /system .​

**WHAT FOLLOWS ARE PERSONAL OPINIONS**

I honestly think, that we should cut off this approach.

Inheriting stuff under /system has no more sense.

Am I saying that what I did till now had no sense?

Yes.

The whole Treble concept relies on moving away from system, any vendor related stuff.

So why in the hell should we inherit proprietary stuff in our system partition again?

When we have other ways to don't mess with it?

The only stuff that still "deserves" to have something to do with /system it's the Huawei Camera.

Everything else, belongs to /vendor.

Furthermore, our goal, as developers and users, should be to track down specific-platform bugs and report them.

Co-operation is the sake of open-source and the key to success in a wonderful GSI experience for everyone.
​
[P8 Lite (2017) Development] Dil3mm4:
Is my device ready to use a "standard" GSI?

Pretty much.

Huawei doesn't ship any overlay under /vendor in our PRA, because it's inherited in EMUI under /system.

But, you can follow this guide, to include the needed overlay to be fully GSI-ready.

Also, you need this thread too to fix offline charging on your Huawei device.
​

Known Bugs on GSI and "specific-GSI"

NFC has been an annoying issue all along the development process on some Huawei devices.

But this flashable zip, seems to solve the issue on our PRA.

Indeed it needs more testing.​

Available tools/software for your PRA

ADB and Fastboot

TWRP

MindTheGapps

Huawei Camera Magisk

OEMInfo (TWRP backup)

HuRU

Stock Ramdisk (ramdisk partition)

Stock Recovery (recovery_ramdisk partition)​

​

Specific-GSI available

Lineage OS https://xdaforums.com/p8lite/p8-lite-2017-development/rom-lineage-os-huawei-p8-lite-2017-t3787193

CrDroidhttps://xdaforums.com/p8lite/p8-lite-2017-development/rom-crdroid-4-2-huawei-p8-lite-2017-t3785615

AospExtendedhttps://xdaforums.com/p8lite/p8-lite-2017-development/rom-aospextended-5-4-huawei-p8-lite-t3778938

AOSPhttps://xdaforums.com/p8lite/p8-lite-2017-development/rom-aosp-r23-huawei-p8-lite-2017-t3779115

Resurrection Remix 6https://xdaforums.com/p8lite/p8-lite-2017-development/rom-rros-pra-t3774444

SlimRom 8

AICP​

Specific GSIs are now discontinued.

Go to the Treble Enabled Development sub to get some ROMs to flash!

NOTE:

This ROMs will be discontinued in a couple of weeks, since the installation of the overlay (previously highlighted in the paragraph "Is my device ready to use a "standard" GSI?") will give access to a full fledged GSI experience without the need of specific GSIs.

Custom kernels

Labyrinth​
[P8 Lite (2017) Development] Dil3mm4:
Disable encryption to use Adoptable Storage (or just because you can)

open /vendor/etc/fstab.hi6250

make a backup just in case

find "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"

remove ",fileencryption=aes-256-xts:aes-256-cts"

factory reset via stock recovery

If this isn't clear enough, please, check this contribution.

Playstore download pending fix

Access https://play.google.com/apps/testing/com.google.android.gms/join

Apply for the beta

Update Google Play Services to the beta

Profit

Magisk keeps crashing?

Turn off its "Check for update feature" and praise for the arrival of a new Magisk version.

From 16.6 version, Magisk it's fully working.

Please, refer to this thread for a correct installation.

How to report bugs

Boot problems:

Please do dump /splash2 partition and sys/fs/pstore content via adb pull in my TWRP.

adb logcat > file.txt

Quirks on booted system:

Please take a full bugreport when the bugs happens via Developer Options

or​

adb logcat > file.txt

send file.txt to the developer
[P8 Lite (2017) Development] Dil3mm4:
Hey you!

If you're reading this message I want you to help this community.

Share your thoughts about this posts or post your un-answered questions below.

The more we share, the best experience we'll get.

Also, please respect my work.

If you do integrate some of this infos in your thread/website or whatever, add me in the credits.

Furthermore, feel free to join us at [MENTION=595670]GSI[/MENTION]_HI6250 on Telegram, we're funny people, I swear.

Is this non-clear somehow?

Or you just need help?

Fill the help form below.

Device Variant:

Device Firmware:

Is your device rebranded?:

How frequently this issue happens?

Is this happening now?

Describe the issue:

Describe steps to reproduce the issue:

Attach logcats/full bugreports as described on the paragraph "How to report bugs"​

Or simply join the telegram group.

Peace.
[P8 Lite (2017) Development] _3rik:
Super Saiyan reserved

Lol
[P8 Lite (2017) Development] PPCholic:
THAT WORKED. FINALLY 8.1 WITH BOOTLEGGERS GSI, 128GB micro SDXC as INTERNAL. I AM HAPPY

for beginners:

boot after working rom in twrp

go in advanced

go to file manager

go to /vendor/etc/

open file "fstab.hi6250" (after copying with and having a recovery of it, open with notepad++ or something else)

there should be a line with: "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inlinedata,inlinexattr wait,check,fileencryption=aes-256-xts:aes-256-cts"

erase the part: ",fileencryption=aes-256-xts:aes-256-cts"

save

erase the original fstab.hi6250 file in vendor/etc

and put the new fstab.hi6250 file in

reboot in bootloader

flash stockrecovery.img

reboot recovery

factory reset in stock recovery

reboot

DONE.

now you can see the SD card as internal and use for apps.
[P8 Lite (2017) Development] Mister746:
Need your help

Hey OP,

Thanks for all your work. Really a big fan.

There is a problem I've noticed on most of the treble roms. After using apps for a while, they begin to FC.

Love your roms and would like to continue using them
[P8 Lite (2017) Development] Dil3mm4:
Updated last post, please submit the infos needed via that form.

Thanks.
[P8 Lite (2017) Development] aciupapa:
Hi, i am experiencing a weird bug on every GSI, specifically, snapchat video recording is fine and smooth, but after tapping on the "send" button it says "failed to add" and doesnt even give a chance to resend the same snap. It happens on all treble roms i've teted so far (i tested every specific GSI for PRA, and some openkirin and otger ones). [MENTION=1087847]dill[/MENTION]3m4 do you have any idea how to fix it? I hope there is a way to do a flashable zip or something like the NFC fix. Once i get back home (2-3 days) i will post some logs, in the meantime, can someone please confirm if the issue persists, and gather logs? ?
[P8 Lite (2017) Development] jedtan025:
can i use this method in stock firmware(rooted) because i cant see any fstab file in vendor/etc/
[P8 Lite (2017) Development] neondragon1909:
Just making sure but you are on emui8 right? Also are you checking with a file manager in Android or are you searching in twrp?
[P8 Lite (2017) Development] jedtan025:
im searching in twrp bro. bro question. im using pra lx2 oreo firmware. and im wanna go back to nougat. it is possible? i got the firmware now but dont know how to flash nougat. dload failed. and i cant use hurupdarer bcos nougat firmware only has 2 zip file
[P8 Lite (2017) Development] Mister746:
I couldn't find the file using TWRP either. Had to use root explorer to find and edit the file. As for hurupdater, I'm not sure if it's the same for your region, but for pra-la1 there were 3 files.

And as for the the 2 files, I successfully flashed using the updater with only the update.zip so try updating anyway. If that doesn't work, use the eRecovery
[P8 Lite (2017) Development] Dil3mm4:
Update:

Added Magisk news;

Added stock PRA ramdisk
[P8 Lite (2017) Development] Dil3mm4:
UPDATE:

Added Offline Charging Fix in post #2

Added references to Treble Enabled device development;

New Huawei Magisk Camera;
[P8 Lite (2017) Development] cyprian99:
Hello,

I'm having problems finding the download links in the guide to obtain Treble, I've searched here and clicked on the link to the guide but there i can't find it eather.
[P8 Lite (2017) Development] _3rik:
Obtain what?

Treble roms?
[P8 Lite (2017) Development] WTF!?:
Yay! Emui 8.0 has arrived on my c432 pra-lx1 (b360) . Everything is perfect.
[P8 Lite (2017) Development] skcusadx:
The guide to get treble is unclear, how can the very first step be to download update.zip? I did and now i have a trojan, thanks a lot
[P8 Lite (2017) Development] elojohny:
How to unlock bootloader? Now the Huawei site is unavailable

Wysłane z mojego PRA-LX1 przy użyciu Tapatalka
[P8 Lite (2017) Development] jeuxtype:
thanks but i don't understand why ussd codes don't work in all roms. that's the only problem i'm having
[P8 Lite (2017) Development] Laptapper:
Hi, I've read that there's no GSI Rom which has fully working Bluetooth audio and in call, only one of them works?
[P8 Lite (2017) Development] Dejvid50:
This is Huawei thread, not Samsung..
[P8 Lite (2017) Development] Elzewir:
Cant flash on redmi 5 plus
[P8 Lite (2017) Development] Elzewir:
i dont have vendor/etc and this file fstab :( what now?
[P8 Lite (2017) Development] Momin8454:
Hi, I did this as you said, but nothing happened

The above said file restored itself. Please help
[P8 Lite (2017) Development] Momin8454:
I flashed Magisk Huawei Camera, but it keeps crashing, help

https://del.dog/epafuruzat
[P8 Lite (2017) Development] m4rcs90:
I'm having trouble preparing my P8 Lite 2017 for a GSI aka "Disable encryption to use Adoptable Storage".

My bootloader is fully unlocked and I managed to install the latest official Huawei ROM (8.0.0.410) using HuRUpdater 0.5 (https://xdaforums.com/t/21-07-2019-emui-8-x-twrp-3-4-0-0-for-huawei-p8-lite-2017.3953122/). When I follow the instructions to edit the /vendor/etc/fstab.hi6250 file, I never get past the step "factory reset via stock recovery". Either the progress is stuck at 0% or I just see the EMUI logo with no progress at all.

I used HuRUpdater 0.5 (https://xdaforums.com/t/21-07-2019-emui-8-x-twrp-3-4-0-0-for-huawei-p8-lite-2017.3953122/) to flash the official Huawei ROM.

How can I decrypt the data partition?
[P8 Lite (2017) Development] Dhana96:
You can try this method to flash GSI

1 - Reboot to TWRP recovery

2 - Format data

3 - Reboot to recovery

4 - Wipe, Advance wipe (System,Data,Cache)

5 - Reboot to bootloader, Flash system

6 - Reboot to recovery

7 - Flash optional files (Gappps,Patch, Etc)

8 - Flash DM-Verity, ForceEncrypt zip

9 - Profit 😀

But I never got boot Darkjokers AOSP 10 rom. I don't know why. Im on hi6250 too. My device is Honor 6x. Same as you faild to fstab file edit. In my case my fstab didin't have that line "Force encrypt ------" and yes of course I can't factory reset via Stock Recovery too. It's give me some error message.
[General Questions and Answers] Linux215:
Does anyone happen to know how to turn off the android update notification that pops up and takes up the entire phone screen?

I'm using a Rooted & Unlocked Motorola Z2 Force, T-mobile branded but AT&T Service ( Purchased through T-mobile but currently using AT&T service)

Update notification pictured below *
[General Questions and Answers] Lukedelf04:
Have you tried removing the android system updater app using titanium backup or another tool?

Although that would break updating unless you go back to stock rom :(.
[General Questions and Answers] Linux215:
Thank you for the reply.

But no I haven't uninstalled or froze any App's yet. I've only turned off all the notifications I could find. I've been able to turn off all the update notifications besides one, it's a full sized pop up that seems to randomly pop up and take up the entire screen until I hit back a bunch of times .
[General Questions and Answers] Linux215:
Bump
[OnePlus 6 Questions & Answers] droid_1989:
My Pixel XL is pretty much on it's last legs, I cracked the back, I have screen burn, it's overheated on me and it just generally feels sluggish. Everything is pointing me to get the One Plus 6 apart from the speakers - I have read and watched people say that the speakers are just tinny and don't sound great.

This could be a deal breaker for me, as I do listen to music on the phone and watch videos without headphones and/or casting - roughly about an hour or two a day.

I'm trying to decide whether I should go cheap with the One Plus 6 or whether I wait for the Pixel 3 XL.

I read someone on twitter state that an update fixed speakers sounding tinny - now I know this is hardware so nothing will really change - however can someone confirm that the speakers have got better via an update? As the videos I have watched and more than likely created when the device was released (pre-update).

I used to root my device left right and centre at any chance I could get - but due to work commitments and generally less free time to when I was younger, I don't want to have to mess around rooting, applying patches for Android Pay and other apps with Xposed just to improve an audio hardware issue - as I suspect some of you will point me to Viper4Android.

Thanks in Advance!
[OnePlus 6 Questions & Answers] audinak2:
The speaker is fine, sounds better than the Pixel XL, slightly lower quality than OP5T because of the waterproofing
[OnePlus 6 Questions & Answers] droid_1989:
Yeah, I could even end up getting the OnePlus 6 and then buying the Pixel 3 XL later down the line. I just didn't want to get to the phone and then be so disappointed by the speaker that I send the phone back in accordance to their 15 day return policy.
[Honor 10 Guides, News, & Discussion] XDARoni:
1. Private Space

Settings > Security & privacy > PrivateSpace

Private Space is a separate account where you can hide all of your private files, photos, videos and apps. You setup this account with a pin and fingerprint password. After you're all set up, you can access your private space by pressing the fingerprint sensor which will log you in to your separate account. Your main fingerprint will be used for your primary account and a separate fingerprint will be used to access your private space. It's really fast and secure, which makes this a great EMUI feature.

2. Face Unlock

Settings > Security & privacy > Face unlock

Face unlock technology has gotten so good, that it's now one of the favorite way to unlock your phone. After setting up your your face unlock on your Honor 10, picking up your phone will automatically trigger the face detection. It only takes a fraction of a second for your phone to unlock. I use face unlock with my Honor 10 and it works from all different angles and lighting conditions.

3. App Lock

Settings > Security & privacy > App Lock

In EMUI 8.1, you don't need to download an additional app to lock specific applications with a password. In your settings, you can toggle which apps to be locked behind a four digit pass code. You can also associate a fingerprint with the locked app, so you can unlock with your finger as well. I use the app for my file manage, Play store, Gallery and Snapchat.

4. File Safe

Settings > Security & privacy > File safe

File safe is a security feature that lets you set an encryption to specific files and folders within your Honor 10. When trying to access these files through the file manager, you'll get a password prompt to continue.
[LG G5 Guides, News, & Discussion] Rauch64:
So I stumbled on this and instantly was thrilled and thought everyone else would enjoy being able to have full IR functions again also.:highfive:

(Or not I guess it won't let me post links..) I have the downloadable link to the full Lg Developer SDK package if anyone is interested.

If someone would like to experiment with it I'm sure it could be implemented into future ROMs.
[LG G6 Questions and Answers] mysticvirus:
hi sorry for my english

i have a problem with my g6

here a video off my problem: https://www.youtube.com/watch?v=m8_WxWDnYDw

if I installed a rom and system reboot did not have os installed and he starts twrp again and i see only that the memory is empty that is 22.3 of 22.4 GB

Also stock ROM can not be installed and custom also not

ps: by flashing roms is no error

here likns to the roms i have tested

https://xdaforums.com/lg-g6/development/rom-eu-lg-h870-20a-rom-t3794503

https://xdaforums.com/lg-g6/development/rom-op-il-lg-h870-11d-rom-t3711191

https://xdaforums.com/lg-g6/development/rom-resurrection-remix-v6-0-t3754617

twrp version 3.2.1-0

please help!
[LG G6 Questions and Answers] Mnky313:
Have you tried downloading a new copy and rebooting to recovery again? maybe try reflashing twrp?
[LG G6 Questions and Answers] mysticvirus:
ok i have roms redownloaded and nothing is better i try reflashing twrp
[LG G6 Questions and Answers] mysticvirus:
okay i have reflashin twrp my new version is 3.2.2-0 and i have see that after flashing and hit the reboot button is twrp instantly displaying no os installed.

also twrp can´t write the os into my phone what can i do.?

adb sideload have i tested same problem.

can I create a new partition maybe the current one is broken or why is nothing stored there.?

ps: Internal Storage can´t be Repair or change File System in Wipe/Advanced Wipe option repair or change file system
[LG G6 Questions and Answers] N1X0M:
First things first, try booting regardless, every time I flash the stock Oreo rom V20A, it says no os installed

(I recommend having an SD card to put the rom on) go to wipe and format your data, once having done that wipe everything Dalvik, Data, System, Cache. But not the SD card. Then after that, go to flash, select your SD card then flash the rom.
[LG G6 Questions and Answers] mysticvirus:
Ok i will try it when i at home

But i have try this method already

I think no partition is exist

The phone cant safe the os in storage

And by flashing it finished without errors

Only twrp says no os is installed after installed any rom
[LG G6 Questions and Answers] mysticvirus:
so i have try it [MENTION=9105994]N1X0M[/MENTION] here a video same problem i cant install os or the os cant be save in my phone

http://https://www.youtube.com/watch?v=m8_WxWDnYDw
[LG G6 Questions and Answers] mysticvirus:
Can anyone help me?
[LG G6 Questions and Answers] mysticvirus:
ok i need no more help
[Tilt, TyTN II, MDA Vario III General] mcall_r:
Hey guys

Just recently got a Tytn II on the UK Orange network. I love it so far but there are a couple of hardware flaws I have noticed and are quite annoying.

1) The front keypad with the call send/end buttons is very loose and wobbles from side to side, as if the hole that it is in is too big for the keys.

2) The space bar on the qwerty keyboard doesnt seem to work all the time, and i will find myself when typing texts/emails with text which looks like "This is at est sentencef or my complaint" if you can see where im pointing. This one is even more so annoying because i have to be careful when typing fast. At first i thought it was something to do with PalmSMS in duttys new ROM but i uninstalled that and the same is happening. I didnt notice it when i first got my kaiser but only after the first 2 weeks have i noticed it.

Hope someone can relate to these problems.

Thanks

-mcall_r
[Tilt, TyTN II, MDA Vario III General] grandpareza:
im having the same problem. I've had two different Tilts and the buttons are both very wobbly. Not really a big issue to me though.
[Tilt, TyTN II, MDA Vario III General] ChInEsE ChIcKeN:
i think its like that for all tilts, my is like that as well, but i havnt really noticed the thing about the space bar though...
[Tilt, TyTN II, MDA Vario III General] MorKaiser:
yup, same here. not an "issue" for me though, as it doesn't affect anything. My spacebar works fine, I'm a text maniac so if it wasn't working I'd notice...

If your spacebar is still malfunctioning after flashing a different rom, I'd be concerned. My keypad is much more responsive using a well cooked rom.
[Tilt, TyTN II, MDA Vario III General] knytphal:
Yeah, I'm pretty sure there have been a couple of threads about the general build quality of the Kaiser.

The silver call/send keys on the bottom are really nothing to get too worked up over though.
[Tilt, TyTN II, MDA Vario III General] mcall_r:
Yeah the front keypad doesnt really bother me that much it was just to see if it was common on alot of devices. I actually work in an orange shop and have sold alot of kaisers where the front buttons were fine.

As with the ROM thing, i never thought of that but coming to think of it now i noticed it when i started using duttys latest rom with PALMSMS built in. I tried the non-palmsms version and the same thing occurs. I like that version because anything earlier, xT9 interferes with the hardware keyboard.

What is the exact version of the dutty ROM you are using?

Thanks
[Tilt, TyTN II, MDA Vario III General] Willie3white:
Same here wobbly keys bother me at first now I kinda like to wiggle it around when i am bored
[Tilt, TyTN II, MDA Vario III General] pinx:
I noticed that, too. No big deal, really :)
[Tilt, TyTN II, MDA Vario III General] PhoenixAG:
I too have the wobbly front keypad. I think its the same for all Kaisers. Nothing to worry about IMO. It works just fine and doesn't look like it'll be breaking anytime soon.

Regarding the spacebar, it actually is 2 keys rolled into one. So if you press in the middle of it, nothing will happen. Try pressing on either the right or the left side and you should have no problem. Takes an hour to get used to it :)
[Tilt, TyTN II, MDA Vario III General] mcall_r:
LOL you might want to reword that ;)

and Pheonix, i know that i had always been typing properly before and it was fine, it was just the ROM i was using. I reloaded it and its fine, no problems!!!! :D

Cheers for all your input guys
[Tilt, TyTN II, MDA Vario III General] bshakil:
WOW .. i didnt expected soo many guys with the same wobbly issue... i was really annoyed by it .... Especially when i am playing any Game which requires fast repsonse.... i once tried to put a piece of small paper under the Buttons .. so it would fix it in place... but after that buttons didnt work properly... but after 6 months of usage .. i now hardly notice the Wobbly Front Pad...
[Tilt, TyTN II, MDA Vario III General] fone_fanatic:
I'm on my 2nd kaiser (both tilt variants) and they both had the d-pad slides on both of them. I noticed its more on the left side, where the answer button is, it'll move up and down.

Also if what you type comes out slow on a rom, try the disable xt9 cab floating around, i know that was the fix for some of the roms.

Kinda sucks when what your typing comes out messed up and you send it without reading it and then people think your drunk... not good for business! :D
[Tilt, TyTN II, MDA Vario III General] MaicohSasha:
front keypad, ironically, just started to wiggle around yesterday. I've had it about a month (Kaiser-TytnII Pro). No issues with the inside keyboard(yet) though
[Tilt, TyTN II, MDA Vario III General] mcall_r:
hmmmm seems to be a flaw in all kaisers.

i dont think the t-mobile MDA version would be like that though.. the keypad is different on theirs.