yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Questions and Answers] puflynx:
wow that was fast but i flash twrp,,,whether or not i swipe to allow modification,,, i flash the file (patch_uncryptable.zip), i select rm-rf instead of formatting, go to wipe, select format data, type yes and boom..... failed to mount /data (invalid argument) , unable to format to remove encryption, updating partition details........, failed to mount /data (invalid argument)..... done.

this is what happens bro
[Treble-Enabled Device Questions and Answers] chandan2000:
Oh then do without rm -rf option

---------- Post added at 11:28 AM ---------- Previous post was at 11:27 AM ----------

I think you dont have to select rm rf
[Treble-Enabled Device Questions and Answers] puflynx:
:crying: still stuck at decryption unsuccessful.. now im beginning to hate this phone
[Treble-Enabled Device Questions and Answers] chandan2000:
Reboot again in twrp then wipe data bro
[Treble-Enabled Device Questions and Answers] puflynx:
yeah i did exactly that
[Treble-Enabled Device Questions and Answers] chandan2000:
If you got any problem contact me on telegram

https://t.me/chandan29
[Treble-Enabled Device Questions and Answers] s2k7:
Try this one.

https://github.com/phhusson/treble_experimentations/issues/57#issuecomment-443357373
[Treble-Enabled Device Questions and Answers] Spaceminer:
The fstab is in your /vendor partition. Send me your TWRP and I'll fix it so can mount /vendor. After that, flash the universal dm-verity encryption disabler. Then format (not wipe) /data. Your problem will be solved.
[Treble-Enabled Device Questions and Answers] puflynx:
twrp an stock recoveries can be found here..

https://drive.google.com/drive/folders/1Hdyh3ZtysayWl1qAHFHjgDzzoEJjVdMv?usp=sharing

looking forward to a final solution.

by the way, similar lines found in /vendor/etc/fstab6763 is also found in vendor/nvdata/fstab6763 as well. i guess both must be edited simultaneously

stock boot img also has dm-verity enabled
[Treble-Enabled Device Questions and Answers] Spaceminer:
I think you're correct about both fstabs needing to be edited. I'll fix up twrp shortly. Do you have a forum for your device? If so I'd like to share it there.
[Treble-Enabled Device Questions and Answers] Spaceminer:
[MENTION=5567559]puflynx[/MENTION]

Vendor enabled twrp. Check the attachments. Just unzip it first. If flashing the universal dm-verity disabler does not work with this, then use twrp to pull both fstabs and send them to me. I'll fix it manually if I need to.
[Treble-Enabled Device Questions and Answers] puflynx:
this has so far sustained for an hour and counting. i lost signals ones but after dalvik wipe.. it got back on. i will use it for a while and present a feedback. Thank you. :good::good:
[Treble-Enabled Device Questions and Answers] Spaceminer:
Your new vendor enabled TWRP is up. It's on page 3, last post. Let me know how it works.
[Treble-Enabled Device Questions and Answers] puflynx:
thank you very much for this.. there was a huge progress booting pass the decryption unsuccessful page. Its unfortunate i couldnt get sim cards to work. i was about going through all the process again but right after unlocking bootloader, i followed [MENTION=358669]s2k7[/MENTION] post and everything is working so far.. i dont know how but i only changed both vendor/etc/fstab6763 and vendor/nvdata/fstab6763 lines to encryptable and userdata instead of metadata. everything is ok now. im using RR pie treble rom and network and LTE data are working fine.. ive not confirmed incoming calls and sms though but outgoing calls work. im leaving this here for those who also had issues with mtk ril issues .
[Treble-Enabled Device Questions and Answers] puflynx:
Hello there, I flashed your twrp over the previous yesterday. I really love it, i realized more other partitions are enabled even for backup too... Great... With effect to that, I just realized changing fstab to encryptable or any form of decrypting brings cell network problems. Bars keep going off and on.. If bars stays on for long, then there's something not going right as both sim cards are disabled until I reboot. It works for few minutes after reboot but eventually disables again. Calls don't work when that happens. Whenever I want to make calls, I have to reboot. Any idea how the decryption breaks the network connection???... Thanks
[Treble-Enabled Device Questions and Answers] Spaceminer:
I honestly have no clue what causes it. I think your best bet for tracking it down though, would be to run a log and filter for ril or modem when you experience an issue. It might lead to a fix. I read not too long ago on github, countless reports of the same nature. Essentially, changing encryption breaks the radio in various ways for MTK devices. For some hex editing certain libs would provide a fix or partial fix, but I've never came across the actual reason it happens, or a solid solution to it.
[Treble-Enabled Device Questions and Answers] puflynx:
I have been following github thread too. The hex editor concerning libmtkril.so I actually can't edit that as the file opens in unreadable contents. I don't know if there's another special editor for that but notepad++, es file manager and mixplorer open it the same way..

---------- Post added at 02:47 AM ---------- Previous post was at 02:45 AM ----------

I'm not good at taking and reading logs. Honestly I'm not :o
[Treble-Enabled Device Questions and Answers] Spaceminer:
[MENTION=5567559]puflynx[/MENTION]

HxD is probably the best tool I know of for hex editing. You can find that here, though it only runs on Windows. There's a few on the play store for android but they don't work very well. If you want to upload libmtkril.so and tell me what needs to be edited, I can do it for you. If you do have a Windows PC, I suggest giving it a try yourself though. Hex editing is relatively easy in my opinion. And with instructions on what to change, it should be a breeze.

I don't blame you when it comes to reading logs. That stuff isn't for everyone. Some things in android take a while to click, and that was definitely one of them for me. I didn't even touch them for years.
[Treble-Enabled Device Questions and Answers] Matty1993:
For all of those having trouble with no calls or sms etc etc have yous ever thought of switching out the

Etc/firmware whole folder &

/etc/apns-conf

In the firmware zips to those of your devices stock rom

??? Thats always a big leading cause to issues with the emergency calls only and data sms and calls not working. I had this this problem on an MTK6737 but i also added a folder named modem if thats present get rid of that first then re zip it and try then still got signal problems switch out the firmware folder to then zip it back up

Even though some devices are the same model they have ever so slight differences not all but some anyway
[Treble-Enabled Device Questions and Answers] puflynx:
I wanted to change vendor/lib and also in /vendor/bin for the string "AT+EAIC=2" as suggested in the thread but I can't find it libmtkril.so among the files

---------- Post added at 05:30 PM ---------- Previous post was at 05:28 PM ----------

Could you please clarify this suggestion a bit for me because I'm getting confused as to which folder needs to be replaced with what....
[Treble-Enabled Device Questions and Answers] Spaceminer:
[MENTION=5567559]puflynx[/MENTION]

I would search for any files with "ril" in the name, in those 2 locations. Then search each ril lib you find using the hex editor. (If I'm remembering correctly, F3 jumps to the next search result, Shift+F3 goes backwards.) There's probably no more than a handful of "ril" libs in there. You could probably search them all in under an hour. If there's like 20 in there for some reason, you are welcome to send them to me and I'll help you with searching through them.
[Treble-Enabled Device Questions and Answers] puflynx:
thank u and sorry about the long minutes spent in typing this.. but as you said somewhere there, i guess the firmware was the vendor build type. I cant find firmware and other lib files in system img but they are in vendor img. How do i go about that??
[Treble-Enabled Device Questions and Answers] Matty1993:
Hey mate,

Even if it was a vendor build you will still either have a system folder or system.img or system.img.br qith vendor build they are only designated for a majority to the vendor folder do you not have any system or system img of any type when you extract the rom.zip using 7zip ? Or is the img name vendor.img ? If so its been renamed and that will be your system.img in which youll need to extract it using the program classy kitchen designed by another xda member here at xda to properly extract the .img file so that you have the /system folder to make the file changes

Once you have access to the system folder you will need to look at the name of each lib you are changing as some will need to be replaced from /system/lib/ & some will need to be changed from /system/vendor/lib/ you will need to scroll through each lib folder until you find the correct lib to replace as you dont want to have to different libs trying to do the same thing this will cause problems if the lib is in the right /lib folder youll get a prompt to replace the file on PC in which do so if you dont get the prompt it shouldnt be in that /lib folder,

With the firmware folder if you dont find it in /system/etc/ it will be located wither within system/vendor/ under /firmware or /system/vendor/etc/ under /firmware dont forget to delete the entire folder and copy the entire /firmware folder from stock
[Treble-Enabled Device Questions and Answers] puflynx:
My stock rom is in zip format, after extraction there's boot, recovery, system, vendor, userdata and others all in img format. So I have both vendor img and system img. With separate partitions. But what I meant was, firmware isn't in system.img but rather vendor.img. So do I have to copy and replace the necessary files from vendor to the flashed gsi system folders?
[Treble-Enabled Device Questions and Answers] Matty1993:
Hey mate,

Yep so if its in vendor.img your carrier has modded it to there, so take the firmware file from vendor.img & place it wherever you find your /firmware folder on the rom your trying to fix along with all other files to where ever they may be located, have honestly never seen a /firmware folder within a vendor.img, only traditional system.img & also custpack.img on some devices
[Treble-Enabled Device Questions and Answers] 4ctiv_:
Same here using the Umidigi One Max [MTK 6763]
[Treble-Enabled Device Questions and Answers] umionePH:
same issu here. i got a bunch of and9 and and8.1 GSI yet all have the same effin proble. No LTE and mobile data connection. btw I also have an Umidigi one device

---------- Post added at 11:37 AM ---------- Previous post was at 11:34 AM ----------

same issu here. i got a bunch of and9 and and8.1 GSI yet all have the same effin problem. No LTE and mobile data connection. btw I also have an Umidigi one device
[Treble-Enabled Device Questions and Answers] umionePH:
nope any roms will have the same issue
[Treble-Enabled Device Questions and Answers] Veiran:
I have an Umidigi F1 and am experiencing the same data problem.

[MENTION=9139800]Matty1993[/MENTION] I'm having difficulty following along with your instructions. Umidigi has provided their stock firmware as a .zip file, and contained within are a series of images (boot.img, cache.img, recovery.img, system.img, etc.) and no folders. Since I have root, I've tried following along by taking folders and files found on the installed stock firmware + GSI and making edits/replacements on those. This only gets me so far until you mention taking the three folders/file and zipping them back up.

FYI, I've successfully installed the GSIs using the Smart Phone Flash Tool (SPFT) from MediaTek. In case that's somehow relevant to anything.

I'd appreciate any help you're willing to give and will provide additional information should you require it.
[Treble-Enabled Device Questions and Answers] Veiran:
Anyone reading this thread anymore? I'm still trying to resolve my data/carrier issue but don't know where to go next.

Another person said their same phone (Umidigi F1) is working with data on T-Mobile. My carrier is Verizon, though, and mine doesn't work. I've already tried modifying the build.prop in /system and /vendor; namely, the ro.product for model, brand, name, and device. I've tried modifying apns_conf.xml and spn_conf.xml. It seems as though Verizon themselves don't like something about the new ROMs (namely those derived from AOSP), but I have no actual clue what it could be.

Does this seem familiar to anybody? Any thoughts on what else I can try? I don't want to have to revert back to the stock OS and I don't want to sell it...
[Treble-Enabled Device Questions and Answers] Shamim0242:
I have mt6739 Oreo Go edition devices

1st time I brick my phone

After flash firmware

4g connection not working properly

When I connect data it showing 4g after a few moment it show E signal , I can't use 4g net because of this issue.
[LG V40 Questions & Answers] GiftigDegen:
I noted with sadness that my brother's Pixel 3 XL has in developer settings the option to disable the notch and slide the status bar down and we don't in our developer settings. Yes, he has a larger forehead, but then his notch is twice what ours is.

Wondering if there's a way to achieve this same result with a modification of some kind? It's been 4 years since I last messed with mods or roms or even unlocking the bootloader, etc. But I really hate that half of my status icons and notifications are behind a stupid cutout.

Would love suggestions.
[LG V40 Questions & Answers] Ainz_Ooal_Gown:
Reply same there's an option for the "second screen" but not for all apps...
[LG V40 Questions & Answers] harysviewty:
What about immersive mode? Using adb? You can search immersive mode on playstore
[LG V40 Questions & Answers] Ainz_Ooal_Gown:
I haven't tried
[General Questions and Answers] Bdean057:
I have a Moto x4 not rooted. Ineed to recover deleted texts for a legal case. Is it possible to recover texts without wiping phone? Or if a phone back up is made will it back up all deleted info too?

Thanks
[Huawei P9 Questions & Answers] melendi:
Hello, yesterday I rebranded my P9 to Chinese Oreo to flash Resurrection Remix Beta 3 for daily driver. I fashed it (RR) via fastboot and till this point everything went okay.

When I wanted to wipe data/cache in stock recovery, wipe failed and instantly "normally" booted to the system.

Here is where the problem is: I cannot boot into fastboot nor recovery (to succesfully wipe data). I tried everything (plugging USB into phone and holding Vol -, it boots the same way to system. There is no way of charging when the phone is off. In every way it boots to system -> SEE SCREENSHOT. and NFC is not working (I think because of failed wiping data).

It everytime boots like on the picture

Does anybody has any tips to get it working?
[Huawei P9 Questions & Answers] melendi:
I finally get it working properly by using other usb cable to boot to fastboot. Strange things is that the first one is now working with fastboot too...

My bad, I did not realize that ResurrectionRemix ROM from Treble Project do not have NFC.
[Samsung Galaxy Tab S4 Guides, News, & Discussion] LenAsh:
dzhhh
[Xiaomi Mi 8 Guides, News, & Discussion] JoB46:
http://bigota.d.miui.com/8.11.23/miui_MI8Global_8.11.23_87f3f97f9b_9.0.zip

with recovery-TWRP-3.2.3-1110-XIAOMI8-EN-wzsx150.img

no changlelog available
[Xiaomi Mi 8 Guides, News, & Discussion] chris1126:
Is OK Google working?
[Xiaomi Mi 8 Guides, News, & Discussion] Diexmax:
I flash and work perfect.

But

I return for MIUI.EU 8.11.15 because i have a great problem. After flash MIUI.EU based ROM, when i return for MIUI Global based ROM i dont can charge region. Only China is avalaibre in options.

And with this, i dont can active facial unlock. Only work in Índia, Indonésia, Hong Kong, etc.

I try various ways. I return para OREO, I flash old version Global Beta, I retired MIUI account from device and nothing fix this.

Now, i only can use MIUI.EU based rom because dont need charge the region for facial unlock work.

Someone can help me?
[Xiaomi Mi 8 Guides, News, & Discussion] bahuy2003:
You can flash new EU rom againt. You can't change region in Global rom.
[Xiaomi Mi 8 Guides, News, & Discussion] Diexmax:
Now i can fix! One friend send me a zip called region fix. Now i can change region in Global again.
[Xiaomi Mi 8 Guides, News, & Discussion] By.TRabZonLu™:
How can I install this update from twrp?

https://i.hizliresim.com/ZX1y3Z.png
[Xiaomi Mi 8 Guides, News, & Discussion] Marshy33:
Yes it is fixed.
[Xiaomi Mi 8 Guides, News, & Discussion] pumpa007:
Can you share the link for that zip?

Thanks...
[Xiaomi Mi 8 Guides, News, & Discussion] plouprou:
Wasted space under notch is larger in this ROM (8.11.23).
[Xiaomi Mi 8 Guides, News, & Discussion] Diexmax:
http://www.mediafire.com/file/jw511jvm47wucsa/MIUI_region_fix.zip/file
[Xiaomi Mi 8 Guides, News, & Discussion] angeloamorato:
How can i back from latest china beta to china stable?
[Xiaomi Mi 8 Guides, News, & Discussion] pumpa007:
Thank you!
[Samsung Galaxy Tab E  Guides, News, & Discussion] LenAsh:
gh\hdh
[Sable] klaxhu:
hello all,

after I managed to change my WM5 from Spanish to English, I have another small problem ...

The layout of the keyboard is now english, and I would like it to be spanish, so I can see/write special characters.

Question is, if there is out there a program or registry hack that can change the keyboard layout to other then ENG.

I searched, but couln't find any option in the standard windows settings.

Cheers,

K.
[Sable] klaxhu:
I've tried the registry edit version from xda wiki, but maybe I do something wrong ? ..cause is not working ...
[Sable] drahtman:
Hi Klaxhu !

:cool:Yes, there is registry hack:

[HKEY_CURRENT_USER\keyboard layout\Preload]

"Default"="e0010407"

[HKEY_CURRENT_USER\keyboard layout\Preload\1]

"Default"="e0010407"

[HKEY_LOCAL_MACHINE\Software\Oem\Qwerty]

"Layout"="20407"

This example is for German layout and English ROM. In attach you have free registry editor

Best regards

Drahtman
[Sable] klaxhu:
thanks man

I will try this too ...

I tried already some other things found on the forum ...

the right code I have also, now I will try with your method too ...and make all that changes

what I don't get..is that everyone is saying, I shoul now reseft after the change with stylus, BUT with holding Powerbutton for 5 seconds ??? if i do that, a menu appears with profiles, but it will not reset ...whatever I choose ...

any ideas???

hehe, nevermind, with your help I overcomed this TOO !!! :)

thanks man !

after all this, I really consider of making a small guide for thouse who need this kind of changes, complete with roming/files and regediting .. :)

thanks xda developers and thanks to Drahtman !! and Wikidorg !!!
[Sable] drahtman:
Hi

Yes, after you finish vith reg editing you must reset your phone with stylus on the right side of the active sync connector. This is it.

Best Regards,

Drahtman
[Samsung Galaxy S9+ Questions & Answers] nilwhite:
I want to my current rom G9650ZHU3ARK1 flash into G9650ZCU3ARK1 , lots of tutorials in the internet said that I don't have to turn off the OEM lock. I think that is because I didn't turn off it. I use odin 1.13.1 and ADB is installed, and after odin started progress, it shows me failed .

Then I have to reboot my phone, but there's a warning "An error has occurred while updating the device software. Use the Emergency recover function in the Smart Switch PC software."

I tried Smart Switch but no device shows in the emergency software recovery option .

And now my phone can't even shutdown, or can't enter downloading mode anymore. or recovery mode ( volume up + bixby + power ) , the only thing that it can do is reboot into error interface.

I don't know how to recover my phone, anyone can help me? please.
[Samsung Galaxy S9+ Questions & Answers] NklaTsla:
hey, same issue here, do u fix it?

if yes, can u tell me how can i enter download mode? i`m stuck in "an error..." screen, cant enter download mode :C
[Moto G5 Plus Guides, News, & Discussion] nicolap8:
Hi all,

I had to reflash the stock, using the Lenovo Moto Smart Assistant. (Because the OREO OTA refused to install).

I connected the phone, followed the instructions (and backed up the data) but BEFORE starting the "rescue" process (and after completing the download) I modified a file!

Go in the "c:\ProgramData\LMSA\Download\RomFiles" folder, you will find the unzipped ROM folder, mine was "POTTER_NPNS25.137_93_14_cid50_subsidy_DEFAULT_regulatory_DEFAULT_CFC.xml"

Inside you have near 3GB of files.

Open with a text editor (notepad) "flashfile.xml" and delete this line (near the end):

<step operation="erase" partition="userdata"/>

Save the modified file and let the Smart(!) Assistant do the rescue.

After some minutes (be patient... nothing moves for a lot of time) the phone will reboot.

And your data is all at his place!

WARNING: in some cases the data format has a reason! Eg. if you flash a different ROM the system apps will find the old version settings and behave badly...

In my case I flashed the SAME ROM version so there really no reason to format.

Nicola
[Moto G5 Plus Guides, News, & Discussion] goodjuju:
LMSA does not recognize my rooted phone. I think your process is good for stock un-rooted devices. Correct?
[Moto G5 Plus Guides, News, & Discussion] nicolap8:
No. My phone was (and is) rooted.

The ROM was stock, with minor (unwanted) modification.

It's ADB working? Test it separately.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
My device is rooted with magisk and recognized by Smart Assistant. I used it to download full fastboot firmwares
[Moto G5 Plus Guides, News, & Discussion] goodjuju:
Hmm... mine is too - but LMSA does not recognize - strange. It recognizes only when unrooted. Is your phone XT 1687?

---------- Post added at 03:31 PM ---------- Previous post was at 03:27 PM ----------

It was last time - when I upgraded to 8.1 using Minimal ADB and Fastboot. Will double check.
[Moto G5 Plus Guides, News, & Discussion] Wolfcity:
XT 1685
[Moto G5 Plus Guides, News, & Discussion] goodjuju:
ADB is working from minimal ADB and Fastboot app. Just upgraded to Oreo using the app first to reflash 28..85-17-1 then taking the OTA.
[Moto G5 Plus Guides, News, & Discussion] Jack_731:
Hi,

Will this method work on Locked BLs, and if USB Debug is off?

My Phone - Moto One Power
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
[MENTION=4159151]nicolap8[/MENTION]

Thanks, I added similarly instructions to my

LMSA: Lenovo's Motorola Smart Assistant thread

with a link back to this thread as credit.
[Moto G5 Plus Guides, News, & Discussion] nicolap8:
The update part yes but I never tryed to skip the reformat with locked BL.

I think that CAN work but I can't assure this.

N

[MENTION=4267571]sd_shadow[/MENTION]: thanks :)
[Moto G5 Plus Guides, News, & Discussion] Shuton:
Has anyone had success or failure with this method lately? I want to give this a shot but I am worried about losing my data that I really need so I thought to hear from other experiences before I take my chance on this.
[Moto G5 Plus Guides, News, & Discussion] sd_shadow:
Probably only a 50% chance that it will work for your device.

Is the bootloader unlocked?

What are you trying to do?
[Moto G5 Plus Guides, News, & Discussion] Shuton:
The bootloader is locked. My phone is stock and has never been rooted, which it somehow failed to boot one day with a "No bootable A/B slot" error. So I am trying to use the Rescue and Smart Assistant tool to fix it. I see that it would wipe the user data, so I am looking into options on how I can fix it without losing my data.
[Moto G5 Plus Guides, News, & Discussion] askjfo13:
did it worked?