yashsingh1/xdaforums huggingface dataset:
[Tasker Tips & Tricks] CrashOverride93:
Hi guys,

I can get and put (set) any of the available Android settings of my device using following Java Functions:

• Get. . .

A1: Java Function [ Return:temp Class Or Object:CONTEXT Function:getContentResolver
{ContentResolver} () Param: Param: Param: Param: Param: Param: Param: ]
A2: Java Function [ Return:%temp Class Or Object:Secure Function:getString
{String} (ContentResolver, String) Param:temp Param:"android_id" Param: Param: Param: Param: Param: ]

or

A1: Java Function [ Return:temp Class Or Object:CONTEXT Function:getContentResolver
{ContentResolver} () Param: Param: Param: Param: Param: Param: Param: ]
A2: Java Function [ Return:%temp Class Or Object:android.provider.Settings$Secure Function:getString
{String} (ContentResolver, String) Param:temp Param:android_id Param: Param: Param: Param: Param: ]

• Set. . .

A1: Java Function [ Return:temp Class Or Object:CONTEXT Function:getContentResolver
{ContentResolver} () Param: Param: Param: Param: Param: Param: Param: ]
A2: Java Function [ Return:%temp Class Or Object:Secure Function:putString
{boolean} (ContentResolver, String, String) Param:temp Param:"android_id" Param:x1x2x3x4x5 Param: Param: Param: Param: ]

or

A1: Java Function [ Return:temp Class Or Object:CONTEXT Function:getContentResolver
{ContentResolver} () Param: Param: Param: Param: Param: Param: Param: ]
A2: Java Function [ Return:%temp Class Or Object:android.provider.Settings$Secure Function:putString
{boolean} (ContentResolver, String, String) Param:temp Param:android_id Param:x1x2x3x4x5 Param: Param: Param: Param: ]

Previous actions are the same as using well-known root shell commands:

- Get: settings get setting_name value

- Set: settings put setting_name value

Now, the question: how to make previous Java Functions work for LineageOS specific settings?

As an example, settings for LOS can be get and set using following commands:

- Get: settings --cm get setting_name value

- Set: settings --cm put setting_name value

Thanks ;)
[Moto Z3 Play Guides, News, & Discussion] qazianasmar3:
NETWORK	Technology

GSM/HSPA/LTE

LAUNCH	Announced	Not pronounced yet

Status	Rumored

BODY	Dimensions	-

Weight	-

Build	Front glass, aluminum body

SIM	Single SIM (Nano-SIM) or Dual SIM (Nano-SIM, twofold stay by)

- Splash and clean sheltered

DISPLAY	Type	Super AMOLED capacitive touchscreen, 16M tones

Size	6.0 inches, 92.9 cm2

Resolution	1080 x 2160 pixels, 18:9 extent (~402 ppi thickness)

Multitouch	Yes

Protection	Corning Gorilla Glass 3

PLATFORM	OS	Android 8.0 (Oreo)

Chipset	Qualcomm SDM636 Snapdragon 636

CPU	Octa-focus 1.8 GHz Kryo 260

GPU	Adreno 509

MEMORY	Card slot	microSD, up to 256 GB (dedicated space)

Internal	64 GB, 6 GB RAM or 32 GB, 4 GB RAM

CAMERA	Primary	Dual: 12 MP (f/1.6) + 8 MP, arrange recognizable proof and laser self-change, twofold LED twofold tone streak

Features	Geo-naming, contact focus, stand up to ID, scene, Auto-HDR

Video	2160p@30fps, 1080p@60fps, 720p@120fps

Secondary	5 MP (f/2.0, 1.4µm), twofold LED twofold tone streak, 1080p

SOUND	Alert types	Vibration; MP3, WAV ringtones

Loudspeaker	Yes

3.5mm jack	Yes

- Active tumult cancelation with gave mic

COMMS	WLAN	Wi-Fi 802.11 a/b/g/n/cooling, twofold band, WiFi Direct, hotspot

Bluetooth	5.0, A2DP, EDR, LE, aptX

GPS	Yes, with A-GPS, GLONASS

NFC	Yes

Radio	FM radio

USB	3.1, Type-C 1.0 reversible connector, alluring connector, USB On-The-Go

FEATURES	Sensors	Fingerprint (side-mounted), accelerometer, gyro, proximity, compass

Messaging	SMS(threaded see), MMS, Email, Push Email, IM

Browser	HTML5

- Fast battery charging

- MP3/AAC+/WAV/Flac player

- MP4/H.264 player

- Photo/video chief

- Document watcher

BATTERY	Non-removable Li-Ion 3000 mAh battery

MISC	Colors	Gold, Blue
[Moto Z3 Play Guides, News, & Discussion] Khanov:
the device doesnt have front flash
[Moto Z3 Play Guides, News, & Discussion] kingstu:
The device should have a 64 bit architecture since it is an Android Enterprise Recommended phone.
[General Topics] itm:
Does anyone else here see a clear trend for phone manufacturers deliberately diverging from customer wants and needs when introducing new phones/features?

Here are three examples of seemingly irreversible trends that an awful lot of people DON'T WANT:

- Non-replaceable batteries - I've NEVER had a smartphone battery that lasted all day, or a smartphone battery that wasn't shot after about 18 months. Why should I need to buy a new phone every 18-24 months just to get around this, when newer phones typically offer such marginal improvements over their predecessors? I'm currently using a 2 year old LG G5 (WITH a removable battery), and I have no need of the marginal improvements offered by the G6, G7 or any of the other current handsets. I'll just replace the battery when it no longer retains enough charge for my use. I also have absolutely no need for a waterproof phone (which is one of the most common arguments made for sealing a battery into a phone).

- Glass backs - these are marketed as more attractive but basically they are guaranteed to smash within months of purchasing a phone, requiring the customer to buy another phone, which benefits nobody but the phone manufacturer

- Disappearing 3.5mm headphone sockets - even if Bluetooth "always worked", and never randomly disconnected, why would I want to rely on remembering to keep a pair of wireless headphones charged at all times? It's hard enough making sure that my phone retains enough charge (particularly as its battery will drain more quickly if it's connected to a Bluetooth headset). Why not just give us a CHOICE?

In short, phone manufacturers are cynically looking for new ways to force customers to replace their phones or invest in new hardware more frequently than they would like. While they have an obvious motivation, I was wondering how the masses could make their voices heard in a protest against the cynical product evolution cycles of the big manufacturers?

Would anyone else here like to send a loud message back to them that they are flying in the face of their customers' wishes by cynically forcing these technology or design "advances" on them?
[General Topics] li0nh3art3d:
if you get everything you want in a phone, then you'll never want to buy a new one. They make money by selling you their new product
[General Topics] itm:
Yes that was the "obvious motivation" that I was referring to. I was just wondering what might happen if the masses spoke back with a loud voice to say that they're not happy with it. Apart from everything else, their current policy means that an unnecessary number of discarded phones will finish up in landfill every year, when their owners would really rather have kept them.
[General Topics] li0nh3art3d:
Well I did hang onto my Note 4 until it wouldn't take a charge anymore. Then I replaced the charging port and it still wouldn't charge. I'm sure a lot of people are using old phones with removable batteries like the note 4 still
[General Topics] itm:
Yes - I use an old G5 and my wife uses an old Note 4, and we both intend to keep replacing the batteries in them until either (a) the phone dies or (b) a new phone comes along which has a new feature that we actually want/need. The problem is that I don't see any new phones that offer anything new that I want or need - they are all a regression from my current handset because of the lack of a removable battery, glass back or lack of 3.5mm headphone socket.

Offhand I can't think of any other market where manufacturers can get away with making their products less and less appealing to customers with every new release, while effectively giving customers no choice but to purchase them (because of the short lifespan of their existing battery).
[General Topics] li0nh3art3d:
not to mention IR blaster is gone from most new handsets. Such a cool feature to have.

I ended up getting a Sony Xperia XA2.. which is decent, although it does lack a few things I miss from my note 4. Mainly the camera doesn't do very well in low lighting.. I guess because it's a midrange. For gaming though, I'd say it's similar, and with a 3300 mAh battery, it does seem to be lasting decently the past 3 months or so I've had it.

I had one of those battery cases for my note 4 with like a 11800 mAh battery ?
[General Topics] itm:
Ah yes IR - another feature that I like and use but which is disappearing, presumably on the grounds that it's too useful for customers. Many's the time I've needed to use my phone when the TV remote in the hotel was missing or broken.

I've also had a few of those battery cases (sadly not available for my G5 though). Big clonking things but it was often preferable to a dead battery at 5pm or a dodgy cable connection to a battery pack in my pocket.

Everywhere I go I see poor suffering phone users desperate to top up their depleted batteries via whatever method they can, and the phone manufacturers simply look the other way and focus on the really important stuff like waterproofing and wireless headsets. How can we get them to get their heads out of their a*ses?
[General Topics] manawarkhan:
This is a very healthy discussion for me. I got answers to some questions which already in my mind. Yes, A phone doesn't have everything which anyone wants to have on it.
[Moto E4 Guides, News, & Discussion] guitardoc64:
I got the notification this morning.
[Moto E4 Guides, News, & Discussion] madbat99:
At least we're still getting security patches. Not likely to get Oreo, but still good.
[Moto E4 Guides, News, & Discussion] guitardoc64:
Yeah. I'm guessing that the only way to get Oreo would be to upgrade to the E5.
[Moto E4 Guides, News, & Discussion] maddogster:
yeah may 2018 update also for verizon xt1767 variant as well received
[Moto E4 Guides, News, & Discussion] skullkid383:
Pretty sure they are trying to keep it updated due to moto being caught awhile back saying that it had security patches update with what firmware said but it wasnt
[MTCD  Android Head Units Q&A] svennok:
Can anyone be kind and help me

Is a bit new with this and hope it goes and update to newer android on this player

Mcu Verson

MTCD KGL V2.43_1

Mar31 2017 09:22:12

Android 6.01

Kernel versjon

3.10.0

Delversjonsnummer

px5-userdebug 6.0.1 MXC89L user.hct
[MTCD  Android Head Units Q&A] svennok:
Hmm is there nobody how can help me?
[MTCD  Android Head Units Q&A] GatorSpotter:
Kind of confused on the Buying Google Play. If you want to update Google Play and use a different login, I would say.

Go to Settings> Apps Manager> Delete Google Play and reinstall it. It should be free.
[OnePlus 6 Questions & Answers] Sconny:
Hey guys.

I created a Telegram group for our op6. There we can discuss everything from daily use of the phone to root and such stuff.

Mod Edit
[OnePlus 6 Questions & Answers] strikerdj2011:
thought telegram groups are against xda rules now
[OnePlus 6 Questions & Answers] jasonv31:
Nice man ! Joined ... (everyone that joins should post in this thread to keep this bumped up and help get the word out :) )
[OnePlus 6 Questions & Answers] Critical Detox:
Telegram links are no longer permitted, Thank you.
[Treble-Enabled Device Development A/AB ROMS] EnerJon:
Good work!
[Treble-Enabled Device Development A/AB ROMS] osk4rin:
Doesn't boot on my Huawei Mate 9 .just ending on a bootloop.
[Treble-Enabled Device Development A/AB ROMS] marstonpear:
Are all these ROMs treble enabled? Isn't the point of Treble to make a generic system image and use it on all devices that support Treble?
[Treble-Enabled Device Development A/AB ROMS] phhusson:
I don't understand what does this have to do with this forum..?

Edit: Ok GSI appeared on download list
[Treble-Enabled Device Development A/AB ROMS] Putra14:
Good work.
[Treble-Enabled Device Development A/AB ROMS] wakko42:
there's a GSI in Download Center:

GENERIC

GSI for ARM64 A (treble_gsi)
[Treble-Enabled Device Development A/AB ROMS] Saxithon:
Can we get SmartPixels in this?

Gesendet von meinem LG-H930 mit Tapatalk
[Treble-Enabled Device Development A/AB ROMS] Mr.A9323:
Does the single .img will works on all device, sorry if asked silly question, don't have much idea about treble project, If yes, any Redmi 3s (land) user tried it yet or not ?

Please reply.
[Treble-Enabled Device Development A/AB ROMS] aureliomilitao:
this ROM GSI here, needs Gapps?

why download have 1,49GB ??

---------- Post added at 04:48 PM ---------- Previous post was at 04:48 PM ----------

this ROM GSI here, needs Gapps?

why download have 1,49GB ??
[Treble-Enabled Device Development A/AB ROMS] Saxithon:
If your device supports treble then yes it should work

Gesendet von meinem LG-H930 mit Tapatalk
[Treble-Enabled Device Development A/AB ROMS] steven360:
The file is supposed to be that big. All treble supported device ROM files are that big, some even bigger. You need to download GApps separately; it's not included in the .img file.

As long as your device is treble supported the ROM, .img file, will work on all treble supported devices. So yes, the .img file will work on multiple devices.

Check here if your device is treble supported.

It's the most trustworthy list.
[Treble-Enabled Device Development A/AB ROMS] Rakibboss:
Why there is no GSI for a/b system ???
[Treble-Enabled Device Development A/AB ROMS] MoistPicklez:
I know, quite unfortunate.
[Treble-Enabled Device Development A/AB ROMS] steven360:
Bootloops on Honor 7x

I get sent to the default eRecovery

I did a clean flash with Open GApps Nano
[Treble-Enabled Device Development A/AB ROMS] tytydraco:
Is A/B coming in the future? or will this rom be A only?
[Treble-Enabled Device Development A/AB ROMS] tomiga:
Not booting on the Galaxy S9, just gets stuck in a bootloop.
[Treble-Enabled Device Development A/AB ROMS] abuzahwa:
After flash ,boot into hs ,rise google certified warning, test in Zenfone max pro m1
[Treble-Enabled Device Development A/AB ROMS] TingyiChen:
Have Integrated gapps support
[Treble-Enabled Device Development A/AB ROMS] TingyiChen:
Tested on Vince and working fine.
[Treble-Enabled Device Development A/AB ROMS] lmentor:
honor v9 bootloop
[Treble-Enabled Device Development A/AB ROMS] majid.ilkhani.no1:
is there going to be A/B support?
[Treble-Enabled Device Development A/AB ROMS] angga17:
What should I do with google certificate problem? My device is Asus zenfone max pro m1?
[Treble-Enabled Device Development A/AB ROMS] Sergey.Motorin:
is there going to be A/B support?:
[Treble-Enabled Device Development A/AB ROMS] TingyiChen:
Coming..But need test since I don't have A/B treble phone..
[Treble-Enabled Device Development A/AB ROMS] TJ1999:
I had the same problem…

However, there are two ways to solve this problem:

1. Possibility:

Go to https://www.google.com/android/uncertified/ and follow the on screen steps (that didn't work for me).

2. Possibility:

First install the gsi img and reboot your phone. Continue as usual until the error message pops up. Then reboot your phone to recovery and extract the database file whith your computer:

adb pull /data/data/com.google.android.gsf/databases/gservices.db

After the file is copied to your PC, you have to open the database file which is in SQLite 3 format (I downloaded a free programm here: http://sqlitebrowser.org/). Then search in table 'main' for 'android_id' and the id should be shown. Now go to https://www.google.com/android/uncertified/ and paste your id there.

Your registration should be done.
[Treble-Enabled Device Development A/AB ROMS] Sergey.Motorin:
I correctly understood that the A / B firmware you already have? only it does not need to check it?
[Treble-Enabled Device Development A/AB ROMS] TingyiChen:
Check pm
[Treble-Enabled Device Development A/AB ROMS] TingyiChen:
go to Google site and register,then this issue should be solved
[Treble-Enabled Device Development A/AB ROMS] Sergey.Motorin:
I can try to deliver. and conduct a test
[Treble-Enabled Device Development A/AB ROMS] musabcel:
[YOUTUBE]W3bL6WCE6WM[/YOUTUBE]
[Treble-Enabled Device Development A/AB ROMS] mandarthedon19@gmail.com:
please help me with flashing of gapps. How to flash gapps. Any specific instructions. I have oneplus 5T.
[Treble-Enabled Device Development A/AB ROMS] Luiz_Vidal:
Hi, I'm trying to flash in my moto Z play in the TWRP, but I select the img, install but when I try to reboot the system it says there is no OS instaslled. What can I do?

Thanks ando sorry for my english
[Treble-Enabled Device Development A/AB ROMS] LiberteCzech:
[MENTION=7500669]TingyiChen[/MENTION]

I installed this GSI.

Launcher does not work.

The system still writes that it is loading the desktop.

After I certified Google services I installed my own laucher remotely and everything works.
[Treble-Enabled Device Development A/AB ROMS] kumar akarsh:
can u tell procedure to install?
[Treble-Enabled Device Development A/AB ROMS] allrockedout:
For people with uncertified problem in Google play services. Download this apk. Will give you your device id.

https://drive.google.com/file/d/1YjNZuS3RfSrQ7DnmzOZMH74I63fmHGwN/view?usp=drivesdk

Paste your id here https://www.google.com/android/uncertified/
[Treble-Enabled Device Development A/AB ROMS] LiberteCzech:
1) 1) Flash Treble TWRP, reboot to TWRP, wipe (cache, dalvik, system, data, vendor)

2) Flash Vendor

3) Flash Kernel

4) Flash GSI

5) Magisk-Treble

6) Gapps

It work for me at all GSI, only with AEX, launcher not work. Permanently load workspace. With custom launcher it work.

I think it was bad bulided.
[Treble-Enabled Device Development A/AB ROMS] aureliomilitao:
I INSTALL this GSI AEX here, and the system no starts, only boot animation, no turn on android
[Treble-Enabled Device Development A/AB ROMS] Kakshi Naresh:
Can I install aroma gapps?

Will it go well

---------- Post added at 06:17 AM ---------- Previous post was at 06:00 AM ----------

Then do factory reset in erecovery
[Treble-Enabled Device Development A/AB ROMS] B0hrer:
You dont have to use the GSI. AEX has also been released for the 5T. The Rom is including Sigularity Kernel btw.
[Treble-Enabled Device Development A/AB ROMS] KappaDelaJulio:
What is SmartPixel?
[Treble-Enabled Device Development A/AB ROMS] Saxithon:
It's a feature to further extend your battery life. It turns off up to 80% of all pixels if you have an oled display.

Gesendet von meinem LG-H930 mit Tapatalk
[Treble-Enabled Device Development A/AB ROMS] KappaDelaJulio:
Even if the screen is on?
[Treble-Enabled Device Development A/AB ROMS] Saxithon:
Yes only when screen is on

Gesendet von meinem LG-H930 mit Tapatalk
[Treble-Enabled Device Development A/AB ROMS] RUNNERX:
Can't wait to try when a/b comes out.
[Treble-Enabled Device Development A/AB ROMS] Muntasir Mahmud Saif:
as OnePlus 6 supports project treble,so can i flash this rom including all treble compatible roms on OnePlus 6?
[Treble-Enabled Device Development A/AB ROMS] RUNNERX:
You may want to ask in the one plus 6 forum if anyone is using a gsi, but as it has treble support it should work. Just make sure you decrypt internal storage also do not forget this will wipe all of your data.

Edit

OnePlus 6 has a/b partition this only has a out so far.
[Treble-Enabled Device Development A/AB ROMS] Muntasir Mahmud Saif:
yes my friend installed phh rom on op6 and it got some bugs...thanks anyway
[Treble-Enabled Device Development A/AB ROMS] steven360:
Please don't spam the forums with your annoying question marks. What he/she said is already very obvious, their english needs some work though, but the message is clear : it's not booting
[Treble-Enabled Device Development A/AB ROMS] sk3201:
On which device?
[Treble-Enabled Device Development A/AB ROMS] wmfanboy25:
gsi for a/b devices

Any possibility for getting gsi for a/b devices :confused:
[Treble-Enabled Device Development A/AB ROMS] laoli0913:
Huawei P10 Plus get bootloops, I tried TWRP and ADB. Neither of them worked.
[Treble-Enabled Device Development A/AB ROMS] kumar akarsh:
Was anyone able to boot this on a Huawei or Honor device??? If yes, do tell the procedure to install.
[Treble-Enabled Device Development A/AB ROMS] Harlemito:
Hello, can someone tell me, step by step, how to flash twrp, rom and gapps?

please, it will help me a lot

I'm on moto z play addisson
[Treble-Enabled Device Development A/AB ROMS] mandarthedon19@gmail.com:
Yes I got that..
[Treble-Enabled Device Development A/AB ROMS] skjh.jewel:
Hardware buttons are not costomizable? I found this in Redmi 4 Prime (markw) for hardware nav buttons:

Menu button: only menu with single tap. No recent option and nothing happens while while long press.

Home Button: Single tap works but long press opens Google App instead of Google voice assistance.

Back Button: only single tap for back is working. Nothing happens for long press.

In Settings>Extension>System>Button, there is no option for home/menu and back button; only power and volume button options are there.

Note that, everything is working with software nav bar.

Can anyone help me resolve it?
[Treble-Enabled Device Development A/AB ROMS] steven360:
Bootloops on Honor 7x, flashed with Open GApps and it told me there were already system GApps. I still booted, and got bootloops. Then, I tried again without GApps and still got bootloops. I did a factory reset after every system.img flash.
[Treble-Enabled Device Development A/AB ROMS] goofball2k:
Cannot detect wifi networks at startup on Redmi Note 5 Pro (Whyred).
[Treble-Enabled Device Development A/AB ROMS] nono20004:
Hello

The safetynet is OK on this version?
[Treble-Enabled Device Development A/AB ROMS] MoistPicklez:
A/B support would be nice, if you need a tester I'm your guy! ?
[Treble-Enabled Device Development A/AB ROMS] wmfanboy25:
Count me in :highfive:
[Treble-Enabled Device Development A/AB ROMS] mcc2005:
I had an bootloop on my Huawei Mate 9:

That's what i did:

1.) I reset the phone (lowlevel formating with stock recovery)

2.) go to bootloader installed the system.img with fastboot

3.) Reboot the phone and after i saw the Android phone startscreen and the 5 yellow line and the booting information i got a black screen and the phone reboots
[Treble-Enabled Device Development A/AB ROMS] kumar akarsh:
it boot loops or did u get into the booted rom??
[Treble-Enabled Device Development A/AB ROMS] mcc2005:
It bootloops. I didn´t get into the Rom and adb logcat didn´t work (-waiting for device-), sorry! :(
[Treble-Enabled Device Development A/AB ROMS] Raku22:
I think huawei devices have problems with treble roms
[Treble-Enabled Device Development A/AB ROMS] steven360:
Only with some of them ?
[Treble-Enabled Device Development A/AB ROMS] RUNNERX:
A/B tester here as well using the Razer to give you feedback on that platform.
[Treble-Enabled Device Development A/AB ROMS] mcc2005:
phhs Lineage and AOSP Roms working well. Just the new Roms like AospExtended and Pixel Experience dosen´t work on my Huawei Mate 9
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
GooD TIP ;) .

Any one knows why on Moto Z Play there is no NFC on this rom , also no ambient display and no camera app work ?
[Treble-Enabled Device Development A/AB ROMS] Harlemito:
Hello, can you explain to me, how did you do to install it on moto z play ?

I can not do it.
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Did you flashed - treble recovery and XPE rom (treble enabling) first ?

most of time I don't use treble roms since they are far less matured yet (don't have some major functionality) .
[Treble-Enabled Device Development A/AB ROMS] Harlemito:
Yes, I flashed the twrp treble, then the rom experience and only after the GSI 5.5.

Then Factory reset, restart.

Once I got a black screen and the other try I got bootloop.
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Try to boot to XPE first , that is only difference I see .
[Treble-Enabled Device Development A/AB ROMS] Harlemito:
I will try, thanks for your quick answers
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Logs for not working camera on Moto Z Play.

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Treble-Enabled Device Development A/AB ROMS] YoungYakov:
When 5.6 update?
[Treble-Enabled Device Development A/AB ROMS] MaleSamus:
Bootloop on Huawei Mate 10 Pro

I flash the rom correctly but I bootloop on my BLA-L09. The system is A only and it works with other roms. Any help to get this working?