yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Q&A, Help & Troubleshooting] zegovernator:
So. Tried to lock and relock via flashtool. Checked drivers which are working fine.

I was trying to relock and then unlock again using flashtool after updating to .305 Marshmallow firmware . However this does nothing to the bootloader states. The weird thing is that there are no errors showing up in flashtool when unlocking/relocking. I can't even unlock via OEM because when I tick OEM unlock in the developer options this doesn't do any change (Rooting status: Bootloader unlock allowed : No, Remote Lock State: Locked). My DRM keys are gone as well. However I do have a TA Backup but can't restore because after downgrading to lollipop the device shuts down after 30 seconds.

I'm really annoyed because I bought the device with an locked bootloader (without carrier costumizations) and unlocked it via OEM unlock then updated to . Is there any chance to unlock the device again? Restore TA? Any recommendations what I could have done wrong would be helpful.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] zegovernator:
[solved ;) ] Bootloader is now sucessfully relocked andBootloader states are back to [Bootloader unlock allowed: Yes] and [Remote Lock State: UnLocked].

I need to mention that I bought a phone without carrier lock with [Bootloader unlock allowed: Yes].

So, for anyone who is interested or might face the issue in the future, here's what I did.

You will need your backed up TA-Partition-Image to restore via iovyroot:

1. Downgrade to Lollipop (32.0.A.6.200 / R2B (STOREFRONT GENERIC)) using Flashtool .

->Therfore select/tick everything in the wipe section when selecting the Lollipop-tft

2. Unmount your SIM, reboot the device

3. Skip everything on the welcome/configuration screen as fast as you can to get beyond the Android configuration screen

(skip wif config, Google-Account setup, untick myXperia services! etc.)

The phone might power off only after a few seconds because of the downgrade. So be fast!!!

4. Once you end up on the home screen, unlock developer options, and activate ADB debugging, grant ADB access (check via cmd: fastboot devices)

again: be fast! --> Don't worry if the phone shuts down again. Just reboot if you were not fast enough.

5. Download iovy.root ( iovy.root. Place TA-backup.img in the iovyroot-folder.

Then I modified "tarestore. bat" to save some time regarding the shutdowns. I used notepad++:

...

set response=

set /p response=Type "y" if you want to restore this file:

if "%response%" == "y" (

echo Starting restore

echo.

adb push "root/iovyroot" "/data/local/tmp/iovyroot" > NUL 2> NUL

adb push "root/restore.sh" "/data/local/tmp/restore.sh" > NUL 2> NUL

...

5. Run CMD as admin. CD to Iovyroot folder.

Restore using tarestore.bat (tarestore.bat TA-2016-xxx.img) as soon as your device boots up to home screen and seems to be connected as ADB device.

( I checked this by running the windows device manager simultaniously)

Wait to end the process.

-->When the restore was sucessfull, the device shouldn't shutdown again.

6. Reboot. Your bootloader is now locked again (but able to unlock via OEM unlock). DRM keys/functionality is restored.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] jutphaas:
I have the same problem (after i had nougat working incl drm fix and root, also the deodex, tried flashing lower ftf files too when i got this problem, noticed the rebooting, which it does not do at 305 kernel or higher..

I would have hope in your solution, if I could find my ta backups (i have from some other phones, this one, may have been on a crashed laptop, already searched through old hdds)

Could this be because of fastboot flash recovery twrp.img (cause that is something i never done before on the z5c.)

If anyone has a solution other than restoring the ta partition, i would like to know. Because i am very uncertain that i can find those files again...
[Xperia Z5 Compact Q&A, Help & Troubleshooting] ric69:
Same case here z5c unlocked since +/- 1 year and I don't have any TAbackup too

I will try to downgrade to .200 But with bootloader unlock allowed : no ... I don't have much hope :rolleyes:

edit : no chance, I tried .200 but without tabackup, I can't do nothing
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Doe.it:
When I faced this problem I noticed it happened because I wiped TA options with Flashtool. Never do that if you don't want to lose TA partition and all other things connected to it. I could fix it only by flashing TA backup even though I hadn't the timing issue zegovernator had for flashing back TA.

I actually wonder why Flashtool allows to wipe these critical partitions/options
[Xperia Z5 Compact Q&A, Help & Troubleshooting] zegovernator:
I'm sorry for you. I would recommend updating back to MM since LP gives you immediate shut downs when recognising that your TA is lost/wiped. It's sometime a pain in the ass that stuff gets posted before testing. Nonetheless, you could still try to send in your device back to Sony Costumer Service if you are under warranty (after flashing .200, say that it is "broken" and keeps crashing). However, I would not trust on them sending you a new device.

I sorry to say that, but if you lost your TA-backup or didn't even back it up before unlocking the bootloader there is no hope at the moment. You simply can't fastboot because of the Remote State: Locked. It keeps you from accessing the bootloader.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] jutphaas:
I found my iovyroot TA-backup.img file, I did have a .200 storefront ftf and tried it on that one, which was very anoying as it wants to start a demo , i found an other .200 ftf online which I tried, and the iovyroot seems to work, at that time no reboot, in service menu, the drm keys now seem fine there, Bootloader unlock allowed : No, Remote Lock State: unLocked , fastboot boot or oem unlock still seemed not working well i think that is what it said, (flashtool unlock always seems to, i did try) now i flash a new ftf and try my luck there with the unlock status.

flashing ftf 5.11 flashtool says

03/005/2017 05:05:49 - INFO - Loader : S1_Root_f936 - Version : MSM8994_50 / Boot version : S1_Boot_MSM8994_LA1.2_119 / Bootloader status : ROOTED

And now in 5.11 it also says bootloader unlocked : Yes Lost my drm again

So I am back in flashing and rooting (with drmfix etc) Android 7 again :) Thanks for sharing this solution!!
[Xperia Z5 Compact Q&A, Help & Troubleshooting] Doe.it:
So you confirm that TA backup is the only solution to solve the "unlock allowed" bad state, don't you?

This is good for other people because when I faced the problem I was really scared to have messed up my phone!!!
[Xperia Z5 Compact Q&A, Help & Troubleshooting] 3assiii:
i want to confirm the solution here

i had the same problem and the only way back of it was to downgrade to Lollipop and restore the TA-Partition

i dont think there is a solution if you did not backup your TA and have an image of it.
[Xperia Z5 Compact Q&A, Help & Troubleshooting] jutphaas:
Yes, the TA restore is the only known solution, and I am glad Zegovernator shared his solution here
[Android General] muzaffer652:
Hello friends,

I am looking for a chat application example. I've studied Github Daki examples, but I have group chat applications. They need to be able to chat between two users, are there any examples?

Thank you.:cowboy:
[General Questions and Answers] basu02:
1. Installed Stock ROM, using Odin3_v3.11.2 (Run as Adminstrator)

N900XXUEBPB1_N900ODDEBPB1_N900DDUEBOB1_HOME.tar.md5

My "Samsung Galaxy Note 3 SM-N900" Running on 5.0 lollipop

2. I have rooted my "Samsung Galaxy Note 3 SM-N900" using followiing file using Odin3_v3.11.2 (Run as Adminstrator)

CF-Auto-Root-ha3g-ha3gxx-smn900

3. Later I've installed TWRP recovry, using Odin3_v3.11.2 (Run as Adminstrator)

twrp-3.0.2-0-ha3g.img_safe.tar

Now when I try to install MIUI for "Samsung Galaxy Note 3 SM-N900" port ROM, either getting Failed or If it is success my phone does not startup hung at SAMSUNG logo (Waited for nearly 2 hrs).

miui_n900_lushengduan_6.5.27_19d567b4f3_4.4.zip

miui_n9005_bhflower_6.5.27_e7133a52f8_4.4.zip

- Tried above method after wiping the cache and internal drive still the same.

- Tried to install from external card same error

- Tried to install from internal card same error

PLEASE HELP.I HAVE STRUGGLING FROM LAST 1 WEEK WITH ALL THE TRIEL AND ERROR METHOD.
[G4 Q&A, Help & Troubleshooting] The Fmt:
so my phone's already dead due to that problem and its unlucky version [LS991] , but m , i need that phone and i 'am about searchin for a new motherboard for it so ~ any advices about the good s/n's and year of manufacturing or i should just forget about it and look for smth new ..
[G4 Q&A, Help & Troubleshooting] raptorddd:
from serial number 601 upwards..
[Samsung Gear S2] Tsvallette:
So this morning I decided to download Samsung Gear Manager to my wifes HTC M9 and low and behold it works! I got the s2 to function.... YES! So then I decided to pull out my HTC M9 and give it a try again and I dont get anywhere except that download fail screen btw I had to do a lite reset in order to try to get the devices to work. I should mention that my HTC m9 is rooted running Venom rom and has Superuser. Now my wifes m9 is running stock and is not rooted. Could it be in the permissions of my Venom tweaks, permissions of the phone.... I have little to no idea what it could be. I went into the permissions and everything is allowed but for some reason the Gear app once it trys to download it goes straight to download failed. So I thought I would try a HTC m8. I removed Superuser and brought it back down to a factory standpoint but it still has Venom Rom. I am tempted to flash a stock rom back onto it but will my m8 handle the s2 watch (Bluetooth).
[Xperia Z2 Q&A, Help & Troubleshooting] dieccast39:
Hello everyone i have a rooted xperia z2 5.1.1 23.4.A.0.546 can i get recovery but without going to marshmellow? And if its possible how do i do that?

Thanks in advance [emoji4]
[Xperia Z2 Q&A, Help & Troubleshooting] raminta:
Search for dual recovery then download the last version and install it
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Hi all.

Nethunter is here for Mediatek devices.

I have recently made a built of Kali Nethunter for my MT6572 device and it booted successfully. I'm sure many of u are looking out for nethunter supporting ur mediatek android devices.

What is Kali Nethunter?

Kali Nethunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. It can be used to carry out attacks such as; Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard attack, as well as BadUSB MITM attacks. More info can be found here.

READ FULL POST BEFORE FLASHING!

Preparing ur device.

>Make sure u are rooted.

>Have twrp recovery installed. If not, no worries, just download and use FlashFire app from playstore or from here. CWM recovery is not supported but must still be installed. However Philz CWM Touch Recovery works.

>Note the kernel version ur downloading for ur device. Kernel version can be found in settings>about device. Downloads in 3rd post.

>

[IMPORTANT]

Take full backup with mtktools in case of any problem.

How to install Nethunter on ur Mediatek Device.

Since u prepared ur device, it time to install.

[IMPORTANT] No need to wipe system data or anything. This is an overlaying rom which is meant to flash over an existing android rom.

For TWRP users:

>Download the correct nethunter zip sorted by kernel version form 3rd post below and place it in the root of ur internal/external(sdcard) of ur device.

>boot into ur TWRP recovery, tap "install", select the zip file from sd card/internal storage (according where u saved it) and swipe to flash.

>once done just reboot normally.

Thats'it

For those without TWRP:

>Download the correct nethunter zip sorted by kernel version form 3rd post below and place it in the root of ur internal/external(sdcard) of ur device.

>Download and install FlashFire from playstore, or from here.

>Open up the app and grant su permission.

>Select the (+) sign and select "Flash ZIP or OTA"

>Select drop down arrow and tap "Filesystem root". Then tap "mnt" and select "sdcard2"/"sdcard" (according where u saved the zip) and select the zip file.

>Now check the two boxes and tap (✓).

>On the main menu, scroll down and tap "FLASH". (Don't edit anything else.)

That's it.

Completing setup:

>Now that u have flashed and rebooted successfully, (don't open any app yet) open "Nethunter" app and grant su permissions.

>Go to "Kali Chroot Manager"and grant permission, than tap "INSTALL KALI CHROOT", tap "Download Latest, and select Full/Minimal chroot according to ur storage space.

>It will download. After download select "INSTALL KALI CHROOT" and it will install.

>Once done, reboot.

That's all. You have installed Kali Nethunter on ur mediatek device.

More Info in Downloads in 3rd post.

Source Code

Thanks to the nethunter team and all those who contributed.

Please show support by hitting Thanks.​
[Android Software/Hacking General [Developers Only]] Brandon Indar:
UPDATES AND FIXES

>If u face storage problem, try this.

>If terminal app force close, uninstall it and install this one.

>For atheros chip based adapter users who are unable to get their wlan1 up or even shown in the terminal follow these instructions:

1- goto "nethunter terminal" app and tap on "Kali"

2- type "apt-get update"

3- type "apt-get install firmware-atheros"

4- check "airmon-ng" after re-plugging your adapter

>For realtek chip based adapter users who are unable to get their wlan1 up or even shown in the terminal follow these instructions:

1- goto "nethunter terminal" app and tap on "Kali"

2- type "apt-get update"

3- type "apt-get install firmware-realtek"

4- check "airmon-ng" after re-plugging your adapter

>For chips other than (realtek or atheros) users are asked to follow these instructions:

1- goto "nethunter terminal" app and tap on "Kali"

2- type "apt-get update"

3- type "apt-get install firmware-misc-nonfree"

4- check "airmon-ng" after re-plugging your adapter

> If u want to do a full uninstall of Nethunter from ur device, flash this zip.

>Having problem flashing? Send me recovery log.

Plz show support by hitting Thanks.​
[Android Software/Hacking General [Developers Only]] Brandon Indar:
DOWNLOADS

I will like to add support all mediatek device as possible, so if u don't see the kernel version for ur device below, u can PM me a download link of ur "Boot.img of ur current rom or stock rom u backed up using mtktools, so i can build a working nethunter rom for ur device and add it here. So please give proper info of the boot.img such as; kernel version, name of ur device, android version and rom u are using.

MT6572 Downloads

Alcatel Pop C2 Kernel 3.4.67

Blu Studio 5.0 II Kernel 3.4.5

Excelvan S55 Smartwatch Kernel 3.4.67

Trident A9 Kernel 3.4.5

MyPhone C-Smart Kernel 3.4.67

Lenovo A369i Kernel 3.4.67

Lenovo A319

MT6797 Downloads

Xiaomi Redmi Note 4 Kernel 3.18.22+

Infocus Epic 1

MT6735 Downloads

Wiko_U_Feel Kernel 3.18.19+

Flare S4 Plus kernel 3.10.65+

Neffos C5 Kernel 3.10.65

Blu R1 HD Kernel 3.18.19+

Cherry Mobile Flare A3 Kernel 3.18.19

Gionee M5 Lite Kernel 3.10.65+

MT6577 Downloads

Alcatel OT 6030 Kernel 3.4.0

MT6580 Downloads

Cherry Mobile Spin Max Kernel 3.18.19+

Alcatel Pixi4 (5) Kernel 3.18.19

Kiano Elegance 4.5 Kernel 3.10.72

KianoLegance5.0 Kernel 3.10.72

Symphony i10 Kernel 3.18.19

ZTE Blade L5 Plus Kernel 3.10.72

Cherry Mobile Flare J3 Plus Kernel 3.18.19

MT6582 Downloads

Micromax Unite 2

Micromax Canvas Hue Kernel 3.4.67

Xolo Q700s Kernel 3.10.54

Lenovo A 3300gv Kernel 3.4.67

Intex Aqua Power Plus Kernel 3.10.54

THL 4000 Kernel 3.4.67

Oppo Joy 3 Kernel 3.4.67

Symphony V80 kernel 3.10.54

MT6589 Downloads

Micromax A 117

MT6592 Downloads

Infinix Zero 2 Kernel 3.10.72

InnJoo ONE 3G HD Kernel 3.10.72

Lenovo Golden warrior Kernel 3.4.67

Flare Xl Plus Kernel 3.10.72

HTC Desire 820G+Kernel 3.4.67

Infinix Hot Note PRO Kernel 3.4.67

MT6752 Downloads

Xperia C5 Ultra E5553 Kernel 3.10.72+

Lenovo k3 Note Kernel 3.10.103

Alcatel Onetouch Flash Plus Kernel 3.10.61+

Alcatel Onetouch Flash Plus Kernel 3.10.48+

Lenovo P70 Kernel 3.10.65

MT6753 Downloads

Gionee S Plus Kernel 3.18.19

Neffos_C5_Max Kernel 3.10.65

Firefly Intense Desire Kernel 3.10.65+

Lenovo Vibe K4 Note Kernel 3.18.19+

Coolpad Note 3

Infinix Note 2 Kernel 3.10.65+

MT6755 Downloads

Sony Xperia XA F3111 Kernel 3.18.22

Lenovo Vibe K5 Note Kernel 3.10.72+

MT6795 Downloads

LeEco Le1s Kernel 3.10.72+

Xiaomi Redmi Note 2 Kernel 3.10.61

Redmi Note 2 Kernel 3.10.61+

Xperia_M5 Kernel 3.10.72+

MT6782 Downloads

Gionee_M3 Kernel 3.4.67

Lenovo A3000 h Kernel 3.4.67

MT6737 Downloads

HomTom H 17

Plz show support by hitting Thanks.​
[Android Software/Hacking General [Developers Only]] murali3127:
Hi can we use external WiFi adapter on android ?
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Yes...

U will need to use external WiFi USB adapter like this one...

https://www.amazon.com/TP-Link-N150-Wireless-Adapter-TL-WN722N/dp/B002SZEOLG

U will also need a otg cable or adapter for this.[emoji106]
[Android Software/Hacking General [Developers Only]] murali3127:
I tried with tplink tl-w722n but it isn't being recognised. What to do ?
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Ensure that u followed the post above and installed chroot.

-open a Kali terminal and type ifconfig

-look for wlan1. If not there type:

- "apt-get update"

-type "apt-get install firmware-atheros"

Check "airmon-ng" after re-plugging your adapter

Hope the worked[emoji106]
[Android Software/Hacking General [Developers Only]] kirito9:
[MENTION=6108289]Brandon Indar[/MENTION] Interesting work you did here. I was going to try this but thought it only worked for Android LP and above. Do you have a link to the source? I one you adapted for MT6572. I'm going to test this as my device is also MT6572 :D.

[MENTION=5672995]jcadduono[/MENTION] Mediatek support.
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Thanks...

However I use prebuilt kernel to build Kali for these devices no source.

BTW... Which device u have?
[Android Software/Hacking General [Developers Only]] kirito9:
Prebuilt kernel works? :eek:

I was already applying the kernel patches on the nethunter github page Lol.

I have an Alcatel Pop C2.
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Yea.. It may lack some nethunter features but still works.[emoji106]
[Android Software/Hacking General [Developers Only]] kirito9:
Awesome, I'll see if I can get it running on my device. Doesn't matter if some features are missing or not. I will apply the patches later if what I want doesn't work.
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Cool... Let me know what dosen't work.
[Android Software/Hacking General [Developers Only]] PAPalinskie:
can i port this one to mt6580 devices at 3.18.19+ kernel? i want to try it on them.
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Yes just pm me a link to ur boot.IMG and i will build it and post it back here in downloads
[Android Software/Hacking General [Developers Only]] PAPalinskie:
here is the link.

http://www.mediafire.com/file/zylidc60jlbji5j/boot.img
[Android Software/Hacking General [Developers Only]] Brandon Indar:
what is the name of ur phone and android version?
[Android Software/Hacking General [Developers Only]] PAPalinskie:
it is cherry mobile spin max at android 6.0.1
[Android Software/Hacking General [Developers Only]] Brandon Indar:
Added link... Hope it works[emoji4]
[Android Software/Hacking General [Developers Only]] PAPalinskie:
it seems to boot up successfully. i'm afraid that the zimage patcher while installing kali plugin was failed but it seems it flashed successfully anyways. i'll test it tomorrow for experimental wifi routers. im now running kali at cm13 and maybe it works on stock rom and s7 rom.
[Android Software/Hacking General [Developers Only]] Ridhanta5685:
Hey dev I tried your zip but it didn't flashed successfully and it crashed my running rom. I was using a MIUI 7 Global beta version custom rom in my Micromax Unite 2 A106. I again reflashed my MIUI then flashed a net hunter zip of a nexus device which I downloaded from kali.org, it was flashed successfully and even my phone booted up, Chroot is even installed but nethunter terminal app is chrashing whenever I am trying to install metapacges or trying to open it manually. Please anyone can solve my problem?

Thank you
[Android Software/Hacking General [Developers Only]] Just Andrew:
Sorry, what about mt6755m？
[Android Software/Hacking General [Developers Only]] jjayvee18:
Can't install Chroot," Error in the Chroot Download." Help me please :(
[Android Software/Hacking General [Developers Only]] Augustoandro:
Download chroot file using a browser, put it in /sdcard directory and click the option in chroot manager which allows you to install it from a file on phone
[Android Software/Hacking General [Developers Only]] kiritosao2002:
Tried

Tried it...its still not installing

I downloaded the chroot file and tried installing from sd card...and it still isn't detecting it...when i try to download from chroot manager it says error..

I'm using coolpad note 3 on optimised stock 3.03 cool ui 8 rom marshmallow
[Android Software/Hacking General [Developers Only]] Augustoandro:
Did you rename the file to kalifs-full.tar.xz?
[Android Software/Hacking General [Developers Only]] jjayvee18:
Thanks!! It's work on my Xiaomi Redmi Note 4 Mtk :D:svetius:
[Android Software/Hacking General [Developers Only]] SK4467:
Where is the image file??

Sorry but I can't find the nethunter image file from your 3rd post... Plz help me
[Android Software/Hacking General [Developers Only]] kiritosao2002:
Yes i did and it started decompiling but yhen an error occurred...it said java runtime erroe

I can't post outside links so it's impossible to give the link of the log file....but uf you need it just contact me
[Android Software/Hacking General [Developers Only]] TheBlackRider:
5010D

something went wrong

alcatel pixi 4 (5) 5010D, kernel error - unsupported device.

5010D isn't right Alcatel Pixi 4 (5) MT6580 device or smth else?
[Android Software/Hacking General [Developers Only]] TheBlackRider:
5010D

BTW for 5010D you can install nightly build (generic version) from Kali official site. You must install it over Lineage 14.1 (only lineage 14.1 was tested, maybe it's working with another roms). But i could install only minimal build because of not enough memory (idk how i can bypass it :().
[Android Software/Hacking General [Developers Only]] jjayvee18:
Error

Could not find:

/system/bin/bootkali_login:

Please run Nethunter to generate!

How Can i fix this? Cant open kali in Nethunter Terminal?
[Android Software/Hacking General [Developers Only]] Ramzan119:
NetHunter

Hi

Here is the details of my device

Kernel version: 3.18.19

Device Name: Leagoo Z5 (MT6580M)

Android Version : 7.1.2

ROM : LineageOS 14.1

Thank you)
[Android Software/Hacking General [Developers Only]] Marwan nano:
Hello my device is lenovo a536 mtk and I can found it can you plz add it and thanks
[Android Software/Hacking General [Developers Only]] jonnytracker:
fail chroot download

mi note 4 mediatek (nikel) it fails to download chroot during installation, how do i download offline ? any version of nethunter works ? this is the error

12-Apr-2018 9:18:56 AM - New instalation log file: /storage/emulated/0/nh_install_20180412_090651.log

12-Apr-2018 9:19:06 AM - Starting download. Standby&

12-Apr-2018 9:19:09 AM - Error in the Chroot download, posible causes: server down or conection issues

12-Apr-2018 9:19:11 AM - Error in the download, removing temp file...

12-Apr-2018 9:19:12 AM - Checking for chroot at /data/local/nhsystem/kali-armhf

12-Apr-2018 9:19:13 AM - No Kali chroot directory was found.

12-Apr-2018 9:19:13 AM - Cleaning install directory