yashsingh1/xdaforums huggingface dataset:
[G4 General] LaughingCarrot:
Well that's exciting. Now we just need to figure out how to bypass anti-rollback without hard bricking.
[G4 General] steadfasterX:
The state of my hack (2017-03-13)

FULL takeover/hijack of boot -> DONE (the modifications required are

not

voiding the Android boot signing chain!)

replace RAM disk -> WIP (most parts done)

boot own RAM disk -> WIP (booting already!!! FIsH's concept works and most parts done here as well)

boot efidroid instead of TWRP -> not started yet (waiting for the testers feedback)

First ALPHA release was send out to the alpha testers

just NOW

... I'm very excited how it works for them.. :fingers-crossed:

.
[G4 General] CygnusBlack:
Nice! Congratulations!
[G4 General] TheMadScientist:
alpha works on ls991 sprint varient guys make sure to give the man his need thankx and donations he gets to pot
[G4 General] rakshikashyap:
Wohooooo....:)
[G4 General] TheMadScientist:
havnt tried much did make a back up

---------- Post added at 06:51 AM ---------- Previous post was at 06:50 AM ----------

might have to pull the g4 back off the shelf boys bring the ole girl out of retirement
[G4 General] uio88:
Good work my friend!
[G4 General] TheMadScientist:
so can i or should i flash anything simple and i noticed unable to mount system but its got system image mounted?
[G4 General] sumitverma1:
I have g4 H818P and getenforce is permissable.. Felling so exited
[G4 General] TheMadScientist:
dont know if it would be considered a beta but he made a few mods a little while ago and reposted the files and twrp is also persisting throught reboots

---------- Post added at 07:22 AM ---------- Previous post was at 07:18 AM ----------

been a long time wating and im so excited i can be a part of this

its 730 am been up since 2 or 3 here snowin like hell.

i caught the flu from everyone in the house yesterday so sicker than a dog im im still jumpin for joy

every one make sure to give him the thanks and remeber the old donation pots
[G4 General] steadfasterX:
well yes.. when twrp boots up /system isn't fully ready for it. keep in mind that hack is totally brutal (that's why i named it "Fluffy Incredible ..." ;) lol)

when you can mount system manually then all is good ;)

you can open the file manager in twrp (advanced -> file manager) and browse to system. it should contain a lot of folders after you mount it manually.

if that is true just ignore the message.

keep in mind: do not touch boot or recovery partitions. you can backup them without any harm and even restore (well .. untested!) but do not modify anything there (just a reminder because its so important ;) )

.
[G4 General] TheMadScientist:
i restored them works good only fail is backing up system image

ill try mounting here in a min started snowin real bad so im getting the chickens fed lol

`

---------- Post added at 07:36 AM ---------- Previous post was at 07:30 AM ----------

mounted sytem can view system files and backup im try somthing simple like viper4android
[G4 General] TheMadScientist:
so i figure start simple i just flashed v4a and works great did have to mount sys first before flash but sucsessful

Now guys remember

My g4 is a shelf unit now. I dont care to test and brick mine. Wait for any confirmations from op before doing anything. And remeber what works for me may not work for you.
[G4 General] steadfasterX:
Thanks [MENTION=5759239]TheMadScientist420[/MENTION] :)

updated the OP:

The state of my hack (2017-03-14)

FULL takeover/hijack of boot -> DONE (the modifications required are

not

voiding the Android boot signing chain!)

replace RAM disk -> DONE

boot own RAM disk (TWRP!) -> DONE (atm TWRP 2.8.7-0)

Upgrade bundled TWRP to latest version -> not started yet (build compatible with LL required)

Prepare public release -> WIP (do not ask for ETA's!)

boot efidroid instead of TWRP -> WIP (build ok but not booting)
[G4 General] TheMadScientist:
so as op said do not mess with boot or recov partition remeber u still have locked bootloader

but this opens doors for say on ls991 stock based zv6 roms as long as when theyre made and flashed u use the stock zv6 kernal or i would assume flash any said in my case lolipop rom only and restore orig boot partitions will test this therory out to see if i trip the lg sigs and get secure boot errors
[G4 General] Aaahh:
Nice to see this, my LG bootloopped long ago when I started so it's nice to see someone completed this idea
[G4 General] TheMadScientist:
killer for those of us that are left lol mines so stinkin old now ive sold it 3 or 4 times over everyone ive sold it to loved it so much most of them went and got v20s and give me back the g4 i got a gs7 and a note 5 with the note full port on it i run as my dailys. so like i said if i was to hard brick it rite now im not out anything and ive got a octo box and jtag kit so i may be able to fix em after all
[G4 General] steadfasterX:
It opens the door to any custom ROM u want to build. LOS, RR , ...

tbh i re-wrote 90% of it and added some other ideas but without your try i may had given up! It directed me to the correct path to do that :) many thanks! :highfive:
[G4 General] TheMadScientist:
i hit my thanks for the day more are coming i guess im thinking short term as in cm and aosp dont use stock based kernels which then would set off the lg sig errors rite or is that more short term thinking
[G4 General] spartan268:
This sounds awesome. Give this man his bounty when this is all over. If my G4 wasn't my daily driver I'd contribute to the cause as well
[G4 General] steadfasterX:
I'm new to efidroid and never used multirom before but both give the possibility to install other OS on another partition. thats why i work on the efidroid port as well..

Both can be booted by FIsH..

.
[G4 General] TheMadScientist:
Thanks for clarifying. So i was just thinking short term as roms in twrp forgot about efi.
[G4 General] steadfasterX:
Confirmed to work devices (as of 2017-03-14):

H815 International - unlocked (Thanks [MENTION=5545101]steadfasterX[/MENTION] yea its mine and i have no locked device to test with ;) That's why i needed ur help. but i test without touching the boot chain so its similar to locked devices.)

LS991 Sprint - locked (Thanks [MENTION=5759239]TheMadScientist420[/MENTION])

H815T - locked (Thanks [MENTION=5937299]the_naxhoo[/MENTION])

Important note regarding the SuperSU requirement:

You HAVE TO install

SuperSU >=v2.76!

I will provide a patched version which ensure that it does not harm your boot partition (@ the beta testers: it is in the same location. Flash it with flashfire or similar).

Where are the H818 , H812, G4-whatever users??? ;)

.
[G4 General] sumitverma1:
I am h818p user but I am new to this.if its safe I can test this to my mobile.
[G4 General] steadfasterX:
safe is only the death ;)

but serious: The installer supports Linux only atm (Windows users could use FWUL) and u have to take the risk of a soft brick nevertheless.

The chances of a bootloop are very low but I cannot guarantee for anything.

You should know what adb is

you should be able to install Teamviewer for advanced support when required

and be able to log in to the IRC support channel i will provide to you (easy web browser access)

If u feel comfortable with all this write me a PM with subject "FIsH".

.
[G4 General] Calvido:
Hi, interesting your approach in this work. We thinking it's​ possible to apply in model LG G Flex 2?

Enviado desde mi LG-H950 mediante Tapatalk
[G4 General] steadfasterX:
Without going too much into detail:

tbh it will work on ANY device from ANY vendor as long as the pre-requiremens written in the OP are met.

and you have to build your own TWRP version for your device.

That's all :)

For the details i will release a porting guide.

.
[G4 General] SimoxTav:
H818P freshly repaired with Lollipop rooted. I might be interested in testing your solution :)
[G4 General] onotor:
Can I ask for the SuperSU version? It have to be 2.76 or higher than 2.76 version (including 2.76)???
[G4 General] steadfasterX:
I send u a PM.

>= 2.76 means greater or equal so yes 2.76 is fully supported ;)
[G4 General] steadfasterX:
@ All here

From now on: Please head over all the discussion to here:

https://xdaforums.com/g4/development/locked-twrpinfish-locked-g4-devices-t3573048

I will release the public versions there as well.

thanks for your patience.

sfX
[G4 General] sdembiske:
Installation of TWRPinFIsH of H812 ...

Hello ReeS86: I see you confirmed that TWRPinFIsH is working on your H812. Have you run into any issues since you have installed it? If so, would appreciate knowing what they were and if you were able to resolve them. I meet all the requirements for installation on my rooted Fido H81210N and would appreciate confirmation and input from someone who has "been there, done that" on the same phone.

Thanks,S.
[G4 General] ReeS86:
No issues to report however you should check out the topic in G4 Android Development that is a couple posts above yours. There is more info on what works and what doesn't. You have to be careful not to flash or modify anything related to the recovery, boot or kernel. This includes any recovery or custom ROMs.
[G4 General] sdembiske:
Thank you - will do.

Appreciate you getting back and I will check it out.

Thanks again,

S.
[LG V20 Questions & Answers] shamlyn:
Question for everyone,

So I have followed the steps to root my LG V20 before I installed TWRP, however I am stuck at the moment. Here is a copy of my log. It keeps coming up with an error saying no file or directory when I try to put this in " dd if=/sdcard/twrp-3.0.2-0-beta4-h918.img of=/dev/block/bootdevice/by-name/recovery.

Here is a copy of the log:

--------

Updating boot image hash

Writing modified boot image to block device '/dev/block/bootdevice/by-name/boot'...

Done!

------------

Permissive boot has been has been flashed to /dev/block/bootdevice/by-name/boot successfully!

You may use 'reboot' now to enter a permissive system.

***********************************************

* give jcadduono a hug, will ya? *

***********************************************

elsa:/data/local/tmp $ run-as su

Welcome to recowvery! (run-as)

------------

Current uid: 2000

Setting capabilities

Attempting to escalate to root

Current uid: 0

We have root access!

------------

Starting root shell

elsa:/data/local/tmp # dd if=/sdcard/twrp-3.0.2-0-beta4-h918.img of=/dev/block/bootdevice/by-name/recovery

dd: /sdcard/twrp-3.0.2-0-beta4-h918.img: No such file or directory

1|elsa:/data/local/tmp # dd if=/sdcard/twrp-3.0.2-1-h918.img of=/dev/block/bootdevice/by-name/recovery

dd: /sdcard/twrp-3.0.2-1-h918.img: No such file or directory

1|elsa:/data/local/tmp #

---------------------------------------------------------------------

Thanks
[Google Pixel XL Guides, News, & Discussion] 5.1:
Hi guys and girls...

I just recieved my new phone a few days ago. Plugged it into an old Windows 7 x64 laptop and Windows instantly updated the driver. On a 2016 Dell E7450 Windows 10 x64 laptop... It didn't. Tried the Google USB drver package, but it didn't work either. Windows reports about a problem with an INF file and doesn't finalize the driver install... :P

I just saw someone reported the same issue in Q/A. I thought it would be a good idea to write a step by step guide.

[MENTION=2686450]ppd0526[/MENTION] proposed an easier solution to fix the issue:

Please if you use this solution, don't forget to say thanks to him in this post: THANKS

Uninstalled the driver and reinstalled using this method works fine! :good:

If someone has difficulty with the above or it doesn't work (which it should) i leave the one below just in case... :)

Click to show the guide:

Right click on the Windows start menu icon and select Device manager:

From here plug your Pixel using your USB cord to your computer. Pull the notification bar on your Pixel and tap on:

USB charging this device

Tap for more options

From the menu, select:

Transfet files

From here, you should see an "Unknown device" or an "MTP device" with an exclamation mark.

Right click on the device and select "Update driver software":

Click: "Browse my computer for driver software:

Click: Let me pick from a list of device drivers on my computer:

Scroll down till you find "LeMobile Android Device" and select it:

Here, select the second option: "MTP USB device"

Success :P

Now recognized in device manager:

In "This PC":

Hopefully, it will help some people. :)
[Google Pixel XL Guides, News, & Discussion] JimSmith94:
Awesome, thanks! After several months with my phone, this just happened to me yesterday and I couldn't figure it out. The Google USB driver reinstall didn't work for me either, but this did!

As a suggestion, it's quicker to get to Device Manager by right clicking on the gear icon (Start) and selecting Device Manager.
[Google Pixel XL Guides, News, & Discussion] 5.1:
Hooray... Thanks for the suggestion. I'm such a n00b when it comes to shortcuts... Edited to save the extra clicks. :)
[Google Pixel XL Guides, News, & Discussion] bobby janow:
Wow, thanks so much. Couldn't figure this out. How did you?
[Google Pixel XL Guides, News, & Discussion] 5.1:
Hey... I once had a similar issue with a printer in the past and found this solution on the internet. So when it reappeared with the Pixel, I thought i would try as well. In the end it worked. That's all. I'm glad you sorted it out. :)
[Google Pixel XL Guides, News, & Discussion] ppd0526:
I actually just helped a friend out with this. There is an easier fix then having to go through all that and add a known device.

1. Go to C:\Windows\INF

2. Find the file "wpdmtp.inf"

3. Right click the file and click 'Install'

4. Once that is done, simply plug your phone and it should work.
[Google Pixel XL Guides, News, & Discussion] 5.1:
Nice... Maybe you can open another thread? Or want me to add it to the OP?

Cheers...
[Google Pixel XL Guides, News, & Discussion] ppd0526:
Adding it to the OP as an alternate method is fine. Better to keep the information consolidated.
[Google Pixel XL Guides, News, & Discussion] 5.1:
Yeah you're right.

By the way, i just tried to uninstall my computer's driver and installed it with your method! Everything's alright.

Thank you...
[Google Pixel XL Guides, News, & Discussion] b4u2:
My PC doesn't have this file wpdmtp.inf

Uninstalled the device and driver. Reconnected and let Windows update driver. Now it works.
[Google Pixel XL Guides, News, & Discussion] puertorecon:
Thank you Soo much. It worked exactly like it says in the OP.
[Google Pixel XL Guides, News, & Discussion] jhs39:
This guide doesn't work anymore. MTP Device and MTP USB Device are no longer the menu options. Uninstalling the device doesn't work. You just end up with the exact same MTP with the exclamation point as before.
[Google Pixel XL Guides, News, & Discussion] gunbladerq:
Yes! This works! WooHoo.... just had to uninstall all previous drivers first at the device manager.
[Google Pixel XL Guides, News, & Discussion] DerekCaelin:
Thanks, this worked!
[Google Pixel XL Guides, News, & Discussion] Aguthadeus:
Thank you sooo much :victory:, I actually didn't have the wpdmtp.inf in C:\Windows\Inf but I had this folder (link) containing a couple of android drivers and there was wpdmtp.inf file in it, I right clicked and installed it and VOILLAA!!... :laugh: everything went perfect after that. If for any reason you still face MTP problems after this I would recommend to do a manual installation of MTP drivers by going to "Device Manager", click MTP entry with exclamation then "Update Driver Software"->"Browse my computer for driver", navigate to the folder location where you extracted the drivers (link).... you should be done after that. If otherwise you face a problem along the lines of "section in this INF is invalid" while doing manual installation dreboot your PC and find the wpdmtp.inf again, right click then install and you would have fixed your problem. :good:
[Google Pixel XL Guides, News, & Discussion] iH8ra!n:
THANKS!

Oh man! Finally, FREAKING FINALLY, I found a solution that works. Thank u so so so much.
[Google Pixel XL Guides, News, & Discussion] NDboots:
Thank you! This tip worked for me!

I have been having this issue for almost a year, if I wanted pictures and files from my phone, I had to get them from the cloud. Today was the first time in a very long time, that I was able to just copy over files from the phone again from Windows Explorer. THANK YOU!
[Google Pixel XL Guides, News, & Discussion] Jaws4God:
trying these methods is still failing for me... shows "Pixel" in device manager.. if I try to update drive.. it says either can't find.. or failed...

and if i turn on Transfer Files.. Device manager shows ADB and MTP under "Other" but both fail when trying to update drivers..
[Google Pixel XL Guides, News, & Discussion] Ki11ian:
YES!!!

WOW, Dude you ROCK!! I have been struggling with this for well over 6 months but just pulled my Pixel back off the shelf for Android PIE and have been determined to find this fix.

Again, thank you very much!!!!!!!
[Google Pixel XL Guides, News, & Discussion] 5.1:
Haha, better late than never... :good:

Cheers...
[Google Pixel XL Guides, News, & Discussion] sidjohn:
Just used [MENTION=2686450]ppd0526[/MENTION] method - worked flawlessly with my Pixel 2 on Windows 10 - less than 30 seconds to fix what I have been battling with for the last week

Thank you and heading over to thank [MENTION=2686450]ppd0526[/MENTION] also
[Google Pixel XL Guides, News, & Discussion] sc.kim:
Thank you so much~:)
[Google Pixel XL Guides, News, & Discussion] gbro:
Neither fix works for me. I have a Dell laptop and a Dell desktop both running Windows 10 but only the laptop will see the Pixel2 for file transfer. Therefore I know the phone is configured OK and the cable is good. In the laptop's device manager the phone shows up as Portable Devices/Pixel2 and I can see the files in Win Explorer. Incidentally, there is no INF\wdpmtp.inf file on that computer. On the desktop in device manager I see Android Device/Google Nexus ADB Interface. Don't know if this is related but I also got a 32GB USB-c stick that the phone can't copy files to.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Do you have SDK Platform-tools r29.0.5 installed on your laptop? https://developer.android.com/studio/releases/platform-tools.html
[Google Pixel XL Guides, News, & Discussion] gbro:
Can't recall, how to tell if SDK installed?

Thanks for response. If the SDK is there I can't find it (no android folder under either program files).
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
When you download it and extract it you should see a folder on your

c:\platform-tools_r29.0.5-windows\Platform-tool
[Google Pixel XL Guides, News, & Discussion] gbro:
SDK fix drivers ?

Sorry if I'm being dense here, but are you suggesting that installing that SDK will somehow fix the drivers so the computer sees the Pixel2's files?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
That is all I installed on my computer for it to recognize my Pixel XL. I thought you had a pixel XL because that is what this thread is Pixel XL.

The Pixel 2 threads are:

https://xdaforums.com/pixel-2

https://xdaforums.com/pixel-2-xl
[Google Pixel XL Guides, News, & Discussion] 5.1:
Hello,

As [MENTION=4810220]Homeboy76[/MENTION] suggested, you'd better head over the Pixel 2/2XL forum depending on your model. Check this maybe, i had a similar issue as well:

Since I upgraded to the Pixel 3 XL, my Dell E7450 Windows 10 x64 wouldn't recognize it on two USB ports, but found it on the 3rd one FWIW...

Good luck..! :good:

Sébastien.
[Google Pixel XL Guides, News, & Discussion] gbro:
Thanks

Thanks all. If anyone is being dense it's surely me. I will try other ports, didn't yet because I keep external drives there.
[Google Pixel XL Guides, News, & Discussion] acma3978:
Cool Good
[Google Pixel XL Guides, News, & Discussion] alh22:
Pixel 4A not recognized via USB by Windows 10

The procedure described below worked---great!

THANKS!:)
[Google Pixel XL Guides, News, & Discussion] David1501:
Tried the method In Windows 7

1. Go to C:\Windows\INF

2. Find the file "wpdmtp.inf"

3. Right click the file and click 'Install'

4. Once that is done, simply plug your phone and it should work.

Tried the method In Windows 7 but it doesn't work and a popup say:

The inf file you selected does not support this method of installation...
[Google Pixel XL Guides, News, & Discussion] mdarman219:
Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks--Thanks
[OnePlus 3 Guides, News, & Discussion] Midomad:
So i was bored waiting for google assistant to pop up and just did this and it worked,so i'm sharing it with you!

Ps : it's working for me on a OP3T with stable 10.2.98 Google Play Services version and 6.13.25.21 Google App version, so please test and confirm.

1. Go to settings/apps/Google app/manage space/clear all data.

Go to settings/apps/Google Play Services/manage space/clear all data.

3. Go to settings/language and input/change default language to US English by dragging it to the top.

3.Reboot and press home button and your done!

View attachment 4069050
[Nexus 9 Q&A, Help & Troubleshooting] xtkme:
Hi all

I have a 32 GB WiFi model of Nexus 9. But somehow now I can only see/use ~11 GB of internal storage for (/data). I'm clueless as to what has happened.

Here are some screenshots of my storage. If anyone can help make sense of what is going on, it'd be much appreciated....

1) System storage setting

Note that System occupies 19GB! This is from a freshly flashed Rom and I even wipe everything possible including /system. How is this possible?

https://drive.google.com/open?id=0B2K5TPT4gMTveGZBY0xSczVFR2s

2) df output

Note that /data has a size of only 11GB.... while the /system has a expected 2.5GB (though it is contradict to that screenshot above (1)).

https://drive.google.com/open?id=0B2K5TPT4gMTvb0Q3VHNXcDhmWGM

3) DiskInfo app

DiskInfo has produced some promising output. At least it says /data is 25.6 GB (as it should be). But it also says 16.3 GB is being used.... Hey this is a fresh new Rom with everything wiped!

https://drive.google.com/open?id=0B2K5TPT4gMTvS3NxTVVJNUR4bjQ

Anyone care to enlighten me here T T

Or if you can share your df -h output or storage setting screenshot, that'd be helpful too.... Like to see what it normally should look like....

Thanks :)