yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] Skitals:
This is driving me crazy. I tried updating to Google Play Services 8.1.14 so I can try Android Pay. I can install the apk, and it seems to work fine. However, when I reboot I'm always back to GPS 7.8.99.

I uninstalled Android Wear, Android Pay, etc. I turned on airplane mode, reverted all GPS updates (puts it on 6.x), installed the 8.1.14 apk, and when I reboot.... still on 7.8.99!

Yes, I am using the correct built (-238). I am on stock/rooted/s-off 5.0.1 w/ root turned off in SuperSU. If anyone has any clue whats happening here, let me know!
[Verizon HTC One (M8)] Skitals:
Okay, so it looks like I solved my own problem. I reenabled root and UNINSTALLED Google Play Services via Titanium, then installed 8.1.14, and it seems to have stuck. I still have no clue why the update was reverting, but... whatever. Hopefully this helps someone in the future if they have the same issue.
[Verizon HTC One (M8)] Skitals:
Disregard my last, that was not successful. Smart Lock disappeared, and my Trust Agents page was blank with no obvious fix. I did a clean install w/ the latest stock/rooted RUU, and updated straight to services 8.1.14 apk, which worked fine (ncluding smart lock). Until...

Until an 8.1.15 auto-update. Which put me right back into the same revert on reboot loop, except now it would update to 8.1.15 a couple minutes after ever boot, and then revert to 8.1.14 every reboot.

I sorta narrowed down the problem... The 8.1.14 update I installed manually via apk resided at /data/app/com.google.android.gms-1

Every time I rebooted, it created a NEW folder and redownloaded 8.1.15 to to those folders, named com.google.android.gms-2, com.google.android.gms-3, com.google.android.gms-4, etc.

I'm assuming this is exactly what it was doing before i wiped, except 7.8.99 was installed to the com.google.android.gms-1 folder which it always reverts to.

The fix was simple: delete com.google.android.gms-1... rename com.google.android.gms-2 to com.google.android.gms-1. Delete all the extra copies.

If anyone could explain this behaviour, I would love to hear. This seems like a pretty big bug, I'm not sure if it's related to the (stock) rom or a bug with the 8.1.x google play services.
[Verizon HTC One (M8)] carm01:
here is your fix

http://xdaforums.com/verizon-htc-one-m8/help/lollipop-apps-reverts-to-version-reboot-t3076563

this was a few pages back on this section. You basically need to change the owner of '/data/app' to the system. Post 7 has the adb commands or use root explorer or some other app to change all folder and subs.

Regards
[Verizon HTC One (M8)] Skitals:
:victory: Some times my searching skills aren't up to snuff. I thought my issue was specific to play services, so this didn't come up. This is good to know, and should be added to the RUU thread!
[Verizon HTC One (M8)] carm01:
I would agree about adding to ruu thread, however, i cannot enforce that. I know some of the newer ROMS might support that like fluent 6.1 i believe does, and santod latest debloat i have not had any of those issues with those.
[Verizon HTC One (M8)] andybones:
No issues here. What I did was let it download gmscore, then I cut and pasted base.apk and lib (from data/app) to system/priv-app/GmsCore (deleting preeviois GmsCore.apk and lib first) and renamed to GmsCore.apk - then reboot.

Id try this.
[Xperia Z1 General] meliacentrum:
Hi Guys... I just wanna share the latest Firmware of Z1 C6903​

:highfive: :good: :highfive: :good: Do With Your Own Risk :good: :highfive: :good: :highfive:​

FTF 14.6.A.0.368-GLOBAL-LTA Click Here...​

Sony Xperia Android 5.1.1 Lollipop Changelog :

– Improvements to volume and silent mode control, more control of your alerts, simplified and enhanced design –

– Integration of LinkedIn with your Calendar and Contacts –

– Camera focus, speed and accuracy improvements in Superior Auto mode –

– Many new features for Xperia in Business, enhancing enterprise support for Xperia –

– Now take pictures from the camera using Sony SmartWatch 3; use the SW3 as a remote shutter button –

– Instant calendar events – create & share smart events directly from any email –

– Calendar agenda in Email – no need to switch apps to check upcoming events –

– Richer Xperia themes –

– New Settings menu icons –

– Additional options for Wi-Fi and Bluetooth in notification menu –

XPERIA Z1 C6903​
[Xperia Z1 General] mindoz:
Changelog?
[Xperia Z1 General] fromhungarytolnacounty:
how can i root without doengrade? TY
[Xperia Z1 General] mindoz:
Sorry, trough Tapatalk changelog was not visible
[Xperia Z1 General] tracer123:
how about camera api 2 ?
[Xperia Z1 General] Romi14:
First thing after flashing 5.1 I noticed is that they fixed device locking bug. So on 5.1 if you lock device, screen doesn't reacts to touches anymore. I think that user interface is faster than in 5.0. Last thing which I'm worried about is launcher reloading. I didn't see it for now. So maybe they fixed it too.

But I need days to say that this upadte is good. But for now it looks that it's way better than 5.0 update was.

Everyone who hasitate about upgrade. Do it right know. You will probably like your Xperia Z1 again.
[Xperia Z1 General] mindoz:
Installed. Seems really faster than 5.0.1
[Xperia Z1 General] vvoytex:
Hi, I've made pre rooted firmware(included superSU, Dualrecovery and Xposed) using this ftf. with PRFCreator.

Flashed it yesterday. So far all works great on my z1 c6903. Thanks :good:
[Xperia Z1 General] frogie4life84:
can i flash with the C6903_Lollipop 5.1.1_GLOBAL-LTA.ftf on a xperia z1 t-mobile NL(Netherlands) device. Do I have to flash it to unbrand it and do I need to install flash drivers?, before I am flashing the ftf file in Flashtool? What happens if it's fail can I rollback to the official/orginal firmware 5.0.2, recorvery mode?
[Xperia Z1 General] meliacentrum:
That's great brow.... :D

Let's share.... :beer:

Yes u can broh... :D U don't need to downgrade your fw before flash it.

Just Flash with flashtool and its never failed :D
[Xperia Z1 General] Vengeance66:
I have C6903 with T-Mobile firmware. It was network locked and I unlocked it. I guess flashing this firmware wouldn't lock the phone again?

I need to flash it with flashtool, right? Any step by step tutorials? I kinda lost my way into this...

Thanks.
[Xperia Z1 General] motorazrv3:
Sorry for the following stupid question.

What does global lta mean?
[Xperia Z1 General] meliacentrum:
Download :

- flashtool

- firmware ftf

Step Tutor :

- Install flashtool on your pc/laptop

- Install driver on C/Flashtool/Driver/...

- Copy your ftf on data C/Flashtool/Firmware

- Follow the instruction on flashtool to flash

LTA is Latin American :cool:
[Xperia Z1 General] motorazrv3:
Thx explaining it.

I am from Germany and currently using euro lte customized German .270.

I am still waiting for a .368 to be released.

Haven't found anything yet and didn't get a update notification till now.
[Xperia Z1 General] xasbo:
XperiFirm shows releases for Central Europe (CE1, CE3, CE4, CE5) if you don't want to wait for the DE release.
[Xperia Z1 General] motorazrv3:
Yeah maybe that is an option.

I only have to get the difference between ce1 ce3 ce4 and ce5. Could you explain it to me?
[Xperia Z1 General] xasbo:
Sorry, I don't know. Did a little searching, but nothing obvious jumped out. Maybe someone else will chime in. I can see that they have different customization numbers and different sales items; I am inclined to think that sales item is less important, but customization could affect the modem or something important.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Bloodlust:
Phone is unlocked, could I just use SSPL-HERM to do the job? Anything to take note of? Thanks in advance.
[ONE Android Development] sollapse:
[From my README]

A mod for the Oneplus One DWC3 otg module. This allows for charging and host mode simultaneously, inspired by Ziddey's msm_otg mod for the Nexus 4/7 (2013). Functionality was ported over from his kernel hack to the DWC3 USB driver which now handles the MSM8974 USB controller.

The hack works through setting a custom module parameter I've added to allow 'ACA' host mode. This flag effectively turns on ID_A host mode while disabling VBUS power going to the hosted device. I've uploaded the modded dwc3_otg.c file that you can replace in your Oneplus One(bacon) kernel source of choice. It'll be located in the drivers/usb/dwc3/ directory. I've also uploaded my personal kernel image with this hack built on top of Franco's kernel. It also has other modules built into it, mainly DRM/Devtmpfs/Cifs/NFS/NTFS/Alsa Sequencer/Usbip/Binfmt/loadable modules/etc... It was compiled with GCC 4.9 NDK version.

Usage: First you'll need either a generic Y split USB OTG cable or a powered USB hub connected to regular OTG(I've only tested the Y cable).

With the modified kernel flashed, open a terminal shell and as root, enter the following command: "echo Y > /sys/module/dwc3/parameters/aca_enable"

This activates the 'ACA' host mode hack.

[UPDATE]

Wiggling the cord is not needed anymore. I've updated the code so that the phone automatically accepts a charge on entering host mode.

The tricky part is now getting your Y-OTG adapter to send power to the phone. First with power cable and USB device(s) connected the adapter, plug the Y cable into the phone. Test that the phone reads the device. Now, unplug the cable from the phone, leaving the USB device and power cord plugged into the OTG adapter. Gently wiggle the cable slightly while slowly pushing it back into the phone's port, wait for the charge indicator to come on. Once the phone detects the charge, you can push the cable in all the way. The phone should be charging at max current rate while retaining host mode.

Please, if you can test the powered hub method or have improvements to this hack, feel free to share! Also, the standard legal disclaimer applies here that by using this mod/code/kernel in anyway is completely your responsibility. I'm not liable for any possible damages to your devices.

Links:

DWC3 OTG Modification For OnePlus One

https://github.com/sollapse/opo_dwc3_otg/

Ziddey's Original ACA hack for Mako

https://github.com/ziddey/mako/commits/nightlies-4.3-JSS

Franco's Oneplus One Kernel Source

https://github.com/franciscofranco/one_plus_one
[ONE Android Development] sollapse:
I've updated my code a couple of days ago to automatically apply power during the state change, assuming a charger is connected to the y cable (USB devices would not power otherwise). In your mod, it seems you're attempting to detect a charge using the 'B' mode state, but by that time with the aca flag enabled, the USB controller should be in ID_A host mode instead of B_SESS_VLD. The driver's 'set_power' function already checks the line for current automatically. Please look at the updated code to see what I did during the state change. It should all work utilizing the one parameter flag.
[ONE Android Development] Phoenix Wright:
I tested this with a patched sultanXDA CAF kernel (since the .c source file was slightly different, I was careful to only merge the relevant changes), and a powered USB HUB. It works perfectly! Thanks.
[ONE Android Development] sollapse:
That's great! I'm pretty certain with the push to USB Type C and potential USB 3.1 support, that the DWC3 driver will be used across most devices for now on. This code should merge well with them if ACA is absent (Zenphone 2 is the only exception I've found so far since Intel enabled it in the driver).
[ONE Android Development] snekiam:
Can someone post a modded CAF kernel for the opo? I am having issues building a kernel as I currently only have a windows box.
[ONE Android Development] Phoenix Wright:
Latest Sultanxda kernel (as of 10/4), with the CAF dwc_otg modified with sollapse's patches. His sources are here: https://github.com/sultanxda/android_kernel_oneplus_msm8974

I used Google GCC 4.8, which is the same one he uses, as far as I could tell.

View attachment 3499308

[MENTION=6734975]sollapse[/MENTION] I noticed a bug. I made two widgets with an app on Play Store (to enable and disable this hack). I disabled this by mistake while the OTG device and charge were still inserted, and after I removed them I got a kernel panic, could this be fixed?
[ONE Android Development] sollapse:
I should be able to fix it. I'll look at it again and will try to clean up the state change code.
[ONE Android Development] matze19999:
Kernel

Can someone please upload a kernel .img?

I am not able to compile a kernel on my own....
[ONE Android Development] Phoenix Wright:
[MENTION=6734975]sollapse[/MENTION] I fixed the kernel panics, and also another bug (when the aca_enable parameter was on, you couldn't charge at full speed with a wall charger - not in host mode, just simple charging). I've done all possible status changes (set aca_enable to on, insert otg-y cable + device, turn aca_enable off, unplug device; aca_enable is off, plug regular otg cable + device, turn aca_enable on, unplug device, set aca_enable to off, re-plug). These two situations respectively gave these results: kernel panic and inability to use regular otg again.

Turns out that the issues were with "regulator_disable", now it's executed when the regulator is enabled, regardless of the aca_enable parameter.
[ONE Android Development] Phoenix Wright:
Another fix for incorrect usage: if you connected a regular OTG cable+device while aca_enable was set to Y, it would show the charging icon, and it would even stay there after the device was disconnected! Sadly I can't prevent the charging icon from appearing (as this hack basically forces all the "unknown" chargers to be reported as USB - as opposed to AC - chargers... and the weird part is that the charge coming from OTG-Y is an "unknown charger"... but the charge (?) coming from a regular OTG device is an "unknown charger" too! XD, if there's a way it's out of reach for me), but I managed to make it go away after disconnection. Basically, it doesn't force "unknown" to USB if the function gets called to *disable* charging. I guess this is the best I can do for this kernel mod ^_^
[ONE Android Development] Phoenix Wright:
It looks I was wrong, after lots of debugging of dwc3_otg I learned how it works, so I overhauled the patch. It works more cleanly now: it actually properly detects the charger (no more phantom notifications, faster charging rates if it's allowed by the charger), supports unplugging and replugging of the power cord while using OTG-Y, and unplugging of the device after power was unplugged, fixes all sorts of race conditions and wrong usages of the aca_enable parameter (I'm not sure if it's all of them, but I've been testing and fixing things for a while).

I attach a .diff for CAF kernels. Take note that to use the fix for plugging OTG devices in sleep mode you need to patch the charger driver: https://github.com/sultanxda/androi...mmit/7b023b295fdfa4789c93aee8b04f5d2a9b52dbba
[ONE Android Development] sollapse:
Wow, I've completely abandoned this hack since it's worked well enough for me :D. Also haven't had much time due to work and other necessities. Thanks for the patches [MENTION=1581416]Phoenix Wright[/MENTION] for cleaning up this hack! This should be a standard addition to all future Android kernels.
[ONE Android Development] Phoenix Wright:
Yeah, I wonder why they haven't implemented the feature officially, as it can be done just fine :o

And many thanks for developing this:o

By the way, I realized the reboots when inserting an OTG-Y device in deep sleep were not actually fixed, as I got a reboot yesterday, my bad (sultanxda fixed the issues with doing it with regular OTG, but it seems the issue with OTG-Y was different). It seems it's fixed properly this time though. Same patch as yesterday, just a two line difference.:)
[ONE Android Development] ikjadoon:
A brief update, as I'm too tired to annotate everything today, haha. The reason the guide uses Doom's toolchains is because they're prebuilt. So, I guess, we'll use those. :D I'm creating the updated dwc3_otg.c from all the patches, but the hunks are failing after the first patch. Will troubleshoot today by looking at the reject file and see what's being moved around.

EDIT: OK, I actually just opened the patch files. Looks like I just need the latest one to apply to sollapse's original patch. Patches 1/2 are almost identical (and sans full overhaul). Patch 3 is superseded by patch 4. So, just patch 4 is the one you need. Huh. Let's do it! ;D

This guide is great for understanding patch files.
[ONE Android Development] stadnyuk:
thanks for your work, it's awesome feature

is there some solution without a kernel compiling ? some custom rom or kernel image
[ONE Android Development] nikhil18:
Its already there in my kernel called lightning kernel check tht sig for the link and if you are on cm then there is another thread in original android dev section
[ONE Android Development] stadnyuk:
Thank you, I'll check it. I've installed sultanxda ROM with hope for future kernel updates, but there is some bugs and I think to return to stock CM
[ONE Android Development] stadnyuk:
Hi again, I'm stuck with lightning kernel(((

Can't flash it. I'm starting to think I'm completely noon.

Flashing over night build of CM12 the cm version of kernel(V15)

Wipe, flash, wipe

The result - stuck on one plus logo

Flashing again sultanxda ROM, wipe, kernel, gapps

The result - boot loop

Where is the problem? What I'm doing wrong?

Now I'm on a last night build, am I right that I need V15 cm version?

Thank you for helping

PS: I've realized I was flashing cm13 kernel version with cm12 ROM, so flashed sultanxda 12, v33 kernel version - loop boot :(
[ONE Android Development] Kaffee3931:
Does this work on CM-13 based kernels?
[ONE Android Development] giesse1996:
HTC ons s support?

This is wonderfull!

At home i have an old HTC ons s, ,which is nog rooted yet. Is it possible to install this somehow on it? If it is possible, could someone explain what i need to do different than a normaal root?

Thanks in advane
[ONE Android Development] The_Darckel:
Compatibility

Hi everyone,

This tweak work on any kernel and 7.1 ??

It's dangerous ti install it ?
[ONE Android Development] mabusdogma:
Old good news

Maybe this is an old post, but it's useful... I wanted to use my old Oneplus One (bacon) as a server, so I needed to make it work all the time with extra storage and charging , so I bought a Y OTG/charge cable and first i believedit was broken, till I realized it worked with another phone... so I started my search, thinking it could be more software than harware issues.

Well I tried everything, since install ROMS like Kali Nethunter (they promised it would work but I was no lucky) till patching the original kernel on... everything! (Lightning, CM 14, LineagOS, OxygenOS) Because I didnt know the original ROM to flash the kernel, I even tried to build one kernel by myself (my closest linux is a Linux Deploy app on the same Oneplus I tried to fix!), until i made it work, so I'm going to tell you what I did:

On TWRP Recovery, I flashed the ROM

cm-12.0-YNG1TAS0YL-bacon-signed

after that I flashed the img file (kernel) on the original post

(you have to open with WinRAR or something, and get the *img file, remember to change from ZIP to IMG inside TWRD Recovery when you are installing, or it won't be visible).

I flashed something extra: gapps 5.1 and SuperSU to root

when reboot into the system, install one terminal app from Google play and write:

su root

echo Y > /sys/module/dwc3/parameters/aca_enable

then... plug the cable with the device (USB, hard drive) and... voilà, it works properly, both charging and data transfer.

Since I'm going to use it as a server with Linux Deploy and Debian, I don't care that much the Android Version.

If anyone knows how to built a nice working kernel with a modern Lineage OS, let me know! for now it works and I'm happy!
[ONE Android Development] :
[MENTION=9123520]mabusdogma[/MENTION] Doesn't sultan's unofficial lineage 14.1 contain this patch? Or did you try that rom as well?
[ONE Android Development] Costa02:
would this work on pie roms?
[ONE Android Development] yellowsnow4free:
Apologies for the necrobump, but I recently came across this thread while trying to find a way to charge my OnePlus One when using an OTG "Y" adapter.

I'm currently running lineage-18.1-20240106-nightly-bacon-signed.zip (https://download.lineageos.org/devices/bacon/builds) and TWRP (likely twrp-3.6.2_9-0-bacon.img).

I just want to use my phone as an OctoPrint server, so I don't need much aside from the WiFi, camera, and flashlight to work.

Is this still the best way to add power over OTG host to my OPO? I've seen a couple unofficial LOS 19 and 20 ROMs on here, but idk if they've added power over OTG host to the kernel.

Apologies for the noob question, but it has been a while since I've done anything to my OPO aside from flashing ROMs.

Thanks!
[Sony Xperia S, Acro S, Ion] zaidx:
edit: deleted
[Android General] AmolAmrit:
Hey Guys ,

Today I'll be posting Stock UI Sounds of Lollipop/Kitkat Stock ROM here. So that , people like me will get something to cheer up ? Yup , I hate the stock Sounds , UI Sounds of Cyanogenmod ROM so I generally replace the sounds of CM with Google's stock ROM. Stock ROM UI Sounds , hits more better.

Download

http://www.mediafire.com/?s8s98r74vma61

To Replace Sound ,

1. Download files ( Sound Pack )

2. Download Root Explorer

3. Copy and Replace all UI Sounds to the folder system/media/audio/ui

4. Again , Navigate to the same location and press select all

5. Go to the menu and choose per missions

6. Change permissions from 0666 to 0664

7. Finally Reboot and Enjoy sweet sounds

Screenshots ????

Tapped from my Títan ?
[Android General] rmedinapagan:
Copying

How can I replace those files under Marshmallow? I am not able to do it even though I have root access and I am using ROOT Explorer
[Android General] AmolAmrit:
I don't know buddy but I tried this on OrionOS it worked.

What is happening ? Are you getting any error ? For me it works.
[Android General] rmedinapagan:
Error when copying

https://goo.gl/photos/pBirRZGKJWr2q1UFA[/IMG]
[Android General] rmedinapagan:
I was able to this on Android 5.1.1 but under Marshmallow I am not able to do it
[Android General] AmolAmrit:
If you use Tapatalk can you upload the picture and tell me what error it is giving.
[Android General] rmedinapagan:
Screenshot

Dont know how to upload using Taptalk, any other way to send you the Screenshot? this is a link

https://drive.google.com/file/d/0B34Wbg8Ljbp1Y0FKcjZQZnh2ZGs/view?usp=sharing
[Android General] AmolAmrit:
Which ROM are you on ?

Maybe you can try different explorer.

I'll install one MM ROM and let ya know.
[Android General] rmedinapagan:
I was able to fix this using this steps

1.Erase all ogg files

2.I flash a zip filename called 5 . sounds.zip that I found on this website

3.reboot

4.Now I see new ogg files and these new files I am able to use your procedure as you describe on your thread

I don't know why but it works, the Es flash sounds I can rename them and even delete them the originals ones I was able only to move them.
[Android General] AmolAmrit:
Thank you for sharing
[Xperia Z General] zakitheracer:
Can anyone please upload the latest RR 5.5.5?

As Airless has seemed to have removed it from AFH

Also if possible can someone also upload RR 5.5.0?

Thanks in Advance [emoji4]
[Xperia Z General] Diatomix98:
Here you go, the latest v5.5.5. =)

https://mega.nz/#!1EIGnCQY!1_M-xv-zD5LxtF7tuHr68fkYLDbzAAL5kiPYcqiZ_5g
[Xperia Z General] unloaded1:
thank you too!