yashsingh1/xdaforums huggingface dataset:
[Security Discussion] jcase:
Linking to, hinting at, suggesting etc pirated material in this thread, or even this forum, will likely get you a ban from XDA. Some of these resources are not free, in fact some are expensive, but free or cheap alternatives are listed.

This is not an exhaustive list. It is missing things that should be here, even things I have written myself. Please let me know if you have something to add.

Please send me more material to post (no pirated stuff!)

Books:

Android Internals::Power User's View

Android Security Internals

Android Hacker's Handbook

Trainings:

Practical Android Exploitation by Jon 'jcase' Sawyer

RedNaga Training by Tim 'diff' Strazzere, Caleb Fenton and Jon 'jcase' Sawyer

Write Ups:

Foxconn Bootloader Backdoor (Pork Explosion) by Jon 'jcase' Sawyer

Analyzing the WeakSauce Exploit by Jonathan Levin

TrustNone TrustZone Exploit by [MENTION=711482]beaups[/MENTION]

SamDuck Samsung emmc/Bootloader Exploit by [MENTION=711482]beaups[/MENTION]

HTC Desire 310 root backdoor by Tim 'diff' Strazzere and Jon 'jcase' Sawyer

Tools:

Frida - Free

Smali/baksmali - Free

APKTool - Free

JEB - $$

IDA Pro - $$

Binary Ninja - $
[Security Discussion] autoprime:
Write Up:

bits-please.blogspot.com - [MENTION=7459177]laginimaineb[/MENTION]'s blog.

Great stuff on TrustZone and more.

Wiki:

droidsec.org/wiki has a ton of resources for Android security.

Hardened Android:

https://github.com/copperhead

https://github.com/copperheados
[Security Discussion] Android-Andi:
Maybe interesting for you:

https://github.com/android-security

Pure AOSP 4.4 & 5.1 patched until 2016-10-01 android security patch level (3 or 4 commits missing on 4.4 because of some libpng changes, need to take another look on it).

Bunch of kernel CVE fixes http://xdaforums.com/showpost.php?p=69382178&postcount=2
[Security Discussion] thecoolster:
http://elinux.org/Android_Portal

It is a good website ...please check it out , thanks.

-thecoolster
[Security Discussion] ukanth:
Another series for Android Security

https://github.com/ashishb/android-security-awesome
[Security Discussion] Truestark:
Great post. Thanks for resources.
[Security Discussion] RusherDude:
Awesome post! Thanks!

It's a shame that stuff like IDA Pro is so expensive, if it was more accesible a lot more people will use it and we would get more interesting stuff I think :(
[Security Discussion] herrbert74:
What about

https://mobilesecuritywiki.com/
[Security Discussion] jcase:
IDA Pro has a demo, but you can also look at hopper and binary ninja, both priced far lower.

radare2 is also an option, ive not used it so i havent listed it
[Security Discussion] REtails:
Thank you for the excellent post jcase!! I have been looking to further my understanding of android security concepts for quite some time now, but never find I have enough time to scour the web for the solid resources I need. I have been engrossed in your 'Practical Android Exploitation' pdf for the past hour now. :D I hope you know how much this community appreciates your contributions!

Edit: sorry for the misleading comment!~
[Security Discussion] Matt07211:
Do you guys have any recommend info on reverse engineering, particularly ARM disassembly?

I'll be looking for resources myself but was wondering if you've come across any good info in that area.
[Security Discussion] Noor369:
Awesome thanks :)
[Security Discussion] whirlpool95:
Thanks for the info!
[Security Discussion] bigsupersquid:
This is a fun tool but not exactly reverse engineering.

https://retdec.com/decompilation/

The official ARM resources are good for basics

http://infocenter.arm.com/help/?topic=/com.arm.doc.dui0068b/CIHEDHIF.html
[Security Discussion] agathocles11:
Here is some latest collection on - Awesome Android Security (Books, bug bounty, courses, tools, labs, talks, write-ups, cheat sheet, blogs). Might by helpful for someone.

github.com/saeidshirazi/awesome-android-security
[Security Discussion] galaxys:
^nice collection reference!
[Xposed Framework Modules] nikita36078:
A simple Xposed module which adds "3G only", "4G only", "4G/3G"(for compatible devices) options to the network modes setting.

It supports CM/LineageOS 11-14.1. Should also work on AOSP and AOSP-based roms.

Tested on Samsung Galaxy S3 Neo, CM12.1.

Changelog:

1.3 - added "4G/3G" mode, bugfixes

1.2 - some compatibility fixes

1.1 - added "4G only" mode

1.0 - initial release

Download: http://repo.xposed.info/module/ru.freshmobile.networkmodeenabler

XDA:DevDB Information

NetworkMode Enabler, Xposed for all devices (see above for details)

Contributors

nikita36078

Source Code: https://github.com/nikita36078/NetworkMode-Enabler

Xposed Package Name: ru.freshmobile.networkmodeenabler

Version Information

Status: Stable

Current Stable Version: 1.3

Stable Release Date: 2016-11-23

Created 2016-11-02

Last Updated 2017-01-21
[Xposed Framework Modules] JaviLerma:
Hi! Exelent work! Can you add a quick shortcut? Thanks
[Xposed Framework Modules] hojjat 1364:
please do it to 4G too
[Xposed Framework Modules] klau77:
Add 4g only ?
[Xposed Framework Modules] nikita36078:
I added "4g only" mode, but it needs additional testing, because I don't have any 4g devices.
[Xposed Framework Modules] dobermann24:
Im on Vernee Apollo lite stock Rom. It works great but i cant activate it :(. Can you add 4g|3g ?
[Xposed Framework Modules] filip2805:
Can you ad a shortcut?
[Xposed Framework Modules] Droidphilev:
Hi,

When i use "4g only" on (CM based) Beanstalk it is working but i cannot make phonecalls it seems. Maybe something carrier related?
[Xposed Framework Modules] QuazIqbal:
Not working on DU 10.4 Lenovo zuk z1.
[Xposed Framework Modules] nikita36078:
I will think about it
[Xposed Framework Modules] nikita36078:
Yes, it also can be rom problem
[Xposed Framework Modules] ad8ab:
Thank you for making this module. Is it possible to add "3g/4g only"?
[Xposed Framework Modules] a43:
this is normal if your operator doesn't support VoLTE then it has to switch to 3G/2G networks to receive or to make a phone call but it can not switch because you set 4G only.
[Xposed Framework Modules] MartyMantion:
That would be awesome! 2G is riddled with security flaws, and this can be used to avoid it.
[Xposed Framework Modules] DиLi_D0:
Add please

3g/4g
[Xposed Framework Modules] Tuqano:
[MENTION=4967970]nikita36078[/MENTION]

First of all, thanks for this useful module!

Is it possible to add translation? Replace the word "only" with system language or manually select preferred language...
[Xposed Framework Modules] nikita36078:
I don't see translation for "4g only" in the system resources, so I can add translation only for "3g only" mode. I'm not sure if it will be useful.
[Xposed Framework Modules] nikita36078:
4G/3G mode added in new version.
[Xposed Framework Modules] Tuqano:
If I tap *#*#4636#*#* in the dialer once selected 4g/3g, I get 'unknown' preferred network type...
[Xposed Framework Modules] nikita36078:
Which network types do you have in 4636 menu? And does the 4g/3g mode work properly?
[Xposed Framework Modules] Tuqano:
My network types are attached :)

Yeah, even if I get that 'unknown' network type, I can call or use connection :rolleyes:
[Xposed Framework Modules] nikita36078:
It looks like your phone just doesn't have 4g/3g in network modes list. If 4g/3g mode works for you, then that's okay:)
[Xposed Framework Modules] Tuqano:
Oh, I got it! Thanks for your replies! :)
[Xposed Framework Modules] galaktiker:
Please add compatibility with Galaxy S5 (Android 6.0.1). Now the mod doesn't work on my phone :(

P. S How to donate?
[Xposed Framework Modules] ali288:
[No message]
[Xposed Framework Modules] k4zim:
Redmi 4 Prime

Not work on Xiaomi Redmi 4 Prime Rom Stable China 8.0.6.0. Root access was granted, also xposed framework was install, ?

---------- Post added at 03:04 PM ---------- Previous post was at 03:01 PM ----------

Not work on Xiaomi Redmi 4 Prime
[Xposed Framework Modules] nikita36078:
Read the app description please, this app currently doesn't support Touchwiz, MIUI and other non-AOSP ROMs.

I'm thinking about MIUI support, maybe I will add it.
[Xposed Framework Modules] PRDROID:
I am installed a network module but this not show 4g only option in network setting
[Xposed Framework Modules] undaclazz:
How do I use it on CM 14.1?
[Xposed Framework Modules] nikita36078:
Just install it, activate and you should see new options in network modes list.
[Xposed Framework Modules] undaclazz:
I mean when theres's no Xposed yet for Android 7.x.x.. ?

I used to use this module on CM 13, and I miss it now when I'm on CM 14.1
[Xposed Framework Modules] Tuqano:
[MENTION=4967970]nikita36078[/MENTION]

Hi mate! I'm currently on sultan lineage 14.1 ROM and unofficial xposed for android N... I can't make your module work!

Any help? ?
[Xposed Framework Modules] LennyH:
Sadly this is not working on Android 7+
[Xposed Framework Modules] moriel5:
It appears to be working with the official Xposed for Nougat, however the settings are not sticking (CRDroid, based upon LOS14.1 (7.1.2)).
[Xposed Framework Modules] bluntdagger:
This module is not working on 14.1. It does indeed shows different network modes in the settings, nothing happens to it when i click on them.
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
Hello all ! Sry for my english but i think you can understand me :)

The problem is with my phone. :crying:!

I wanted to get the MIUI rom but when i install in twrp and reebot phone they stands in the place . I can only see logo all the time, nothings happen ;/

. I cant enter the recovery, only i cna see flashing logo and phone switches off. What can I do ?

All I know is I can enable fastboot mode :c

Help me please :C :cowboy::confused:
[Xiaomi Redmi Note 3 Questions & Answers] redminote3:
you have to boot in to EDL through fastboot using edl.bat, then flash with MiFlash your fastboot rom
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
But my pc dont see phone (mi pc suite , and mi flash ) .
[Xiaomi Redmi Note 3 Questions & Answers] redminote3:
Try installing universal ADB drivers...or try different PC...this must be a drivers problem.
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
still problem

when i use fastboot mode on phone and connect to pc its ok ( Android device connect). But when i want to connect to mi pc suite i have error : device isnt supported . Pls help me im really green about this problems ..

:confused::confused::confused::eek:
[Xiaomi Redmi Note 3 Questions & Answers] abihary:
check your bootloader, it seem you relock your bootloader. if yes, you can unlock it using miunlock & reboot into rom.
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
Write me pls step by step what i should to do bcs im really green with this phone and dont want to kill my xi :crying:
[Xiaomi Redmi Note 3 Questions & Answers] abihary:
which miflash version used for now? pls ensure you use 201604xx (64 bit only) or 20160830 (32/64 bit)

to flash device, already bunch of guide on guide section. pls do some research there.

to unlock your phone, you can follow below unofficial ways or official ways which require to apply to mi server

en.miui.com/thread-253680-1-1.html
[Xiaomi Redmi Note 3 Questions & Answers] Rish@30:
Wait don't worry I will be uploading the correct files and procedure for doing that.

The thing is your phone is bricked and nothing to do now right.?

Theres a solution wait... Uploading that

---------- Post added at 10:54 AM ---------- Previous post was at 10:40 AM ----------

The solution is here:

download the required files from the given link: [50mb]

https://mega.nz/#!1NhDTQoR!cP7vrchwswOfj3oHQ5saZ2d0JkcmunEn5pqyOcpZDoE

INSTRUCTIONS: [redmi note 3]

1. Get into fastboot mode. Charge the phone first. Hold the power button and the volume down button simultaenously.

2. If you can open your current rom, open developer options by clicking on the build no several times in the about phone menu in settings. and select allow oem unlocking and usb debugging.

3. if not leave it... go on and connect your phone to the PC while in fastboot mode.

BUT, before that: open Command prompt on your PC. (search it on the search box). right click on it and open it in administrator mode.

type in: bcdedit /set testsigning on

hit enter and restart your pc

(this is imp.)

4. open the zip file and extract the contents. open the boot edl mode folder and click the edl.bat file. allow it to run.

5. now screen will turn black, do not disturb it. Now flash the twrp by running flash twrp.bat from the 'flash TWRP' folder.

6. Now go to Unlock folder and run the unlock bootloader.bat file.

your phone will boot into the TWRP recovery mode automatically.

if it opens in chineese you select every tab and find the globe icon.

if the globe icon is found on any of the tab select it and change the language to ENGLISH.

wipe your system from the wipe tab:

Now download the latest CM13 SNAPSHOT BUILD ROM FOR YOUR REDMI:

https://download.cyanogenmod.org/get/kenzo-snapshot.zip

and GAPPS:

http://opengapps.org/?api=6.0&variant=mini

do select the arm 64 version and mini one.

download from your pc and copy it to micro sd card. enter this card into you phone and go to mount in twrp.

mount the micro sd card storage.

select the zip file on the micro sd card from the install tab on twrp and flash it.

now go back and flash open gapps zip file.

now REBOOT to system. everything will work fine....
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
When i click on edl they only shows me " waiting for device" ?
[Xiaomi Redmi Note 3 Questions & Answers] Rish@30:
Did you enabled OEM unlocking and android debugging in developer option.

And did you connect your phone to PC while in fast boot mode.?

This may be the problem otherwise it does well
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
tell me how i can do this if i can only enable fastboot mode , when i want turn on my phone they stuck in mi logo ?
[Xiaomi Redmi Note 3 Questions & Answers] Rish@30:
Oh you are in a different problem...

This has happened to me...

Wait I m sending the video link how to fix this...

It will fix everything... If anywhere it causes problem tell me immediately.

Link to solution. [Follow each and every step]

Get 2 GB data ready.

[youtube]f6s_Nl3UFz4[/youtube]

You have to start from beginning

Now if you want to install cm13 ROM then follow my above instructions...

Hope it can help

If not I will find you other way out
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
I cant turn on my phone and enable nothink , i know how to root phone and other .
[Xiaomi Redmi Note 3 Questions & Answers] Rish@30:
Then try this....

I don't know how you bricked your phone without turning OEM unlock and debug....!!?

[youtube]-k-_c8cgqEE[/youtube]
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
I try to install miui and then my phone stuck in xiaomi logo ;/
[Xiaomi Redmi Note 3 Questions & Answers] Rish@30:
It means it has no ROM installed now....

Even without that turning on you could boot into edl and unlock and flash twrp..

Don't know... Try again and search on net.. Now
[Xiaomi Redmi Note 3 Questions & Answers] GiriPrakash(gp):
Im also facing same issue???
[Xiaomi Redmi Note 3 Questions & Answers] innynizty:
Do like people write before and Its easy to repair, Thanks boys :)
[Tilt, TyTN II, MDA Vario III General] Ramsport:
1st, how do you clear the recent programs that appear when you click the start button?

2nd. can somebody explain to me what you do to edit a registry. download the editer to my pc but then what?
[Tilt, TyTN II, MDA Vario III General] last2kn0:
Please use the forums search function. I found a few posts relating to clearing the recent used programs in the start menu. Look at this thread:http://xdaforums.com/showthread.php?t=325396&highlight=clear+recent+programs

There are programs that run on your pocketpc to edit the registry, Resco Registry Editor, for example.
[Tilt, TyTN II, MDA Vario III General] ecltech:
Search for "ClearTemp".
[Tilt, TyTN II, MDA Vario III General] Ramsport:
o.k., found cleartemp, works good, but anybody else for my second question?
[Tilt, TyTN II, MDA Vario III General] last2kn0:
I already answered your second question. You can get a registry editor like Resco Editor in either cab or exe form. If its a cab, copy it to your phone and install. If its an exe, activesync to your phone and then run the exe on your computer to install it.
[Tilt, TyTN II, MDA Vario III General] Ramsport:
last2kno, do i install the reg editor to the phone and use it there or leave it on the computer and edit the phone that way?
[Tilt, TyTN II, MDA Vario III General] Pops_G:
Ramsport your sig is perfect!

Edit: Here is a tip from a web surfing pro! Get Google toolbar, then whenever you see someone say something you dont know or mention a name of a program or a term. Highlight the words in question > right click > Search Google for "XXXX"

You will get answers to your questions in seconds, rather then waiting for a response, hours or days.
[Google Pixel XL Questions & Answers] treIII:
Can someone who purchased their pixel xl from the Google store please upload their settings app. PLEASE NOT VERIZON. Thanks to those who may help
[LeEco Le Max 2 Questions & Answers] Sörnäinen:
Can anyone help? My new phone is not being recognized in ADB devices. Not on my Windows 10 machine, not on my windows 7 machine, not on my Mac.

So it must be something on the phone site. Rooting as well as installation of TWRP sadly not possible this way.

It seems it has EUI version 5.8.017s (stable). Whatever that means.

I have activated USB debugging.

There is an option in the developer options claiming that you can unlock the bootloader - is the bootloader locked? What can I do to unlock it? Or what does that mean?

I am getting a bit desperate here, the phone is rather useless for me without custom ROM, so I would have to send it back. Any chance I could get some help? I see people with similar problems here, but nobody seems to help.
[LeEco Le Max 2 Questions & Answers] chrismt:
http://xdaforums.com/le-max-2/help/tutorial-how-to-install-drivers-windows-t3493370
[Nexus 6P Themes and Apps] Xaif:
Google till now was making the software to great extent and have also tried to break up the competition through making the smartphone devices too but now it has decided to make its whole new smartphones named as Pixel Smartphone that carries with it the all new software are amazing features and the great hardware too. This is the first step of the Google to give up the toughest possible challenge to the competitors as before the devices from Google were carrying the Android software that is also used by the competitors too and hence this makes a great difference in their quality devices. The all new software with some amazing features and apps by Google for the Pixel smartphones manufactured by it only is something new that all the users are wanting to get on their devices but this isn't possible as the software and apps are meant for the Pixel devices only. There is a Pixel Camera App for the Pixel software of the Google that carries along great camera features could be desired by the users of other smartphones. Here in this article, we have discussed the method through which this could be possible and the Pixelâ??s camera app on your Android.

Note: I don't know who has ported this Apk But I thought to share with you guys :)

But this application is working on Arm64 devices...

Download from here: https://www.mediafire.com/?67fy7vddlmcycy2

Press Thanks!!
[Nexus 6P Themes and Apps] sin52igor:
What is the difference?

http://xdaforums.com/nexus-6p/themes-apps/apk-google-camera-4-2-022-135443920-t3482107
[Nexus 6P Themes and Apps] Donjuanal:
This is a malicious apk. Android won't install it and nviso determines it malicious.

https://apkscan.nviso.be/report/show/31699fad73ffc47bc311df769d6f524f
[Google Pixel XL Guides, News, & Discussion] Cybertronicz:
What are others getting on Antutu?

I've been playing with the Kernel and some upstream-patches and optimizations, and am now around 146K (without overclocking)

What are others getting?

https://goo.gl/photos/WgX1RMSjyFtumrBx6
[Google Pixel XL Guides, News, & Discussion] chazking:
No tinkering with anything
[Google Pixel XL Guides, News, & Discussion] Salval:
Mine
[Nexus 6P Themes and Apps] Xaif:
Google till now was making the software to great extent and have also tried to break up the competition through making the smartphone devices too but now it has decided to make its whole new smartphones named as Pixel Smartphones that carries with it the all new software it’s amazing fe;)atures and the great hardware too. This is the first step of the Google to give up the toughest possible challenge to the competitors as before the devices from Google were carrying the Android software that is also used by the competitors too and hence this makes a great difference in their quality devices. The all new software with some amazing features and apps by Google for the Pixel smartphones manufactured by it only is something new that all the users are wanting to get on their devices but this isn’t possible as the software and apps are meant for the Pixel devices only. There is a Pixel Camera App for the Pixel software of the Google that carries along great camera features could be desired by the users of other smartphones. Here in this article, we have discussed the method through which this could be possible and the Pixel’s camera app on your Android.

Note: I don't know who has ported this Apk But I thought to share with you guys :)

But this application is working on Arm64 devices...

Download from here: https://www.mediafire.com/?67fy7vddlmcycy2

Press Thanks!!
[Nexus 6P Themes and Apps] KLit75:
Does this work on MM ROMs?
[Nexus 6P Themes and Apps] j-a-d-z:
It's an older version of this app I think:

http://xdaforums.com/nexus-5x/themes-apps/mod-google-camera-4-2-nexus-5x-android-t3477980
[Nexus 6P Themes and Apps] DocteurN:
There is a thread for this here : http://xdaforums.com/nexus-6p/themes-apps/apk-google-camera-4-2-022-135443920-t3482107
[Nexus 6P Themes and Apps] Donjuanal:
This is a Malicious apk DO NOT DOWNLOAD OR INSTALL:

https://apkscan.nviso.be/report/show/31699fad73ffc47bc311df769d6f524f
[Nexus 6P Themes and Apps] applesuckz:
WOW, please ban this user.
[Nexus 6P Themes and Apps] Xaif:
**Hey Guys I found this apk on one site. I thought to share it with you. I didn't know it contains any virus or something**

Please don't download it
[Nexus 6P Themes and Apps] Curiousn00b:
If it's the same APK that was floating around, the " virus " that was found in it was due to the signing of the APK.
[Nexus 6P Themes and Apps] king3opobn:
this is a slightly older version
[Nexus 6P Themes and Apps] Winb33:
Before posting something use SEARCH and READ ! That's the basics xda rules ! (and also test by yourself) ...

Google camera thread is in top 5 thread since 3 week in Theme / app section ...

you can't have missed it before posting ... :eek:
[Nexus 6P Themes and Apps] Sheetzie03:
False positive anyway
[Nexus 6P Themes and Apps] Charles_l:
Long story short, It's false positive, due to the signature. :eek: I can't believe this version still present here and there.

Please head to this thread for update. http://xdaforums.com/nexus-5x/themes-apps/mod-google-camera-4-2-nexus-5x-android-t3477980

I suggest you guys try the latest one, though nothing really new for 6P users. :cowboy:

Should 1080p@60fps valuable for testing? (experiment)
[Google Pixel Questions & Answers] csimms:
i bought my pixel off craigslist my build number is NDE63N i see everyone seems to be on the P build number. What is the N build number its not listed as a factory image? can i flash the P image i got it rooted and bootloader unlocked.
[Google Pixel Questions & Answers] Wynnded:
Mine updated from N to P when I put my VZ SIM in and booted it up. I set some things up over WiFi first. Who's you service with and have you checked for updates?
[Google Pixel Questions & Answers] csimms:
i have t mobile and says its up to date. i assumed it was verizon bought the guy didnt know he won it at a work party. depixel8 was able to unlock the bootloader so assuming it was a verizon one