yashsingh1/xdaforums huggingface dataset:
[Lenovo Vibe K4 Note Questions & Answers] dimenzion77:
i just replace the lcd of lenovo k4 note after that i booted it up then when i look in settings the 2nd sim slot shows "sim empty" even the sim card is installed

i've already tried wiping data and cache , any solution for this thanks

Regards
[OnePlus 5T  Questions & Answers] geokilla:
Everyone says due to the broken camera HAL, photos taken by the 5T running a custom ROM is bad. Since I'm upgrading from the OnePlus One, is the camera quality worse than the One? Or similar? I know there is the Google Camera mod but zooming in causes white dots in photos so let's leave that out of this thread.
[OnePlus 5T  Questions & Answers] OhioYJ:
I don't know about the OP One, however I will say coming from the Nexus 5X, I think the 5T camera was a bit over hyped. Its by no means bad, either though. On Lineage, I can say Snap has improved quite a bit. The pictures it takes I think are fine. I wouldn't say they are bad at all.

With time I think the google camera problems will be sorted out. They have already sorted out quite a few issues with it.
[OnePlus 5T  Questions & Answers] sutty86:
In good light it's near on perfect , bad lighting you get the van Gogh effect
[OnePlus 5T  Questions & Answers] Jamie_oppo:
Gcam with HDR enhanced is way better than OOS cam in low light
[General Questions and Answers] joegannon:
Hey I just uninstalled sony music player on my Xperia z1 (with root)

And now I can't install it again and even when I get it from google play and try to open the application I get this error

"unfortunately sony music has stopped"

Can anyone tell me what to do and how to make this awesome app again? I really need this app so much
[Amazfit] acassimiro:
When I try to access the fastboot of my Stratos Amazfit it is no longer recognized by the computer. Can someone help me?

It is looping at startup and does not turn on.

I need help getting my watch back.

Thank you in advance.

acassimiro@hotmail.com
[Amazfit] tiltawurl:
I'm having the same thing.

It gets to the point of optimizing apps, then starts over. (Repeats nonstop)

Mine was precipitated by installing an apk with android commander.

The apk was supposed to contain a Doctor Who watch face.

Thanks.
[Amazfit] lfom:
Try this using adb (command line), it will erase all data on watch and restart, no requirements besides adb:

adb reboot wipe
[Amazfit] tiltawurl:
It takes the command and "does something."

One time when it rebooted after the wipe, it only had "total 30" apps to optimize.

Another time, "total 18" apps to optimize.

Still, however, rebooted itself while "launching apps," getting back to its original "total 44" apps to optimize and the reboot loop.

I'm not particularly concerned about loss of data, since I've only had the watch a little over a month,.

Voiding the warranty (rooting) would not be acceptable, since my last resort would be sending it back to Amazfit for reset.

Thanks.
[Amazfit] lfom:
You must use the command when it finishes updating apps or it will not work (it will erase all data and restart watch), if you are on Windows:

adb wait-for-device & adb reboot wipe

If you are on macOS/Linux:

adb wait-for-device; adb reboot wipe

Other than this, other options require unlocking bootloader, what voids warranty.
[Amazfit] tiltawurl:
Amazfit support sent me a reset tool that worked perfectly.
[Amazfit] Quattres:
dude, can u write e-mail of Amazfit support or something?

i have same problem with my new Stratos 3, commands doesnt help me...(
[Amazfit] Quattres:
still hope to resolve this =(
[Amazfit] freakyfreddy:
Can you please share this woderful tool to the community?

Thx in advance!
[Xiaomi Mi A1 Guides, News, & Discussion] Custom rom 243:
The much awaited Franco kernel will be released sooner or later but the tweet says very soon
[Xiaomi Mi A1 Guides, News, & Discussion] t0per666:
*flashing stock rom* :D
[Xiaomi Mi A1 Guides, News, & Discussion] bornlivedie:
Glad it's compatible with stock.
[Xiaomi Mi A1 Guides, News, & Discussion] jglass071:
How will this affect OTAs & is there a method to get OTA after flashing this kernel like there is Magisk?
[Xiaomi Mi A1 Guides, News, & Discussion] N1ck474:
I don't think you can have OTA with Custom Kernel...
[Xiaomi Mi A1 Guides, News, & Discussion] berezker:
You can't install OTA if you flash custom kernels
[Xiaomi Mi A1 Guides, News, & Discussion] sauru.660:
Finally it's Here...

https://xdaforums.com/mi-a1/development/kernel-francokernel-r1-8th-april-t3774833
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
I believe that we will be able to use OTA if we follow this sequence:

Stock ROM -> flash Magisk (creates backup of stock boot.img) -> flash Franco kernel

When OTA arrives, restore stock boot.img from Magisk, apply OTA, then reinstall Magisk to second slot, reboot. Install Franco kernel again. This way we shouldn't need to keep stock boot.img and PC with fastboot at hand. I will try it with next OTA. :)
[Xiaomi Mi A1 Guides, News, & Discussion] whrynox:
If you succeed, then I'll start rooting my phone and do as you say. Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] engloa:
Thread closed

Please use the existing thread for further discussions

https://xdaforums.com/mi-a1/how-to/franco-kernel-coming-to-mi-a1-t3767625
[Samsung Galaxy S7 Edge Questions and Answers] hodasafwat0:
I have a problem with the sound on all aosp roms that i tried.

I get crackling strange noise when playing a song or a video.

Any help ?
[Asus ZenWatch 3] jmorton10:
I have my watched paired to a Verizon Galaxy Note 8. When I get an incoming call, if I answer the phone from the phone, the watch keeps ringing while I am talking on the phone.

Is there any way to stop this? It is extremely annoying.

~John
[Asus ZenWatch 3] nash211:
I had the same issue. I tried this and it worked. Press and Hold Power Button until Asus Logo is displayed, release let it load. After it loaded. Then Press and Hold Power Button and Bottom Button at the same time hold until it says bootloader mode release buttons let it load. Mine works fine now, disconnects as soon as I answer on my phone. Failing that you can try a factory rest.
[Asus ZenWatch 3] irmatt:
Happened to me, i had to downgrade to 1.5, watch is better in every way now.
[Treble-Enabled Device Development A/AB ROMS] erfanoabdi:
Capire le treble

Terble without Vendor Partition

[IMG="CLT"]https://xdaforums.com/attachment.php?attachmentid=4469425&d=1523108426[/IMG]​

As you guys all know google recently announced the project treble with releasing android Oreo, which is coming to pixel devices and some other developers ported it to their devices.

In my opinion first rule of porting treble is “move every possible thing to vendor”, so on and so forth.

So we can boot generic system images (GSI) on treble enabled devices IF DEVICE HAVE SEPERATE VENDOR PARTITION.

On some legacy devices, we don’t see vendor partition, so developers are trying to find an unused partition (for example some OEM partitions) and using it as vendor.

When I was trying to port treble on my device found out that it doesn’t have vendor partition also OEM partition was too small and can’t be used to put files on it.

I kept working on treble but my vendor files are in “/system/vendor” (system partition)

Obviously can’t flash GSIs because I’ll lose my vendor files which exist on system partition.

This project is helping developers or users to create device specific system images (DSSI) by “copy and pasting” vendor files into GSI and recreate system image for the device.

Now everyone can enjoy treble.

How to use CLT, and how it works?

Requairments

GSI image

Treblized rom system image

Linux or Mac

Images must be mounted

And if rom is not fully treblized don’t worry, this script has ability to copy any blobs from system of treblized rom.

In CLT script there’s optional entry called “proprietary-files.txt”, here you can enter prop files from device tree to automatically copy every needed files to system

Also, you can add extra lines.

One Extra rule:

In CLT prop-files.txt all non-vendor lines will be forced replaced, except lines starting with “?”, which won’t replace files if GSI image has that file

Actually, CLT script is not simple copy paste, it’s mirroring files from images using “tar” to keep permissions and symlinks of files

Even for correctly enabling selinux in output image it’s reading file_contexts of both images.

Using CLT is very very very simple you don't need to be a developer, all you need to do is download CLT from github (git clone)

and run it

./CLT-ify.sh

To see CLT in action here is a youtube video for it

[YOUTUBE]BETyZwe3pM8[/YOUTUBE]

CLT : https://github.com/erfanoabdi/Capire-Le-Treble

example of CLT in Motorola Moto Z(griffin): https://xdaforums.com/moto-z/how-to/guide-how-to-make-gsis-examples-du-aosp-t3774869

Special Thanks:

phhusson: for his great work on GSIs

badi: for name

superr: for his great kitchain
[Treble-Enabled Device Development A/AB ROMS] king:
Looks promising!!
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Thanks for doing this, I know this has been asked several times.

Why do you take a proprietary-files.txt? Why not simply copying vendor folder? (perhaps also product/odm/oem)

Do you plan on targetting users as well? You're losing a bit of user's freedom, and making it require a lot of more maintainance for devs

("doing something targetting users is complicated" is a perfectly valid answer :P)

Did you consider the pro and cons compared to my no-vendor gpt-based solution?
[Treble-Enabled Device Development A/AB ROMS] erfanoabdi:
thanks for your hard work on GSIs :good:

it's "copy and pasting" full vendor, but using proprietary-files.txt is optional as i explained in OP :)

i've put proprietary-files.txt option for copy pasting blobs exist in /system for not fully treblized roms.

your no-vendor gpt-based solution is amazing, it's just another simple solution :p
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Oh oops, sorry :)

FWIW, I'm still hoping to be able to do OTAs in my GSIs (that's quite a challenge though), but with CLT, I'm just going to brick devices :P
[Treble-Enabled Device Development A/AB ROMS] erfanoabdi:
maybe i can add in-phone CLT-ifization, the new GSI after downloading OTA on updater app :D :D :D :cool:
[Treble-Enabled Device Development A/AB ROMS] djlukas1983:
Is it possible to use it on device which doesn't have stock oreo release? For example HTC one m8 which last stock was marshmellow.
[Treble-Enabled Device Development A/AB ROMS] erfanoabdi:
i'm not sure but worthy to try

need to build a rom with https://review.lineageos.org/#/c/LineageOS/android_device_xiaomi_msm8996-common/+/206015/

and a good prop-files.txt contains needed system blobs.
[Treble-Enabled Device Development A/AB ROMS] Muntasir Mahmud Saif:
will it support exynos 8895 note 8?
[Treble-Enabled Device Development A/AB ROMS] xtreme97:
It is amazing, I want to ask if it would work with nougat bloobs, if not i will have to wait to oreo or any oreo custom rom, thanks a lot and keep it upgraded, it is a great news for all treble lovers without a treble compatible device
[Treble-Enabled Device Development A/AB ROMS] someaguy:
Hello everyone! I believe the Asus Zenfone 4 has this implementation of Treble. If you got any ROMs to test under this implementation, let me know!
[Treble-Enabled Device Development A/AB ROMS] theandroidguy:
Will it be possible to use GSIs' on older devices like HTC Desire 816?? Sorry because its a noob type question:silly:
[Treble-Enabled Device Development A/AB ROMS] someaguy:
Is it possible to have some detailed instructions on how to make our own Capire Le Treble roms for our devices?
[Treble-Enabled Device Development A/AB ROMS] khaledose:
what is the difference between GSI image and Treblized rom system image?
[Treble-Enabled Device Development A/AB ROMS] hemant_jeengar:
They are same.

GSI - Generic System Image

A system image which can be flashed in all treblized devices. And that is why it is Treblized rom system image.
[Treble-Enabled Device Development A/AB ROMS] erfanoabdi:
Nope

If you guys read the title

It's for treble enabled devices without vendor partition

System image of treblized is the system image only for the device and have /vendor folder

Not vendor symlink
[Treble-Enabled Device Development A/AB ROMS] GuestK0010:
This is amazing, I'm going to be trying to utilize this on Motorola Nexus 6, shamu. Thank u for your great work. Seriously.amazing.
[Treble-Enabled Device Development A/AB ROMS] Curi0:
Do you know how to get Android P on Treble devices ? I flashed Pixel2XL system.img on Redmi Note 4 after installing treble support and it doesn't boot. If I look in /system in TWRP theres only a bin folder so something is wrong with the img format or something
[Treble-Enabled Device Development A/AB ROMS] b50corei5:
Oh god ?????

That's a device specific image. You need a gsi
[Treble-Enabled Device Development A/AB ROMS] WaseemAlkurdi:
[MENTION=6298645]erfanoabdi[/MENTION]

Is it for Treble devices without a dedicated /vendor partition OR devices without Treble support?

This story from the XDA Portal (https://www.xda-developers.com/motorola-moto-z-android-p/) says that the Moto Z in question does

not

support Treble, yet he used your script.

Can you please clarify?

Edit: And what if I repartition my device to make a /vendor partition? What's left to be done for Treble?
[Treble-Enabled Device Development A/AB ROMS] Curi0:
Where do I get the Android P GSI then ? Also isn't Pixel system image treble compatible ?
[Treble-Enabled Device Development A/AB ROMS] irony_delerium:
You don't.

The Pixel family are all Treble compatible. The system images are not pure Treble GSIs though: they depend on features present in the vendor implementation on each device.

The same is true of the Android P images: they target the specific vendor image they were distributed with, and without significant hacking, they likely won't work with another vendor implementation.

Yes, there are device-specific images that tend to work across device families - as an example, most Oreo images for Huawei devices with a Kirin 960 SoC work across devices - I'm running a build for the Honor 8 Pro on my Mate 9. But that's because the hardware is relatively similar, and the vendor implementations are also similar.
[Treble-Enabled Device Development A/AB ROMS] b50corei5:
There is none for now
[Treble-Enabled Device Development A/AB ROMS] aniel300:
Any guides on how to do it steps by steps? And will it qork on a oneplus 5
[Treble-Enabled Device Development A/AB ROMS] optionalmgrr.la:
It means any oreo ROM can theoretically run GSI roms?
[Treble-Enabled Device Development A/AB ROMS] Curi0:
how did this guy get it working on his phone then ?
[Treble-Enabled Device Development A/AB ROMS] rajatgupta1998:
He ported it from the P-DP1 of Google Pixel XL (marlin) images.
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
quick answer, i don't know if someone else have asked it yet, maybe i'm late to the party but..how can i trebilize a lineage os zip?

edit:

i'm viewing your video, you have explained this
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Nice work here.

I'm wondering, your scripts could help me to enable true Treble on my device (Xiaomi Mi A1)? I've already repartitioned to have vendor and mount it, so this project could help me build a GSI-compatible vendor pack yeah? Obviously as a reference for what needs doing, I mean.

Thanks!
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
hello there, so i think i'm at a good point with my work on 5t since i have already created the system image to flash on it. But i need help because right after the oneplus logo the phone reboots into the bootloader, i perfectly know that is a kernel panic but i don't know how to read the log since i can't even boot into the system.

this are the steps/files i've used:

Pixel 2 Xl android p beta system image

LineageOS 15.1 official zip

LineageOS 15.1 prop list (both common msm8998 and dumpling tree)

Preparation of the vendor partition trough the mokee rom (wich creates a vendor partion with an unused one)

And flash.

Edit:

ok probably i'm kinda dumb and i haven't understand the situation here, I thought that the system images inside the pixels/p beta device were GSIs, now i've understand that those images are device

specific images so they are useless. But i still want to understand how did you [MENTION=6298645]erfanoabdi[/MENTION] made the moto z boot. I suppose that you have """"washed""" the pixel xl image to make it more generic possible. Plese explain what the hell you have done bro
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Can you at least get ADBD running on bootup (with build properties in initfs)? If so, you could do adb wait-for-device then adb shell tail the kmsg.

But if it panics even before adb loads, well there's no way except for some kind of serial or TTL interface (which is usually undocumented, but it'd be three or four testpoints on the motherboard and you'd use something like Putty with a TTL adapter). But it might not even have TTL testpoints, not all hardware does - something proprietary instead.

EDIT: Ok, you're using device-specific images... Why? What are you even trying to do?
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
ok so maybe i made some explaination mistakes (because i mean i'm not stupid, i would never use a device specific img on my device) , or i haven't fully understand what the script does. I mean, what i have understand is that

firstly i need a normal rom image like the lineage os one

and then i download the most hardware near device to my device (since i have a 5t i think the most close is the pixel 2xl) and then from the factory image i extract the system image, and is here were i get lost, because i can't understand if the system image in the pixel factory image is already a gsi or the gsi it's created by the script. by understanding this i can understand if the image that i've created is completly wrong or if i am on the right way
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
No. You need to read the description more carefully. I don't understand what you're doing.

It's for injecting a GSI with *your* devices' vendor stuff, converting the GSI into a device specific image. Nothing to do with porting other DSSI's to your device.
[Treble-Enabled Device Development A/AB ROMS] modaifallah:
Samsung S7 has non treble Oreo stock rom, can this script be used with it?
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
ok thanks for the explanation, but where can i find a gsi? In other threads some people says that GSI for now doesn't even exist.
[Treble-Enabled Device Development A/AB ROMS] modaifallah:
I just need to know what's meant by trebalised ROM system image in the requirements.
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Literally right here in this subforum, the ones by Phh...

That's what I want to know too.

It implies that you need a ROM for your device that is Treble supported. But if we already have that type of ROM, then what are we doing here in the first place?

Now I understand the confusion regarding this.

At first I thought this is a tool to pull/adapt a standard Oreo ROM's vendor blobs for use in a GSI, bit now it looks like you need a Treble base ROM anyway - so it looks like it's just for existing Treble devices to be able to use GSI images. But if that's the case then what does all the "porting Treble" talk have to do with it ?
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
Ok I've seen the phh work and ok it sounds nice but it's for oreo, how can his work help me out with p?
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Oh.

Well you'll have to ask Phh. He's the one that developed the GSI's in the first place. But you're probably just better off letting those in the know handle it, when they can.

If not, I'd start by taking a base Oreo ROM for Pixel or something and comparing every single bit with Phh's GSI image. All partitions, initfs, all that. Then you can at least get an idea of what he changed.

But chances are he compiled it from source (or really I don't know), and do you even have the P source tree?

EDIT: His work depends on Oreo VTS, does that exist for P yet?

EDIT2 Since you're talking about P, this is probably off topic. There's another thread for Android P ports of Project Treble.
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
of course i don't have the p source tree, it's closed source for now.

And for the vts i don't know, there is no release branch for the p vts on google source. So basically i was right, phh have helped erfan by cleaning the p image from the Pixel XL, and since we are just talking about the system image then why should i check the initframs and other partitions? I mean, of course i've understand that the erfan and phh work wasn't easy but at the same time i don't understand why should i look to other images.

ps. why that should be off topic? it's all about gsis and the tool uses gsis, and also in the thread the erfan and phh work on p it's mentioned
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
I said initfs. The system image contains initfs on modern Seamless devices.

You didn't know that, and you don't understand why comparing stock Oreo to GSI Oreo can show you how Treble was done, so I'm convinced you're working outside of your skill range here.

Of course you don't know it's off-topic, you don't even know what you're doing or what this tool does. There is a thread specifically about porting Android P for Treble, and you're talking about porting Android P Treble. So it's more relevant there.

Good luck with your random flailing anyway.
[Treble-Enabled Device Development A/AB ROMS] MasterJack1697:
i have just read wrong?

and of course i know that comparing stock oreo with the gsi one can help me, and hey i've said that i didn't understand what exactly the tool does in the above two or three post. And ya you are perefectly ritght, i'm outside my normal skill range, in fact i didn't know about the thread on porting android p and i actually still don't understand what's the difference between "android p for treble" and "android p treble". And I've never said that i perfectly know what I'm doing, in fact I've started learning things and trying to work on gsis in this week
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Yeah well tbh I'm not sure what this tool does exactly anymore lol, I'm sure you saw my question.

I think the P situation can only be possible once the VTS thing comes out.
[Treble-Enabled Device Development A/AB ROMS] Tyrany:
Dan by the developer words this tool CLT it's nothing but a copy paste script for vendor stuff
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Oh OK so it's just a copy-paste to get a GSI of Android P then is it? So go do it, what are you waiting for ;)

I don't know the details, I'm just sharing what I know from a cursory glance and educated guess - we don't have enough to make an Android P GSI.

Maybe I'm wrong, and maybe people are already working on it. If so, good. But my point was that this isn't the topic to discuss that.
[Treble-Enabled Device Development A/AB ROMS] Tyrany:
don't take me wrong my knowledge is by far inferior to yours only said that cause you asked what was this tool for, the only time i tried porting something was miui to nexus 5 following one of your threads (and i wasn't very sucessfull, some errors on logcat that i couldn't figure out), erfa made what looks to be a regular port of android P by using marlin files and los from moto z (he replied to me)
[Treble-Enabled Device Development A/AB ROMS] CosmicDan:
Oh ok, you were referring to another question.

Ok, so this is more for legacy devices that aren't "half-treble" to Google standards or something I guess?

I suppose I will just have to take a closer look at it.