yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Q&A, Help & Troubleshooting] Heretic09:
Hey I just got a tf300 for cheap and decided to put a rom on it. I got twrp installed and got root access. The version of twrp was too old and when I updated it and got into twrp I was prompted for a password. I figured something was wrong with the version of twrp I installed and I could go go back to the previous version of twrp by using fastboot but I am unable to get into fast boot.

I hold power and volume down but it boots right into twrp. I'm not able to get it to boot normally either it just boots into twrp. Has anybody run into this or have any ideas why I can't get power + volume down to bring up the recovery menu?

EDIT: Oh and adb doesn't see any devices either.

EDIT #2: It seems that my pc kind of recognizes that something is installed. It shows up on Device Manager as "Transformer" with the yellow exclamation point. I haven't been able to find any drivers that work with it. Anyone have a link?

EDIT #3: Ok I forced the universal naked drivers to install and adb devices now shows tf300 in recovery. When I put in adb reboot bootloader it comes up with the rck android and wipe data. I used fastboot to load my original twrp blob that was working fine. I get:

I:\tf300>fastboot -i 0x0b05 f

sending 'recovery' (6448 KB).

OKAY [ 1.895s]

writing 'recovery'...

OKAY [ 2.862s]

finished. total time: 4.757s

But when I go into recovery its still the version of twrp that was causing issues and it still asks for a password.

I figured i'd do a fastboot erase of boot, cache, recovery, system, userdata and then fastboot the original twrp blob but I get:

I:\tf300>fastboot erase boot

< waiting for device >

EDIT #4: It seems that adb recognizes by device but fastboot does not. Entering fastboot devices returns blank. Anyone know if this is an issue with the driver?
[Transformer TF300T Q&A, Help & Troubleshooting] Heretic09:
Anyone?
[Transformer TF300T Q&A, Help & Troubleshooting] Heretic09:
Ok after a couple of hours of hair pulling I figured it out.

Fastboot was definitely not working witht tf300 due to drivers. Since I couldn't find any drivers for windows. I booted up my trusty linux server, installed android-tools-fastboot and voila sudo fastboot devices shows the tf300t.

Reloading twrp did not work so I tried formatting the partitions by doing the following:

fastboot erase system

fastboot erase recovery

fastboot erase userdata

fastboot erase boot

fastboot erase misc (The first couple of times I did this, I missed this one which caused bootloader to hang when installing twrp)

fastboot erase cache

I then installed the working version of twrp I had originally by:

fastboot –i 0x0b05 flash recovery twrp.blob

I then rebooted into recovery and twrp works great without any password prompt or errors that it could not access the partitions.

I user twrp to flash 2.7.01 version of twrp and rebooted, I then used twrp to flash CM11 snapshot M7 and gapps, cleared cache and davlik and then rebooted.

The CM spinning animation took a while but then it booted into CM.

The topics I got all this info from are too numerous to mention. I hope this helps anyone that has ran into the same situation.
[HTC One Max] appro77:
Sorry about the newbie questions but this is my first HTC. In order to flash the Xposed installer does the bootloader need to be unlocked or is rooting the phone enough?

Also, once the phone is rooted can I flash the Xposed installer using the stock recovery or do I need to use a custom recovery? Thanks.
[HTC One Max] jerrycycle:
Device needs root and the Xposed can be install from custom recovery or apk installation. Stock recovery can't flash custom rom or basically anything other then stock ota.
[HTC One Max] appro77:
Thanks. So can I root using TowelRoot or one of the other methods without unlocking the bootloader or is unlocking the bootloader necessary before I root?
[HTC One Max] jerrycycle:
Depends on hboot version. If you have newer hboot, weaksauce will temp root & firewater will soft. Older version needs romrunner. Guide out there
[HTC Sensation] JimDandy68:
T-Mobile Sensation 4G running latest Venom ViperS 5.2.1. Flashed the recommended 3.33 RUU for S-OFF before flashing the ROM. Neither the stock FM radio nor SpiritFM give me anything more than random, drifting audio and usually just static. Bluetooth on or off. My wife now tells me it's been that way since it was stock (basically, that the radio hasn't worked for a long time).

Could this be a hardware issue? Is there any particular contact or set of contacts that might be bad between the phone and the case? Thanks.
[One (M8) Q&A, Help & Troubleshooting] Jyotirdeb:
Is it possible to have sense 4 unlock weather animations possible?I saw it on ViperOne.Is it possible to have those animations on stock or ARHD?

Any theme/Apk?
[General Topics] jgiordano:
I am selling my 8125 - I figured I would let everyone here know first:

The phone is in good condition except for the mini-usb connector cracked off. The little metal prongs are exposed. The phone still charges and syncs fine. Just more care needs to be given when connecting the cable.

I am also including the following software which I purchased and will provide my actual handango reciept to the puchaser and the memory card, plastice swivel clip and docking cradel (details below):

Software -

http://www.omegaone.com/journalbar/default.htm

Battery Pack Pro - $29.99

Journal Bar and Expansion Pack $29.99

http://www.spbsoftwarehouse.com/

SPB Weather 6.1 -$14.95

SPB Pocket Plus 3.1 -$24.95

SPB Backup - $20.95

http://www.pocketzenphone.net/PZPForum/index.php - Profile Scheduling Awsome program i.e. 8pm go to silent 6am Loud

Pocket Zen Phone $12.95

http://www.happyjackroad.net/pocketpc/pocketRSS/pocketRSS.asp

Pocket RSS (today screen plugin and rss reader) - $5.99

http://www.seidioonline.com/index.asp?PageAction=VIEWPROD&ProdID=302

SPRING CLIP SWIVEL HOLSTER FOR 8125 $29

http://www.sfplanet.com/product/CR25-IMATEKJAMCRADLE

USB Sync Charge Desktop Docking Cradle for 8125 $24.95

Sandisk 512 mini sd $30.00

email me if you are interested, Monday it goes on ebay. We can talk about price I am looking for around $400 but am negot.
[T-Mobile Samsung Galaxy Note 3] invaluable:
Does anyone have a solution to the Note 3 in call notification sound/alert issue? its not notifying me of my events while in a call, it saddens me that i miss messages etc. until i get off my phone and see my icons in the status bar
[T-Mobile Samsung Galaxy Note 3] humkitumki:
What rom are you using ? and are you rooted ?
[T-Mobile Samsung Galaxy Note 3] humkitumki:
I was searching little bit and came to know that sometime might happpen because one of ur setting is off. Try going inaide the setting - phone setting n see if its set up correctly
[T-Mobile Samsung Galaxy Note 3] invaluable:
all settings have been adjusted
[Nexus 5 Android Development] cernekee:
Last month, Chainfire posted a nice writeup on several new security changes happening upstream in AOSP. There has been much discussion of the SELinux changes and what that means for root apps, but I'd like to touch on another change that can affect even garden variety non-root apps: mandatory PIE (position-independent executables).

If you're running the Android "L" developer preview image, you may have noticed that some of your native binaries no longer execute:

$ ./curl --help
error: only position independent executables (PIE) are supported.

PIE is a useful security feature, as randomizing the address space makes it significantly more difficult for an attacker to exploit bugs in a program. However, in this case, one must trade off compatibility for security: PIE is only available in JB 4.1 and above, so most app developers targeting a wide range of Android versions have disabled PIE in their builds. The new PIE check in "L" will cause breakage for most apps that ship native executables.

As it turns out, even some of the precompiled binaries shipped with Android itself are affected, and Google has temporarily disabled PIE enforcement. It is not clear whether they will re-enable it at a later date.

Since the Android "L" preview images were built prior to Google's latest change, they still have PIE enabled. I am attaching a flashable "bypass-pie.zip" which overwrites one byte in /system/bin/linker to bypass the PIE check:

3a06: f8c6 5098 str.w r5, [r6, #152] ; 0x98
3a0a: f8c6 4100 str.w r4, [r6, #256] ; 0x100
3a0e: 8a0a ldrh r2, [r1, #16]
3a10: 2a03 cmp r2, #3
3a12: d007 beq.n 3a24 // change to e007 (b.n)
3a14: 4992 ldr r1, [pc, #584] ; (3c60)
3a16: 2002 movs r0, #2
3a18: 4479 add r1, pc

Use this at your own risk. It works for me. The same non-PIE curl binary now runs correctly with the patched linker:

$ ./curl --help
Usage: curl [options...] <url>
Options: (H) means HTTP/HTTPS only, (F) means FTP only
--anyauth Pick "any" authentication method (H)
-a, --append Append to target file when uploading (F/SFTP)
--basic Use HTTP Basic Authentication (H)
--cacert FILE CA certificate to verify peer against (SSL)
[...]

This was tested on hammerhead-lpv79-preview-ac1d8a8e.tgz. If somebody wants to test on razor-lpv79-preview-d0ddf8ce.tgz and post the result, that would be helpful.

It is not necessary to wipe any caches after flashing, although you may want to "clear data" for any apps that were crashing prior to applying the change so that they can start fresh.

Update 2014/07/21: AOSP has re-enabled the PIE check after recompiling their last non-PIE binary. I filed a ticket asking Google to revert this change in order to avoid breaking ABI compatibility.
[Nexus 5 Android Development] itskapil:
Does this fixes the root access issue with titanium backup, helium and a bunch of other root apps?
[Nexus 5 Android Development] willybarca:
so which one should we use to have proper root curl or the pie bypass

---------- Post added at 06:22 PM ---------- Previous post was at 06:20 PM ----------

never mind even using piebypass still gives me app optimizing process ,, ill try the curl zip
[Nexus 5 Android Development] ock:
No it doesn't. I don't think it is the problem that this aims to fix.
[Nexus 5 Android Development] sempot:
Smh
[Nexus 5 Android Development] shanyel:
It fixes the twitter issue though. Cheers!
[Nexus 5 Android Development] CrashOverride1995:
Twitter still doesn't work for me...

BTW do I have to wipe cache and dalvik cache after flashing?
[Nexus 5 Android Development] shanyel:
Yes I did
[Nexus 5 Android Development] jivy26:
Nice thanks for the share!
[Nexus 5 Android Development] jfcooley:
Thank you. This fixed Dropbox for me.

Well it did, now fc again.
[Nexus 5 Android Development] bitstra:
This runs fine on razor-lpv-79-preview!

I can use Dropbox now...

Thanks a lot!!!
[Nexus 5 Android Development] hisona:
Add the linker option ...

Add "-fPIE -pie" linker option..
[Nexus 5 Android Development] shinyquagsire23:
For those still getting PIE errors in the latest L build (lpx13d), I found that the binary linked in this thread will not work as a drop-in fix for that. After checking the binaries, they are in fact different, however I managed to repatch the newer binary with the same fix. I have yet to actually test this modification, but it's the same patch in principle:

.text:000032D4 STR.W R5, [R6,#0x98]
.text:000032D8 STR.W R4, [R6,#0x100]
.text:000032DC LDRH R2, [R1,#0x10]
.text:000032DE CMP R2, #3
.text:000032E0 BEQ loc_32F2 <---- replace D007 (07 D0) with E007 (07 E0, B loc_32F2)
.text:000032E2 LDR R1, =(aErrorOnlyPosit - 0x32EA)
.text:000032E4 MOVS R0, #2
.text:000032E6 ADD R1, PC ; "error: only position independent execut"...
.text:000032E8 BL __dl___libc_format_fd

ZIP attached, again, I have no idea if this works or not. But for those who needed the patch previously, it's here again.

EDIT: Fixes several issues for me, and doesn't crash like the previous executable did. So far it fixes the actual PIE issues in SSHTunnel (although it can't do global IPTABLES support still) and it fixes SSHDroid's PIE issues.

EDIT 2: Fixes ES File Explorer as well.
[Nexus 5 Android Development] blkbeltkid17:
^ thank you sir I just updated my N5 to the 13d build and when I re booted most of my root apps were borked, so I looked for a fix and I flashed the zip. and it actually fixed my issues,

I don't know if that was the intended results but that is what came out for me
[Nexus 5 Android Development] defconoi:
thanks gonna test this on mako

Edit: this works great on the N6 leak mako rom, great work, this made quite a few thousand ppl happy, good work man
[Nexus 5 Android Development] Tom_H_:
This has fixed the VPN issue for me, Hotspot shield is working perfectly now!

THANK YOU!
[Nexus 5 Android Development] gr4ce:
Has anyone tried the last patch on the razor?
[Nexus 5 Android Development] thereal_bigjake:
Seems to be working for me on FLO. Root is working as it should foe ES file Explorer ?
[Nexus 5 Android Development] manore:
\o/

Thanks for the patch! This fixed TitaniumBackup for me. Tested with Hammerhead and Flo on LPX13D.
[Nexus 5 Android Development] gengi:
Sorry for asking but we also have to flash the curl file or just the pie.zip ? Thanks.
[Nexus 5 Android Development] liteon01:
Any Other app Shows the Same error i User Wireshark.apk and the app arpspoof on both apps the Same error.
[Nexus 5 Android Development] BeeWall:
Ok so it probably is a linker error. You might have to do without this fix. What do those apps do? There may be alternatives
[Nexus 5 Android Development] liteon01:
The apps Do nothing Shows me the error

error: only position independent executables (PIE) are supported.

Is there Any Alternate or a alternate rom That looks like stock rom for non pie apps for galaxy s6 g920f ?
[Nexus 5 Android Development] BeeWall:
What are the apps supposed to do? I can't tell you alternatives without knowing what you need.
[Nexus 5 Android Development] liteon01:
The apps sniff the network traffic like droidsheep But droidsheep android the Other apps doesn't Work for me
[Nexus 5 Android Development] BusuDD:
Can you help me? CM13 64 cpu 32 system. NOT nexus.

Fix is bootloop my phone.

Patch is not effective. I uploaded original.
[Nexus 5 Android Development] ungahusak:
Asus Zenfone 5 Cyanogenmod 13.1

:D hai...firstly I'm newbie...i'm say hello to all...sorry my bad English >>>still learning<<< :D

Need help to patch my linker...I'm running cyanogenmod 13.1 on zenfone 5 and need to use iwconfig I already put in system/xbin for WiFi txpower app...all permission already change but error still showing when I run iwconfig on terminal.

Thank you for helping...[IMG="#onterminal"]https://ibb.co/c2R9bF[/IMG]
[Nexus 5 Android Development] edylexaru:
Hi Guys!

Hi Guys!

Wolud someone please patch my linker for Android 6.0.1 S6 Edge+ G928F ;)

Thank you :D

Please PM me for the link, because i can only post links after 10 Posts :/
[Nexus 5 Android Development] Ungah Usak:
LineageOS 14.1 Linker

Please help...I already flash my cyanogenmod 13.1 to lineageOS 14.1 for selinux...but the problem is also appeared PIE in terminal box...like in the picture...and I also upload my linker for your reference...
[Nexus 5 Android Development] Paz9:
is there a guide to bypass the PIE checks? its really annoying...

this is my linker

https://www.dropbox.com/s/sqfm22zutj0vg1x/linkerMHA29636?dl=0
[Nexus 5 Android Development] MD shahine:
It works at first then it stopped

I use arp spoof and network spoofer and whatsaplsniffer and in the logs of super su there always a message written about the spoof i tried to download and extract your files @ firt the work after few seconds they stopped please can u help ?
[Nexus 5 Android Development] dustintinsley:
I have tried following these guides with no success. Can anyone patch my linker file for me? Also, I have a linker64, does this need to be etched also?
[Nexus 5 Android Development] coreya92:
Well i hate to even ask because im going to sound completely ridiculous. But How do i inject the bypass zip? do i do it using ADB and command prompt via my computer? i tried flashing the zip and one failed and the other one didnt do anything. I dont know how to pull my binary or linkage or whatever it is to be able to post. But i am coming across the error

.//start.sh[2]: svc wifi disable: not found

bmon_wrapper_loaded

error: only position independent executables (PIE) are supported

.//start.sh[7]: echo rfasuccess: not found.

I've successfully started monitor mode from what i can tell. but then it disables and gives me the pie error. So im hoping bypassing PIE will help me. Im doing this on a Samsung galaxy express 3 / Android 6.0.1 MM. Close to stock ROM. Rooted with SuperSU, I have Flashfire working, Xposed & Busybox. Don't know if all of that matters in this case. Please help a brotha out! lol. Thanks in advance.
[Nexus 5 Android Development] coreya92:
[MENTION=5293221]cernekee[/MENTION] Please help a brotha out :)
[Nexus 5 Android Development] esansnewman:
O

Please, patch my linker im in marshmallow j510fn i want it for making RfA work... thanks bros

OK, me and a friend solved it, but now we got another problem:

cannot link executable: library "libpcap.so.1" not found
[Nexus 5 Android Development] esansnewman:
Im trying to make Reaver for Android work on my device due its not compatible with bcmon, im using custom scripts.

Im getting the following error:

CANNOT LINK EXECUTABLE: library "libpcap.so.1" not found

Due that, i used the following solution command:

export

LD_LIBRARY_PATH=/path/to/your/dir:$LD_LIBRARY_PATH

Obvious /path/to/your/dir is an example, mine is /sdcard/Download/libpcap.so.1

But im not getting success... i continue getting the error... Please somebody help
[Nexus 5 Android Development] esansnewman:
I cant upload my linker... idk why but i need somebody patch my linker im gonna add here a link to mega

https://mega.nz/#!NIUk2TLS!1_NCesbPb66zhyrWeuH75hzMcDVZTU76pAdi63TFjrE

Please somebody patch it
[Nexus 5 Android Development] onedurland:
How can I bypass PIE on Samsung marshmallow 6.0.1 please help
[Nexus 5 Android Development] TheGoldenMinion:
After doing this, my device (SM-T217S) running a custom rom 7.1 Nougat just boots into recovery mode. What do I do?
[Nexus 5 Android Development] AnonVendetta:
Linker patch needed, thanks a lot!

I have a Note 4 running Nougat 7.1.1 Resurrection Remix. I have a few apps I can't use, I get error "only PIE executables are supported". I tried manually patching with IDA Pro and a hex editor, but I only get bootloops. Here is my attached original linker, can someone please patch it? Thanks again!
[Nexus 5 Android Development] kamild_:
What kind of ancient software do you use that is still incompatible with PIE?
[Nexus 5 Android Development] AnonVendetta:
[MENTION=4594947]TheReduxPL[/MENTION]: ZShaolin, for one. I would much rather do this patch myself, but I've already tried. I simply don't understand hex, dissambly, etc. So, thanks to the first person who posts a mod of my binary that works.
[Nexus 5 Android Development] kamild_:
You shouldn't have flashed a file that was made for Lollipop Preview on your Nougat device...

Easy way: reflash your ROM.

Hard way: extract the original "linker" file from your ROM .zip and flash it to your device.

I'll see what I can do.

E: I tried to follow instructions written by [MENTION=3706605]boback[/MENTION] but (unless I'm missing something) looks like the functions have changed a bit, I cannot find the "BEQ" part (see attachment). How to find the correct byte to replace is beyond my knowledge, sadly.
[Nexus 5 Android Development] boback:
First and foremost sorry for not replying earlier been busy. Double check if your device is 32 or 64 bit, under /system/bin/ check if there is also a file named linker 64.

---------- Post added at 12:56 PM ---------- Previous post was at 12:18 PM ----------

Make sure you have a backup.

https://file.io/REGgf8

if that one does not work try this.
[Nexus 5 Android Development] kamild_:
If you don't mind asking - how did you patch this one? I found the address range (check the attachment in my previous post) but when I go to that address in hex editor, I cannot find any "d0" values.
[Nexus 5 Android Development] AnonVendetta:
[MENTION=4594947]TheReduxPL[/MENTION]: That's exactly the problem I ran into, I couldn't find BEQ either (but maybe I was looking in the wrong place).

[MENTION=3706605]boback[/MENTION]: My device is ARMv7, there is only a /system/bin/linker, no linker64 (I searched system partition and only got one result). I noticed you replied to my PM but it was just a quote of what I said, weird. Anyway, if you can help me out, thanks a lot!
[Nexus 5 Android Development] boback:
hmm is this a custom rom or stock? it is in the function BL __dl___libc_fatal which then links to libc and calls kernel, i don't really want to patch it as it also needs the other functions for the device to operate properly. If anyone else sees it different pls correct me.

https://xdaforums.com/attachment.php?attachmentid=4233658&stc=1&d=1502041651

https://xdaforums.com/attachment.php?attachmentid=4233659&stc=1&d=1502041651
[Nexus 5 Android Development] AnonVendetta:
[MENTION=3706605]boback[/MENTION]: Go ahead, patch it, I'm the one taking the risk here, not you. You have my permission. The worst that happens is my device don't boot and I have to restore the unmodded linker.

It's a custom Nougat 7.1.1 ROM (Resurrection Remix, based on LineageOS and AOSP. I don't use stock Samsung ROMs.

Thanks!
[Nexus 5 Android Development] boback:
In custom roms the "error: only position independent executables (PIE) are supported" can also be found as "sign/precision unsupported"

Here it is, cross fingers.

https://xdaforums.com/attachment.php?attachmentid=4233696&stc=1&d=1502049335
[Nexus 5 Android Development] AnonVendetta:
[MENTION=3706605]boback[/MENTION]: The zip flashes and device boots but I still get PIE errors. I tested with ZShaolin (stays on black screen, app starts but terminal wont load. With Terminal IDE, some commands work but others give the PIE error. When running sqlite3 and zipalign commands in a terminal I also get the PIE error. Phone works fine and so does root access, but basically still not working in regards to PIE. Maybe there is something else that needs to be edited? Thanks for your effort!
[Nexus 5 Android Development] boback:
The only thing i can think of is libc and kernel, maybe a good suggestion is, contact the dev's of the rom and ask if PIE can be patched? if yes, ask them if they would kindly release a patched linker to support pie.
[Nexus 5 Android Development] xxrunkenxx:
Help

Somebody can help me to patch sprint note 5.

https://drive.google.com/open?id=0BxaVHq9lwhnFZEcxQWF4ZksxTGc
[Nexus 5 Android Development] nachosz1:
PIE

Could someone help me with my linker?