[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI - Android Software/Hacking General [Developers Only]

- DISCLAIMER -
Code:
This Is For Educational Purposes Only
You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances
I'm Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices
Files And Tutorials Are Used And Partially Created According My Expirience And Also Collected From Internet & XDA Forums
All Regards Are Going To Their Authors
If Just Google Ask you For Password (Credentials) - You Can Turn On WIFI Via ADB In Order To Google Accept Your Device Via this Command:
Code:
adb shell svc wifi enable
Click to expand...
Click to collapse
Requirements:
The Device Needs To Have Usb Debugging Enabled
In Case Usb Debugging Isn't Enabled And You Have Recovery,you Can Run The Same Instructions From Recovery
For Some Methods Root Is Not Required (Though It Will Be Better If Device Is Rooted)
If None Of This Methods Works For You - Unfortunally You Probably Must Full Wipe Your Device
METHOD I
Solution For Everyone With Recovery (Cwm, Twrp, Xrec,Etc...) Installed:
INSTRUCTIONS:
1. Download this zip Pattern Password Disable (Download from attachments) on to your sdcard (using your PC, as you cant get into your phone, right )
2. Insert the sdcard into your phone
3. Reboot into recovery mode
4. Flash the zip
5. Reboot
6. Done!
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 2
Solution For Everyone Without Recovery Installed - ADB :
What You Need:
=>A computer running a Linux distro or Windows+Cygwin
=>USB cable to connect your phone to the PC
=>Adb installed
How to install adb:
1. Open Terminal
2. Type:
Code:
sudo apt-get install android-tools-adb
Hit [Enter]
3. Follow the instructions until everything is installed.
INSTRUCTIONS:
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
3. Type:
Code:
adb devices
adb shell
cd data/system
su
rm *.key
4. Done...Now You Just Have To Reboot.
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 3
Solution For Everyone Before Lock Accident :
SMS Bypass - Download Link - Install It On Your Device (Download from attachments)
This App Allows You To Remotely Bypass Your Phone's Screen Lock By Sending A SMS.
It Removes Your Gesture Pattern Or Password After Receiving A Preset Keyword Along With A Secret Code Via SMS.
SMS Bypass App Requires Root.
INSTRUCTIONS:
1.First, make sure you give permanent root access to the app.
2.Change the secret code to your preferred choice. The default password is : 1234
3.To reset your screen lock, send the following message from another phone:
Code:
secret_code reset
Example:
Code:
1234 reset
Note 1 : There is a space between your secret code and reset. Also the secret code is case sensitive.
Note 2 : There is an option available to change the preset keyword. Default is : reset - Your phone will restart and your lock screen will be reset.
Note 3 : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 4
Solution For Everyone Via Adb - SQL Command :
INSTRUCTIONS:
=>Type This Commands Separated In Your Terminal (CMD Prompt) :
Code:
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
=>Now You Just Have To Reboot.
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 5
Solution For Everyone Via Adb - File Removal :
INSTRUCTIONS:
=>Type This Command In Your Terminal (CMD Prompt) :
Code:
adb shell rm /data/system/gesture.key
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 6
Solution For Everyone With USB Debugging Enabled :
INSTRUCTIONS:
Primary Step for all method:
Download & Extract to anywhere - Bypass Security Hack (Download from attachments)
Open SQLite Database Browser 2.0.exe in SQLite Database Browser.
Run pull settings.db.cmd inside By-pass security Hacks folder to pull out the setting file out of your phone.
Drag settings.db and drop to SQLite Database Browser 2.0.exe program.
Navigate to Browse data tab, At table there, click to list down the selection & selete secure
Instruction To Remove Pattern Lock:
Now, find lock_pattern_autolock, Delete Record
Close & save database
Run push settings.db.cmd and reboot your phone
Instruction To Remove PIN Lock:
Now, Find Or Create lockscreen.password_type, double-click & change it's value to 65536, Apply changes!
Now, find lock_pattern_autolock, Delete Record, If doesn't exist, Ignore
Close & save database
Run push settings.db.cmd and reboot your phone
Instruction To Remove Password Lock:
Now, find lockscreen.password_salt, Delete Record
Now, find lockscreen.password_type, Delete Record
Close & save database
Run push settings.db.cmd and reboot your phone
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
METHOD 7
Solution For Everyone With Recovery Installed :
INSTRUCTIONS:
1.Download and Copy Aroma File manager.zip (Download from attachments or http://forum.xda-developers.com/showthread.php?t=1646108) to your memory card.
2. Open your recovery (press volume Down + Power button or it can be different according to the phones. Generally the phones who have press able button on the middle they have to press all three buttons. Google for you pattern there are lots)
3. There’ll b an option in recovery called “mount”. Go in that option and then mount all the cache and everything it is there.
4. Then select “update” and select “apply update from SD/external” and select aroma file manger.zip file that you downloaded using above QR code above.
5. After Flashing or updating, the aroma file manger will open. Use volume keys for up/down and power button 2 select like you use to get into recovery.
6. In aroma File manager , Go to menu , which is located in bottom strip and then select Settings.
7. Go to bottom n select “mount all partition in startup ” then exit from aroma file manger.
8. Now after exit , re-update that aroma file again and it will open again.
9. Go to data >> and then System.
Then find ‘gesture.key’ (for pattern lock) and ’password.key’ (for password lock) then long touch on gesture.key or password.key and sum option will be prompted , choose delete and delete that file and restart.
Note : If You See The Gesture Pattern Grid Or Password After Restarting, Don't Worry. Just Try Any Random Pattern Or Password And it Should Unlock.
Credits:
PHP:
iamareebjamal(http://forum.xda-developers.com/member.php?u=4782403)
amarullz(http://forum.xda-developers.com/member.php?u=402300)
me myself (@piraterex) :D (http://forum.xda-developers.com/member.php?u=5002224)
I don't know all Devs so pls PM me and ask for credits for their tools/app

I LOVE YOU sooooooooo much

Super sharing Dear Big Thanks.. :thumbup:
Sent from my GT-I9300 using Tapatalk 2

Nice. Method 2 worked on my S2 plus

a million thanks my FRIEND:victory::victory::victory::victory::victory::victory::victory::angel:
you saved my day :good::good:
I LOVE YOU :laugh::laugh::laugh:
I AM SO HAPPY

me1mon said:
I LOVE YOU sooooooooo much
Click to expand...
Click to collapse
cheetah81 said:
Super sharing Dear Big Thanks.. :thumbup:
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Gibz97 said:
Nice. Method 2 worked on my S2 plus
Click to expand...
Click to collapse
Mohdsultan said:
a million thanks my FRIEND:victory::victory::victory::victory::victory::victory::victory::angel:
you saved my day :good::good:
I LOVE YOU :laugh::laugh::laugh:
I AM SO HAPPY
Click to expand...
Click to collapse
thanx guyz..

Thank you very much, you saved me from factory resetting my device.
Sent from my Nexus 5 using Tapatalk

I believe this thread deserves more, it's help is so valuable.
Sent from my LG-P500 using XDA Free mobile app

Worked great.. did the Aroma method because I already had that installed... just a note. at&t Galaxy S4 4.4.2 mine was sparepassword.key and there was not password.key and I was using a password.

tnx dude
is there any way to bypass email verification???
if not...can you make it ...??

Note 3. 1,4,5 and 6 didnt work. Kept getting settings.db permission denied error.
Method 7 didnt work either. all I could see was gesture.key, deleted it but it ddint get rid of my pin lock.

piraterex said:
METHOD 7
Solution For Everyone With Recovery Installed :
INSTRUCTIONS:
1.Download and Copy Aroma File manager.zip (Download from attachments) to your memory card.
Click to expand...
Click to collapse
Thank you, thank you, thank you! You saved my day! :laugh::laugh:
This worked BUT: The aromafilemanager.zip didn't work, I had to download it from here: http://forum.xda-developers.com/showthread.php?t=1646108
So, please update the link, with the zip linked above it worked perfectly! :good:
//edit: And there is one more very simple way, if you have activated the device manager as device administrator (for some odd reason my phone deactivated all device admins, that's why I locked myself out in the first way, I use TimePIN and suddenly my code and the failsafe didn't work ) :
Go to https://www.google.com/android/devicemanager klick on "lock" and enter some pin like 1234, the current lockscreen will be overwritten by the 1234-lock.

Here's a simple windows app I made that will do all that with just one click over ADB http://youtu.be/NxzGxb73CQE

CM11 file to delete
this guide is cool
those who using CM11 the file to be deleted is cm.gesturekey
and the pattern is delted
i m using CM11
so just wanted to share

Thank you so much!
My Galaxy S2 slipped from my hand and battery popped out. After turning the device on, the phone would not accept my PIN! Strange as it seems.
Tried method 6 initially, but did not work. However went for Method 7 and profit!
I had TWRP recovery already in place, so didn't actually had to use the aroma file manager.
Thank you so much again. Weird days!

k.janku1 said:
Here's a simple windows app I made that will do all that with just one click over ADB http://youtu.be/NxzGxb73CQE
Click to expand...
Click to collapse
where is download link of tools?

i locked my phone with password lock..
I want to try option one
I have a ATT galaxy note 3 using Knoxraid v5.6 jb rom .. when i go into recovery it doesnt give me an option to select file from storage
only options to upgrade from ADB
upgrade from Storage
wipe cache
Any idea?

Ma$etas said:
i locked my phone with password lock..
I want to try option one
I have a ATT galaxy note 3 using Knoxraid v5.6 jb rom .. when i go into recovery it doesnt give me an option to select file from storage
only options to upgrade from ADB
upgrade from Storage
wipe cache
Any idea?
Click to expand...
Click to collapse
Try the option "upgrade from storage"
Normally it's called install zip from sd card. If it's not working, change the recovery.

simmac said:
Thank you, thank you, thank you! You saved my day! :laugh::laugh:
This worked BUT: The aromafilemanager.zip didn't work, I had to download it from here: http://forum.xda-developers.com/showthread.php?t=1646108
So, please update the link, with the zip linked above it worked perfectly! :good:
//edit: And there is one more very simple way, if you have activated the device manager as device administrator (for some odd reason my phone deactivated all device admins, that's why I locked myself out in the first way, I use TimePIN and suddenly my code and the failsafe didn't work ) :
Go to https://www.google.com/android/devicemanager klick on "lock" and enter some pin like 1234, the current lockscreen will be overwritten by the 1234-lock.
Click to expand...
Click to collapse
thanx buddy...I have added that link :good::angel:

what one will do if he has stock recovery with usb debugging disabled and has forgotten lock screen pattern or pin ? Is there anyway to enable usb debugging in fastboot or stock recovery or any other way?

Related

[NO ROOT] [NO USB DEBUGGING] Bypass Too Many Pattern Attempts

Hiii
Bypass Too Many Pattern Attempts
Without Root And Without USB Debugging​
Description :
Many times by mistake Android Pattern is Attempted wrong and generate "Too Many Pattern Attempts" Message Which can only bypass by email account you logged in that device But It requires Internet Connection like WiFi or Data Plan Turned On
The basic thing behind this scene is the Database of Settings.apk which holds the boolean value of Pattern AttemptsIf you crossed limited pattern attempts this value becomes 1 The settings.db is Located at /data/data/com.android.providers.settings/databases/settings.db
So I developed a Updater Script to Delete settings.db which can be flash to device through custom recovery like CWM. To flash this Zip you must have Unlocked Bootloader
This Method will change your Android ID ( Can Be easily fix )
Use This At your Own Risk !
Follow The Steps to Flash this BypassPatternAttempts.zip
Required Files :
1.CWM.zip for Galaxy Y Duos https://db.tt/nxnZWSOp
you can search for your devices on XDA
2.BypassPatternAttempts.zip : Download
Procedure :
1.Copy both files in root of memory card.
2.Insert that memory card in your android device.
3.Now switch off your device.
4.Now press volume up + power + home button together to start Recovery mode ( May be Different for Different Devices ).
5.In this mode touch will not work so navigate using volume up and down keys and select using home button.
6.Now select update zip from sd card’
7.Now select CWM.zip.
8.Yellow coloured menu will appear. ( May be Different for Different Devices )
9.Select ‘install zip from sd card’.
10.Then select ‘choose zip from sd card’.
11.Select BypassPatternAttempts.zip.
12.Now select ‘yes’.
13.Then the process will complete after some time.
14.Now press back and select ‘Reboot Device’.
15.Enjoy.
Press Thanks Button if This Thread Helped You
Just saying, if the person has an unlocked bootloader, isn't he likely to have a recovery and root as well?
NSDCars5 said:
Just saying, if the person has an unlocked bootloader, isn't he likely to have a recovery and root as well?
Click to expand...
Click to collapse
This script only needs unlock bootloader for flashing .
no need of ROOT Anyway
aditya.kamble said:
This script only needs unlock bootloader for flashing .
no need of ROOT Anyway
Click to expand...
Click to collapse
What I meant is... if somebody has unlocked their bootloader...
they probably already have root and CWM, don't they?
NSDCars5 said:
What I meant is... if somebody has unlocked their bootloader...
they probably already have root and CWM, don't they?
Click to expand...
Click to collapse
Ya.. Thats right...
Most of users already rooted if they unlocked bootloader...
But in case of some users they dont want to root This script will work
Sent from my GT-S6102 using Tapatalk 2

I337_OC3_Batch_Debloater (Customizable)

**Root access required**
Download:
- I337_OC3_Batch_DeBloater
Instructions:
1. Extract the I337_OC3_Batch_DeBloater folder onto your desktop.
2. Turn on USB Debugging from Developer Options and connect your device to your *PC.
3. Double-click DeBloater.bat to launch the program.
4. Select "Light," "Medium," or "Extreme" **debloating and press Enter.
5. Grant Root Access if prompted by your device and press Enter to begin.
6. Once complete press Enter to return to the Main Menu and select ***Reboot Device.
7. Last, select Exit from the main menu to end your session. Done!
* Make certain that you have Samsung Drivers installed.
** Use notepad++ or other text editor to view/edit the lists of removed apps in DeBloater.bat file.
*** It is normal for apps to begin force closing prior to rebooting your device.
Thanks, checking it out. Does it have a restore feature too?
GREAT! Thanks (tried to with the button didn't work)
works?
works on oc4?
Yes, it works fine with oc4
Says my debugging isn`t enabled but it is,can`t get it to work anyone know a fix?I`m also on oc4,also it doesn`t come up with the grant root access either.
Will this work on OK2?
EDIT: Looked at the code. It's generic, meaning it will. Ignore this question!
doubleaykay said:
Will this work on OK2?
EDIT: Looked at the code. It's generic, meaning it will. Ignore this question!
Click to expand...
Click to collapse
confirmed working on ok2
helikvar said:
confirmed working on ok2
Click to expand...
Click to collapse
How do you root OK2? I want to debloat!
Thanks!!
felipe71ar said:
How do you root OK2? I want to debloat!
Thanks!!
Click to expand...
Click to collapse
install pre rooted OK2 rom
BTW works on OK2
Happy
Is There a Mac Version?
Sounds great! Is there a Mac version, too?
muniz_ri said:
**Root access required**
Download:
- I337_OC3_Batch_DeBloater
Instructions:
1. Extract the I337_OC3_Batch_DeBloater folder onto your desktop.
2. Turn on USB Debugging from Developer Options and connect your device to your *PC.
3. Double-click DeBloater.bat to launch the program.
4. Select "Light," "Medium," or "Extreme" **debloating and press Enter.
5. Grant Root Access if prompted by your device and press Enter to begin.
6. Once complete press Enter to return to the Main Menu and select ***Reboot Device.
7. Last, select Exit from the main menu to end your session. Done!
* Make certain that you have Samsung Drivers installed.
** Use notepad++ or other text editor to view/edit the lists of removed apps in DeBloater.bat file.
*** It is normal for apps to begin force closing prior to rebooting your device.
Click to expand...
Click to collapse

Disable soft keys

Any way to disable soft keys without rooting? Immersive Mode doesn't work because it disables the keyboard.
I'm Possible
mimin0 said:
Any way to disable soft keys without rooting? Immersive Mode doesn't work because it disables the keyboard.
Click to expand...
Click to collapse
So,
Here is the way,
Note-Do it at your own risk!! I'll not be responsible for anything!!
It is not actually rooting your device...:silly:
I'll just tell you the method...
Rest you have to figure it out how to do it because I'm not an owner of Honor 8!!! , Currently my device is Lenovo A6000 Plus
Requirements:
1. PC
2. ADB Files
3. Custom Recovery ( I recommend - TWRP above 3.0 because I've done it same way on my device)
4. Unlocked Bootloader / Fastboot (You should have it)
5. One working Data Cable
6. Minimum Knowledge of editing Build Prop
7. The flashable zip in the attachment below...
8. You with your Phone!!!....
Now Let's Start... (But 1st Try to understand carefully)
1. Download the Flashable zip & put it in your PC
2. Boot your phone into Fastboot/Bootloader ( In whatever process you want - i) Manually or ii) adb reboot bootloader)
3. Now try this cmd - fastboot boot (name of the recovery).img [But before this step you must put your recovery into the adb folder]
After this wait for few seconds... you must be booted into your recovery...
4. Go to Advance > File Manager > Navigate to system > Select build.prop > copy it to where ever storage you want (I prefer internal)
5. Hope you have mtp enable in the recovery mod, if not then reboot the phone into the normal mode then send the extracted file to your pc ( You can also use es file manager/explorer but I will tell the pc method because it is more perfect)
6. Open the build.prop with notepad ++ and try this method which is given by The Hard Gamer in his "[ROM][32bit][port]OCTOS 6.0.1 for lenovo a6000/+" post
EVERYTHINGS WORKING FINE
TO DISABLE NAVBAR EDIT YOUR BUILD.PROP......
-First obviously you need be a Root user
-Backup your build.prop to your PC or anywhere (but backup it!)
-Edit build.prop with a Root Explorer using this line:
qemu.hw.mainkeys=1
you have to add this at the END of the .prop, save and reboot.
[FOR Marshmallow/Android 6.0]
If you're on Marshmallow (Android 6.0) the process is exactly the same, add the line at the end of the build.prop EXCEPT that you must leave 2 spaces after you added the line.
7. Put replace the build.prop file with the new edited build.prop in the flashable zip.... and put it into your root directory of internal/external storage.
8. Now repeat step 2-3.
9. Mount System, if it is already mounted then unmount it then remount it.
10. Go to install > navigate to the flashable zip > Then flash it.
11. Reboot system & Enjoy (If you Can) :angel:
Another Note :-I was here to participate in Honor 8 wining contest so, I can not exactly tell you the right process because you know (I don't own one of the amazing device)... So, If this method works then please hit like :good: & reply me with your experience... Atleast I can deserve this much..
& One important thing...
Sorry For My BAd English!!
pijushsen94 said:
So,
Here is the way,
Note-Do it at your own risk!! I'll not be responsible for anything!!
It is not actually rooting your device...:silly:
I'll just tell you the method...
Rest you have to figure it out how to do it because I'm not an owner of Honor 8!!! , Currently my device is Lenovo A6000 Plus
Requirements:
1. PC
2. ADB Files
3. Custom Recovery ( I recommend - TWRP above 3.0 because I've done it same way on my device)
4. Unlocked Bootloader / Fastboot (You should have it)
5. One working Data Cable
6. Minimum Knowledge of editing Build Prop
7. The flashable zip in the attachment below...
8. You with your Phone!!!....
Now Let's Start... (But 1st Try to understand carefully)
1. Download the Flashable zip & put it in your PC
2. Boot your phone into Fastboot/Bootloader ( In whatever process you want - i) Manually or ii) adb reboot bootloader)
3. Now try this cmd - fastboot boot (name of the recovery).img [But before this step you must put your recovery into the adb folder]
After this wait for few seconds... you must be booted into your recovery...
4. Go to Advance > File Manager > Navigate to system > Select build.prop > copy it to where ever storage you want (I prefer internal)
5. Hope you have mtp enable in the recovery mod, if not then reboot the phone into the normal mode then send the extracted file to your pc ( You can also use es file manager/explorer but I will tell the pc method because it is more perfect)
6. Open the build.prop with notepad ++ and try this method which is given by The Hard Gamer in his "[ROM][32bit][port]OCTOS 6.0.1 for lenovo a6000/+" post
EVERYTHINGS WORKING FINE
TO DISABLE NAVBAR EDIT YOUR BUILD.PROP......
-First obviously you need be a Root user
-Backup your build.prop to your PC or anywhere (but backup it!)
-Edit build.prop with a Root Explorer using this line:
qemu.hw.mainkeys=1
you have to add this at the END of the .prop, save and reboot.
[FOR Marshmallow/Android 6.0]
If you're on Marshmallow (Android 6.0) the process is exactly the same, add the line at the end of the build.prop EXCEPT that you must leave 2 spaces after you added the line.
7. Put replace the build.prop file with the new edited build.prop in the flashable zip.... and put it into your root directory of internal/external storage.
8. Now repeat step 2-3.
9. Mount System, if it is already mounted then unmount it then remount it.
10. Go to install > navigate to the flashable zip > Then flash it.
11. Reboot system & Enjoy (If you Can) :angel:
Another Note :-I was here to participate in Honor 8 wining contest so, I can not exactly tell you the right process because you know (I don't own one of the amazing device)... So, If this method works then please hit like :good: & reply me with your experience... Atleast I can deserve this much..
& One important thing...
Sorry For My BAd English!!
Click to expand...
Click to collapse
Thanks. I was also looking for solution of this issue and your solution helped me a lot
I was looking for a method which does not involve custom recovery and unlocked bootloader, should've probably mentioned that. If I go the TWRP way then may as well root it, but then I'd lose OTA.
Don't feel comfortable doing that just yet.
Rickyzx said:
Thanks. I was also looking for solution of this issue and your solution helped me a lot
Click to expand...
Click to collapse
wow
I'm glad to help you!!
Please hit thanks if you really liked it!!
---------- Post added at 10:46 AM ---------- Previous post was at 10:28 AM ----------
mimin0 said:
I was looking for a method which does not involve custom recovery and unlocked bootloader, should've probably mentioned that. If I go the TWRP way then may as well root it, but then I'd lose OTA.
Don't feel comfortable doing that just yet.
Click to expand...
Click to collapse
I can understand what you want to say!!
But listen,
You can do the whole process without boot the phone in normal mode...
Just unlock the bootloader before the process and relock it after it...
It's that simple..
And It will automatically do a factory reset after unlocking..
My Previous phone was MMX CAnvas A1
I have done many experiments on it like these...
But At the end I still got the OTA updates... Even my SuperSu (By systemless flashable zip) is installed
And you must take some risk in your life to get better results!!
Hope you understand!!!
And press thank button if it helped!!

[GUIDE]How to Root Honor 9 Oreo

!Disclaimer: You will void your warranty by proceeding with this process! Make sure to check every step and backup your own data. I am not responsible for you soft or hard-bricking your phone. This tutorial is for the Honor 9 STF-L09C432B36(0/2/3/4/5/6/7/8). Other versions may work or may not!
Pre requirements:
-A working pc with internet connection
-your phone
-pin set in android (lock screen)
-USB type c connector
-read everything carefully
-proceed with caution
-rather ask, than doing something you don't understand or you are unsure of
Credits go to:
-xzx0O0
-topjohnwu
-k1ks
1.UNLOCKING THE BOOTLOADER
!If the phone perfoms a bootloader unlock, a factory reset will be perfomed automatically. So you will have to backup your data to a sdcard or to the pc.!
Step 1.1 and 1.4 are hanging together. They can be skipped with no worries, but I would recommend to do it. !THIS IS NOT A FULL BACKUP!
1.1 [OPTIONAL]BACKING UP PHONE SETTINGS:
1.1.1 Download and install Hisuite on your pc: http://consumer.huawei.com/minisite/HiSuite_en/
1.1.2 Connect your pc with your phone
1.1.3a If you see a pop up like this,then choose transfer files and skip Step 1.1.3b
1.1.3b Go to your Notifications on your phone. There will be a settings notification. Press on it and select File transfer via USB.
1.1.4 On your phone go to Settings -> Security & privacy -> More -> and turn on allow Hisuite to use HDB (image)
1.1.5 The phone may ask you to trust the pc. Select always trust this pc (image)
1.1.6 Go to settings -> System -> About phone -> and press about 10 times on the build number.
1.1.7 Go to settings -> System -> Developer Options -> and turn on USB debugging (image)
1.1.8 Open Hisuite on pc
1.1.9 Choose Backup and select everything. Don't password protect it.
1.2 OBTAINING THE UNLOCK CODE
Everything you see below in pink does not work anymore since Huawei has officially stopped providing the bootloader unlock code on their website.
Instead please use this thread for obtaining your bootloader unlock code: https://forum.xda-developers.com/honor-7x/how-to/how-to-unlock-huawei-bootloader-removal-t3780903
1.2.1 Go to this website and press Unlock
1.2.2 Register a huawei id or login
1.2.3 Follow the steps until you see this page
1.2.4 Choose Since Emui 5.0
1.2.5 Fill out the rest of the information. (The IMEI can be found at settings -> System -> About Phone)
1.2.6 Press Commit. If every info was put in correct, A yellow message should appear saying: "Your unlocking password is: ..." Copy the code somewhere safe on your pc.
1.3 UNLOCKING THE BOOTLOADER
1.3.1 Download Minimal ADB and fastboot for your operating system. For windows 32 and 64bit: https://androidfilehost.com/?fid=746010030569952951
1.3.2 install and open the folder where you installed it to.
1.3.3 Run fastboot.exe and adb.exe once
1.3.4 Go to Settings -> System -> developer options turn on OEM unlocking. If you do not have developer options do step 1.1.6 and come back to 1.3.4.
1.3.5 Connect your phone with the pc and turn on USB Debbuging(Step 1.1.7) and file transfer via adb(Step 1.1.3b) on your phone
1.3.6 On your pc go to the folder where you have installed adb. Open a CMD Windows at this folder(For Windows hold leftshift and press right click. Then choose open cmd from this folder)
1.3.7 Make sure that usb debugging is still enabled. In CMD: type adb devices -> hit enter. It should say your serial number with the status "device" (image)
If that is not the case, check if 1.USB Debugging is enabled 2. Allow Transfer files in Notifications.
1.3.8 type in CMD adb reboot bootloader. Your device will reboot into the bootloader.
1.3.9 It should say FRP Unlock and PHONE locked.
If FRP is locked and green, you did not enable oem unlock. => Hold the power button to reboot and go back to step 1.3.4
1.3.10 type in CMD fastboot oem unlock code replace code with the number from Step 1.2.6. Hit enter.
1.3.11 A window will pop up asking you if you want to unlock the bootloader. !Pressing yes will void your warranty and perform a factory reset deleting all personal data on internal storage.! With your volume up and down keys navigate to yes and press the power button to proceed. Your device will automatically reboot and perform a factory reset and reboot again.
1.3.12 Put in all your information, so that the phone is fully usable again
[OPTIONAL]1.4 REAPLYING PHONE SETTINGS
1.4.1 Repeat Step 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7 and 1.1.8
1.4.2 In Hisuite press restore and choose the backup you have created in Step 1.1.9
2.FLASHING AND SETTING UP TWRP
2.1 FLASHING TWRP
2.1.1 Set a pin for your phone if you have not (lockscreen). Go to this thread and download stf-twrp-zxz-0.3.img and this kernel
2.1.2 Move both .img to your folder, where you have installed adb
2.1.3 Do Step 1.3.5, 1.3.6, 1.3.7 and 1.3.8
2.1.4 It should say FRP Unlock and PHONE Unlocked(image) => Step 2.1.5 . If Phone is locked and green, you did not unlock your bootloader => Step 1.3.
2.1.5 in CMD type fastboot flash recovery_ramdisk stf-twrp-zxz-0.3.img => hit enter.
2.1.6 type fastboot reboot in CMD to reboot. Do not close CMD window and do not unplug phone from pc if you continue with 2.2.
2.2 SETTING UP TWRP
2.2.1 Do Step 1.3.5, 1.3.6, 1.3.7
2.2.2 in CMD type adb reboot recovery_ramdisk => hit enter
2.2.3 wait for it to boot. It will ask you for a password. You can choose whatever you want. I would recommend you use your PIN to unlock your phone. REMEMEBER IT!
2.2.4 Then this screen will appear. Swipe to allow modifications.
2.2.5 Press Reboot -> System and do not install the twrp app.
2.2.6a If your on screen buttons and flash are working skip step 2.2.6b
2.2.6b If your on screen buttons are not working => connect phone to pc and connect with adb correctly. In CMD press adb reboot bootloader to reboot into the bootloader. Then flash the custom kernel in CMD , by pressing fastboot flash kernel KERNEL_B360a_TOUCH_FIX.img and hit enter to flash. Then reboot your phone with fastboot reboot
2.2.7 !Read through this whole thread to check which functions of TWRP are working and which not!
3. ROOTING WITH MAGISK
3.1.1 Download Magisk v-16.0 from here and the uninstaller from here.
3.1.2 Connect phone with PC. Activate file transfer via USB in Notifications. Move the Magisk-v16.0.zip and uninstaller.zip to the root of your internal storage or sdcard on your phone.
3.1.3 Do Step 1.3.5, 1.3.6 and 1.3.7 . Type in cmd adb reboot recovery_ramdisk => hit enter.
3.1.2 Type in your password from Step 2.2.3. Press on Install. Select the storage where you put both .zip from Step 3.1.2. Search and press on Magisk-v16.0.zip. Swipe to flash. Then press on reboot to System.
Nice thread. Good.
If the site is long or bug at wish , do not answer for ask code.
Use a VPn or Proxy.
Hi,
is this guide still valid? I will get my phone next weekend. I cannot find "Unlock" at https://emui.huawei.com/.
Saftpresse99 said:
Hi,
is this guide still valid? I will get my phone next weekend. I cannot find "Unlock" at emui huawei com/.
Click to expand...
Click to collapse
I've tried to get the unlock code from the site for three days to no avail. It always just redirects to front page as there doesn't seem to be any unlock page anymore. So if anyone has any better luck with this please share
Saftpresse99 said:
Hi,
is this guide still valid? I will get my phone next weekend. I cannot find "Unlock" at https://emui.huawei.com/.
Click to expand...
Click to collapse
anon9000 said:
I've tried to get the unlock code from the site for three days to no avail. It always just redirects to front page as there doesn't seem to be any unlock page anymore. So if anyone has any better luck with this please share
Click to expand...
Click to collapse
I wrote an email to my regional Huawei Support, and they replied that if i sent them my model, IMEI etc, they will resend unlock code. So try this guys
Saftpresse99 said:
Hi,
is this guide still valid? I will get my phone next weekend. I cannot find "Unlock" at https://emui.huawei.com/.
Click to expand...
Click to collapse
Yes I'm sorry that I am replying so late.
So noone really knows if it is going to come back, but here's what you can do:
1: Go to this site. Scroll down. Choose your country. Call the hotline. Give them the required info. They will send you the unlock-code via Email. I tried it with the German Number and they send it to me without a problem.
2: Try emailing the support from Honor or Huawei.
3: Try out this Thread. You will have to pay about 4 EUR ($5).
Lukalion said:
Yes I'm sorry that I am replying so late.
So noone really knows if it is going to come back, but here's what you can do:
1: Go to this site. Scroll down. Choose your country. Call the hotline. Give them the required info. They will send you the unlock-code via Email. I tried it with the German Number and they send it to me without a problem.
2: Try emailing the support from Honor or Huawei.
3: Try out this Thread. You will have to pay about 4 EUR ($5).
Click to expand...
Click to collapse
How long did it take for you to get the unlock? I just called and they told me it should take about two weeks
shiboby said:
How long did it take for you to get the unlock? I just called and they told me it should take about two weeks
Click to expand...
Click to collapse
Try calling different phone numbers. Some are willing to give you the unlock and some not. I think they also don't know whats really going on with the site etc. But as of right now the 3 ways mentioned above, are the only ways to get the unlock code. Maybe the Unlock site at https://emui.huawei.com/ will come back some time.
Thank you for writing this tutorial, it's really helpful to have all steps in one place to know what to do.
If you could include how to revert back to the locked bootloader with stock firmware, that can be sent back to Huawei for warranty repairs, that would be great!
Best,
Chris
Hi
I did everything like in instructions and its gone well.
then i decided to install module in magisk to hide navigation bar and now my phone has a black screen and i can only turn it off... anyone knows how to fix it?
KubaEM said:
Hi
I did everything like in instructions and its gone well.
then i decided to install module in magisk to hide navigation bar and now my phone has a black screen and i can only turn it off... anyone knows how to fix it?
Click to expand...
Click to collapse
1. Go this thread and download the Mount-Magisk.zip
2. Move it somewhere to your phone. (If you are unable to boot to system connect phone to PC. Reboot phone to twrp. Open a adb window on the PC. In twrp go to advanced. Start the adb sideload. Press on cancel and then on back. Move the Mount-Magisk.zip into your adb folder on the pc. In the cmd type adb push Mount-Magisk.zip /external_sd or which ever path you like. )
3. Boot to twrp.
4. Go to Install and choose the Mount-Magisk.zip . Flash it. After flash press on back.
5. Go to Advanced -> File Manager. At the very top/root of your system should now be a folder called Magisk. Open the folder. The next folders also should include your Modules. Hold the folder of the module and delete it.
6. Reboot and everything should be fixed.
Let me know if it worked! :good:
Just to let everyone know. The unlock page is back. :highfive::laugh::laugh::laugh: Happy Unlocking :good::victory::victory::victory:
Lukalion said:
Just to let everyone know. The unlock page is back. :highfive::laugh::laugh::laugh: Happy Unlocking :good::victory::victory::victory:
Click to expand...
Click to collapse
Yeah... Its back for about 2 months, and then it will be closed pernamently
click
So if I unlock bootloader, and then root my device then i won't receive any OTA update anymore... but how can I deal with this situation in order to re-lock when it's OTA time and unlock again when I got it?
ps. No OTA means only no firmware or it means also no security patches ??
ov3rlordRAGE said:
So if I unlock bootloader, and then root my device then i won't receive any OTA update anymore... but how can I deal with this situation in order to re-lock when it's OTA time and unlock again when I got it?
ps. No OTA means only no firmware or it means also no security patches ??
Click to expand...
Click to collapse
In case of Honor devices, to a certain point you are still getting ota updates. To check on the newest updates download the app Huawei Firmware Finder. Then follow the HuRUpdate Thread to update to the newest firmware without unrooting.
hi, magisk automatically closes after about 3 seconds, how can I solve this problem?
listo09 said:
hi, magisk automatically closes after about 3 seconds, how can I solve this problem?
Click to expand...
Click to collapse
Try reflashing Magisk in TWRP.
listo09 said:
hi, magisk automatically closes after about 3 seconds, how can I solve this problem?
Click to expand...
Click to collapse
Issue Magisk FC , when you open Magisk , go direct on 'About' .
This will keep it open.
Some solutions should be on official section for Magisk
Lukalion said:
Try reflashing Magisk in TWRP.
Click to expand...
Click to collapse
Funziona, grazie
Hi! I'm currently attempting to complete step 2.1, but I've run into a problem.. I've completed all the 1.-steps and added the twrp & kernel img-files to the adb folder, but when I attempt to use cmd fastboot flash recovery_ramdisk stf-twrp-zxz-0.3.img, I just get the response waiting for any device, and then nothing else happens. Any suggestions?

[ROM] [RECOVERY] TWRP RECOVERY AND PORTED LOS16 FOR ALCATEL IDEALXTRA 5059r

UPDATE:
As i don't have much time, here is the link to our Alcatel tetra and ideal xtra development and support group on telegram.
ALL THE FILES THAT USED TO BE LINKED HERE ARE AVAILABLE AT THE MENTIONED TELEGRAM GROUP
https://t.me/Android_General_Chat
Any questions for myself need go there.
Thanks.
LgPWNd
Ok so I am here today to give you a TWRP recovery and A Liniage OS 16 Rom ported from a GSI.
And a quick how to on setting it all up..
DISCLAIMER:
I Am In No WAY responsible for ANYTHING YOU choose to do to your phone.
If you use this and your Dog eats your Cat, Your phone catches fire and burns down your house, or you loose all your game-saves pictures and other files it's NOT MY FAULT.
THIS WILL WIPE YOUR DATA AND FORMAT YOUR PHONE!!!
YOU'VE BEEN WARNED
MY FASTBOOT DOESN"T WORK !
See-This:
Just grab this package I made for @Sloogle_Flugelmann
https://drive.google.com/open?id=1CiGKCPGBJAPvl8R3_24kvdvrQB5V3abI
So requirements are :
#1: Willingness to format your phone and loose all apps and data.{MAKE A BACK-UP}
#2: ADB and Fastboot working on your PC.
#3: The Files I Will Link to or attach .
# Some Time to work on it, and half a Brain
There will be Two methods to accomplish basically the same thing,
Method 1 gives you the long way and it leaves you with the bare basic LOS 16 installed no root no gapps...
on the other hand Method 2 will leave you with LOS 16 and My favorite version of the pixil launcher and stock Gapps included and basically everything working.
METHOD 1-THE LONG ROAD:
STEP 1:
download the package that I will upload for everyone...
STEP 2:
Unlock your bootloader.... there may be multiple ways to do so but for me I enabled usb debugging and OEM unlocking in developers options {if you don't know how to do that you should run far away now !} then I gave the command
Code:
adb reboot bootloader
and this takes you to fastboot mode...
once there issue the following command to unlock your bootloader AND factory-reset the phone
Code:
fastboot oem unlock
then
Code:
fastboot reboot
Now your bootloader is unlocked and your device has been wiped in the process...
so let it boot up then go through the setup wizard and I just skip through everything as we will be wiping it once again in a minute... and just need to get to developer options and re-enable adb...
so do that...
STEP 3: Now that your bootloader is unlocked comes the fun stuff...
Firstly you need an SD-card with at least 4-6 GB free space and before continuing we want to move our LOS-16 System.img to our sd-card so we can install it from TWRP so once that's on the root of Sd-card's storage continue with this guide....
we need to disable DM-Varity to use twrp so we flash a magisk-patched-boot.img
so move the files Patched_boot.img AND twrp_alcatel_5059r_v3-2-3.img to a folder on desktop and open a command prompt /terminal/powershell-window at the file's location.. then issue this command to the phone .
Code:
adb reboot bootloader
and once again we are in fastboot mode.
now we want to use fastboot to replace the stock boot image and stock recovery with our patched boot image and twrp recovery image..
Code:
fastboot flash boot patched_boot.img
then
Code:
fastboot flash recovery twrp_alcatel_5059r_v3-2-3.img
after this we want to reboot to recovery using the hardware keys. because if we don't the stock system will erase our twrp and replace it with stock recovery on boot.
so we do
Code:
fastboot reboot
and soon as you press enter on your keyboard grab the phone and continually hold down the volume-up key and hold the power key .
once you see the alcatel logo and message about unlocked bootloader, you quickly release ONLY the power key for a second then repress and hold it for a count of 5 seconds. then release the power key again and quickly repress it for another 5 seconds and keep doing that for a moment until the screen flashes white then displays the TWRP splash screen.
once we are in twrp it'll ask for the encryption password...
WE DONT HAVE ONE , So just hit Cancel
then it'll ask about system modifications and whatnot,
just swipe to allow modifications.
now we want to head to Wipe > Advanced-Wipe > Format Data
you'll have to type in
Code:
yes
and let it do it's thing.
once done with that we need to reboot to recovery so click the back arrow several times until you are back at twrp's min screen.
head over to Reboot>Recovery
the phone should reboot right back to twrp, you shouldn't see the encryption password screen this time as we formatted DATA.
so now swipe to allow modifications and head back to
Wipe>Advanced-Wipe and check the boxes for system,dalvik-cache,cache,data....
then swipe to wipe them.
then you want to hit the back arrow again till at the main twrp screen again.
Head to Install click on select storage, choose your Sd-card
Click on install zip to change it to install image.
select the LOS image we moved to the Sd-card prieviously,
click on System as the install location.
and finally swipe to flash it.
let it do it's thing.
once completed you will want to click the back arrow again until main twrp screen and reboot to recovery once more....
now once in recovery again you swipe to allow modifications and need to replace the GSI's build.prop file with the one I am including in the zip.
I used adb to accomplish this...
on your PC move the included build.prop file to your working directory{folder your working out of}
and use the terminal/command prompt/powershell to give the following commands
Code:
adb devices
you should see the device identified by serial number and the word recovery next to it
then
Code:
adb shell
you should have a root shell on the device,
Code:
rm -rf /system/build.prop
then
Code:
exit
now your back to pc terminal so type:
Code:
adb push build.prop /system/build.prop
Code:
adb shell
back to root shell
Code:
chmod 0644 /system/build.prop
and then
Code:
reboot now
at this point your phone should reboot and everything was done correctly it'll go past the alcatel logo and bootlock message and then display the LOS 16 boot animation then it'll show a funny looking screen that has an android guy and the message " Please wait while your device is being encrypted"
it'll have a progress counter and when the count-down reacheds zero it'll just hang there....
that's ok, hold the power key until the phone reboots and you should get the los bootanimation followed by the LOS setup wizard start screen.
and you go through the set-up wizard and you'll be in LOS 16 PIE
Now if you want google apps to work there's a few more steps and they will be the same for both method 1 and method 2
if you flash gapps after rebooting from that you'll get a million messages about google play services and google apps crashing ... it's ok
you need to enable usb debugging in the LOS 16 and then sideload the apk ( Device+ID.apk )
Code:
adb sideload "Device+ID.apk"
once installed
open it to get the GSF registration number for your device.
then if you open the play store you'll be greeted by the google DEVICE UNCERTIFIED page...
Don't fret , this is why we fixed the build.prop to reflect our devices orig. build fingerprint...
So scroll down to the bottom of that page and see the last option about Custom Roms
there is a link there... long press that link and choose open in browser
you'll be greeted by the registration page for google...
make sure you are signed into google through your browser...( <---VERY IMPORTANT ) by opening another page to google gmail or the like and signing in with your google account.
then go back to the registration page and hit refresh ...
now it should recognize you by your gmail account in the top right corner i think.
anyhow... go to that ( Device+ID.apk ) that we sideloaded and click on the second set of numbers down the list it should mention (GSF) and choose copy . it'll copy the numbers to your clipboard.
now go back to the browser page from google about registration and paste the copied number into the place next to the (Register) button and then click the register button
it should then list your id converted to decimal on the page...
I did this several times from my PC and got no where but after doing it from the phone it's self a couple minutes later i clicked on one of the error messages about google play services and wholy-krap it finnally let me open google-play-store.
at this point your ready to go....
for an informative article with pictures about this check here:
https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/
Now for Method 2
method two involves all the same steps as method 1 up until you get to TWRP... except that instead of moving the LOS16 system.img to your Sdcard before begining you'll want to extract the alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23.zip I've included and move that whole folder to the sdcard...then
go back and read method 1 and once you are booted into twrp for the first time STOP and come back here to Method 2
Now once you get to twrp the first time the first thing to do is click cancel on the encryption screen then swipe to allow modifications on the next screen. then once at the main twrp screen we need to make a back-up that we will likely never use...
so go to Backup>choose storage (micro sd-card) and then make a back-up, Name the back-up My-Backup so that you can easily find it later. to save space and time I'd recommend backing up just the boot partition.
that'll complete quickly...
now for the weird work-around/Dirty-Hack stuff
you should have the contents of alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23.zip a folder called (alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23) on the root of your sd-card's storage...
and we just made our first back-up from twrp of our boot partition.
so from the main twrp screen we go to Advanced>File-manageer>external_sd we should find a folder labeled(TWRP)
inside that should be a folder labled (BACKUPS) and inside that should be yet one more folder with your device's serial or android ID as the label mine is (49NJ6TORP****VRG) your's may read differently. and finally inside That folder you should find the back-up you previously made (My-Backup) if you followed my instructions.
now we need to go back to the root of our sd-card's storage by clicking (up a level) several times and then click on the folder i had you move there earlier (alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23) and once you click it you'll see files inside look down to the right hand corner in twrp
you should see a little blue folder button with a check-mark , Click that button
then it'll show you options....
click (Move) button then click (up a level) it'll look like it took you all the way back to the beginning top level of file manager, now we navigate to where we want the folder Moved to, so click external_sd > TWRP>BACKUPS>49NJ6TORP****VRG"or what-ever it named your device" > and when you see your (My-Backup) folder STOP... now click the folder button bottom right again, and you're presented with a screen saying moving blah blah blah : to : blah blah blah...
just swipe to move it there.
once you've done that click the back arrow to leave file manager and back out to the main twrp screen again...
Now click Restore>select storage> Micro Sdcard >ok and you should see two things to choose from...
(My-Backup) " the one you created earlier "
and
(alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23)
obviously choose the second one (alcatel-idelXTRA-5059r-LOS16-modded-2019-05-23)
it'll ask you which partitons to restore
make sure ALL of the available boxes are checked should be boot, recovery, cache, and system
then swipe to restore...
after that's done we want to make sure we don't have any issues so back out to the main twrp screen
go to Wipe>Advanced Wipe and choose Dalvik/art Cache and also Cache and Data
swipe to wipe.
then back out once more and goto Wipe>Format Data and type yes and click the blue check mark on the keyboard to continue
after formating data
back out to main twrp screen and go to Reboot>System and if prompted choose NOT to install TWRP app
it wont work for you any way.
it should now reboot and do the please wait while encrypting your device thing again ...
after it counts down to zero it'll hang so just hold down the power button until it reboots and you'll get los boot animation followed by Los setup wizard.
go ahead and setup your device once completed the setup wizard you'll want to follow the part at the end of Method 1 above to get google apps and playstore working.....
then you're Done.
enjoy
NOTE with method two you'll also have a modified /system/etc/hosts file so you'll basically have ad malware and porn protection too. if you don't want that you can replace the content of your hosts file with
Code:
127.0.0.1 localhost
::1 localhost
from twrp etc.
if you like what I've done and want to motivate me to do even more please click thanks and consider a small donation of the price of a coffee or stout Beer
AIO-Package = https://drive.google.com/open?id=14fXqm4fjHtNJ8gm9M2SUdybuFAbIyHjJ
EDIT Somehow forgot to add the magisk patched boot.img to the file
will upload separately later
EDIT: 2
here's the zip with patched_boot.img
UNZIP IT
https://drive.google.com/file/d/1R8Sar9yx6mI7by02v83uEprmBOc7_9I1/view?usp=sharing
Edit 3:
Alternate "Better" recovery. !
there are two other recovery ports and I'd recommend either of them over this TWRP.
That being said, if you use method 2 to restore my back-up above...
Please do so with the twrp linked here as thats what made the back-up.
Here's The link to other better recoverys...
keep digging for it
almost there..
.
Link: https://forum.xda-developers.com/android/development/recovery-pitchblack-redwolf-recoverys-t3947609
EDIT 4:
Making Magisk Just WORK Dammit!
So here is something Nice, We now can have Magisk root on any Pie GSI's by flashing this zip-file .
NOTE TO THREAD HOPPERZ:
THIS IS INTENDED ONLY FOR THIS DEVICE.
IT WILL LIKELY WORK ALSO ON THE ALCATEL TETRA SINCE THE FILES AND PATH ARE THE SAME
DO NOT FLASH THIS TO ANYTHING ELSE!!!
Credit for this go's to a guy who figured out the lib file was missing in most gsi images,
My-self for putting it all together in a flashable zip.
and to @TheExploitedOne for his help fixing error 6 on my updater script and blindly flashing it first
The-Good-Stuff: https://drive.google.com/open?id=1qgZJyEOfVuN7POv_YKAunm-62oNRFhUb
Credit where it's due:
 @Sloogle_Flugelmann and @riskybusiness
for the thread located:
https://forum.xda-developers.com/android/help/alcatel-idealxtra-5059r-root-t3885536
Which got me thinking....
also 
 @Andy Yan for building the GSI that I used to port this
 @phhusson for all the work on treble and GSI'S that made this possible
 @topjohnwu for magisk
and Alcatel / TCL for making it easy this time.
Ok so I found a way to disable forced encryption.
allowing TWRP to use our /Data partition again Yeay!!!
So here's how to do it...
Download the attached file from this post....
put it on your desktop or what ever folder your working out of...
Extract IT and find fstab.mt6739
open your terminal/CMD window and then boot to TWRP.
once in TWRP go ahead and go to Mounts>vendor
and make sure /vendor partition is mounted...
then go back to the pc and type...
Code:
adb shell rm -rf /vendor/etc/fstab.mt6739
Code:
adb push fstab.mt6739 /vendor/etc/fstab.mt6739
Code:
adb shell chmod 0644 /vendor/etc/fstab.mt6739
now go back over to fone, and in twrp back out to main screen and then go to wipe>format Data >type yes
let it do that....
once finished go ahead and reboot to android system
It'll boot up and takes a few minutes to go through the whole set-up wizard again.
but this time you will NOT see the darn little Encrypting the Krap out of android screen...
PROFIT !!!!!
Method 2:
NO PC NEEDED
Download attached file , EXTRACT IT , move fstab.mt6739 to your external sd card....
reboot to twrp,
in twrp at main screen go to
Mount>vendor and make sure /vendor is mounted, and mount> Micro SD Card make sure you have sdcard mounted...
then hit back arrow.
from main screen go to Advanced > File Manager > vendor > etc > fstab.mt6739
click the file and then click Delete
now scroll back to top (Up A Level) > (Up A Level) > external_sd
now look for the file you downloaded with the name fstab.mt6739
click on it then click Move
then once again vendor > etc
now click the little blue folder icon bottom right corner
It'll say,
Moving
Blahblahblah
to
Blahblahblah
just swipe to confirm
after that hit Back
now to fix the permissions
(up a level) > vendor > etc > click on fstab.mt6739
click on chmod
it'll show
Permissions
0000
go ahead and delete the zeros and then type 0644
then hit the checkmark to complete action (bottom right corner)
once done just hit back back back...
till main twrp screen
now to format data to remove the encryption...
back out to main screen and then go to wipe>format Data >type yes
let it do that....
once finished go ahead and reboot to android system
It'll boot up and takes a few minutes to go through the whole set-up wizard again.
but this time you will NOT see the darn little Encrypting the Krap out of android screen...
PROFIT !!!!!
If this helped you, please consider the thanks button....
If this saved your day maybe you'd like to buy me a cup of coffee?
ENJOY
Network unlock package available now
Ok so I have found a way to network unlock the fone but developing it has cost me nearly $80
I am considering sharing a restore package that you can use to restore a back-up from twrp to get your fone Unlocked for any GSM carrier...
But as I have seen NO ONE post in this thread yet, I'll save it...
I may even make it a gift for anyone who donates anything more than $3 to me for my time effort and expenses in developing all this stuff.
if anyone's interested either hit thanks and post about your interest here...
or shoot me a private message...
Got it fully rooted
I got the los 16 pie gsi rooted through a long combination of dirty hacks that in the end allows the official los 16 addonsu to work correctly.
Don't know if ill ever get around to sharing exact details but I will upload a rooted los 16 rom here very soon
will work on that getting that rooted system.img uploaded sometime this week hopefully
Alcatel Da And Auth Files
I scoured the net and finally took apart another program to get these but here's the AUTH & DA files for this device....
also going to add an archive containing all ALCATEL DA and AUTH files I have now....
of course it seems I'm the only one interested in this device...
so probably no one will ever think to look here for them...
but if you do , And if this helps in any way....
Don't forget to click thanks button
Come a long way on this device...
Too bad no one else seems interested ?
Fastboot mode is disabled on mine. adb reboot bootloader just restarts mine.
I have a fix for you
Sloogle_Flugelmann said:
Fastboot mode is disabled on mine. adb reboot bootloader just restarts mine.
Click to expand...
Click to collapse
I'll load up a lk.bin that you can flash using root and DD.
I'll include a ReadMe with exact instructions.
For temp root to flash the lk.bin you're gonna want to use mtk-su
I'll include everything needed in a zip and load it up here.
May take me a little bit since I'm hanging with the family for 4th.
Happy 4th of July
Sloogle_Flugelmann said:
Fastboot mode is disabled on mine. adb reboot bootloader just restarts mine.
Click to expand...
Click to collapse
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
LgPWN'd said:
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
Click to expand...
Click to collapse
Awesome! Thank you. Yeah I just got this phone as a secondary/backup phone and assumed nobody would even be interested in doing anything with this phone. Was kinda surprised to see any progress.
Also, I recommend using Wordpad because Notepad made it one long line of text
Regardless of what or how many times I try, I always end up on a stuck boot screen with circle crossing the screen on the LOS16 rom.
Sloogle_Flugelmann said:
Regardless of what or how many times I try, I always end up on a stuck boot screen with circle crossing the screen on the LOS16 rom.
Click to expand...
Click to collapse
It take a while to boot up
Did u try the backup/restore method?
It always takes mine a bit to boot up.
LgPWN'd said:
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
Click to expand...
Click to collapse
Can you patch fastboot in my Alcatel A7 XL?? Please, it's disabled...
I can use mtk-su since is arm64 MT6750.
Here is the lk.bin:
https://drive.google.com/file/d/1-ATD4aw5tQZHSWpvcM70qhdAcOYGCXKM/view?usp=drivesdk
Rortiz2;798[INDENT said:
[/INDENT]49897]Can you patch fastboot in my Alcatel A7 XL?? Please, it's disabled...
I can use mtk-su since is arm64 MT6750.
Here is the lk.bin:
https://drive.google.com/file/d/1-ATD4aw5tQZHSWpvcM70qhdAcOYGCXKM/view?usp=drivesdk
Click to expand...
Click to collapse
The issue will be this:
If I modify that in any way and you flash it
You will have a brick .
You can only flash modded images after you unlock the bootloader.
Best advice is to look for older or other copies of firmware from the manufacturer and hopefully one of those will allow you to get fastboot.
Anything not signed by manufacturer will brick u .
LgPWN'd said:
The issue will be this:
If I modify that in any way and you flash it
You will have a brick .
You can only flash modded images after you unlock the bootloader.
Best advice is to look for older or other copies of firmware from the manufacturer and hopefully one of those will allow you to get fastboot.
Anything not signed by manufacturer will brick u .
Click to expand...
Click to collapse
Ugh, so it will enter in a red state and it will refuse to boot...
So there's no any way?
PS: I can't find stock FW in any site...
LgPWN'd said:
@Sloogle_Flugelmann
Thanks for bringing that to my attention,
I been so busy developing for the tetra lately because no one seemed interested here.
If you go back and re-read OP,
I've added a fastboot fix zip with everything needed and instructions
the zip is for a windows user ,
for linux just replace the ./adb.exe with adb
in the commands issued to pc
Let me know if you need help.
Click to expand...
Click to collapse
LgPWN'd said:
It take a while to boot up
Did u try the backup/restore method?
It always takes mine a bit to boot up.
Click to expand...
Click to collapse
I left it for over 30 mins. I'll try the backup/restore method tonight.
UPDATE: The backup/restore method worked and I was able to get it booted. Thank you so much! This is awesome
What would u like to see for it next?
Sloogle_Flugelmann said:
Awesome! Thank you. Yeah I just got this phone as a secondary/backup phone and assumed nobody would even be interested in doing anything with this phone. Was kinda surprised to see any progress.
Also, I recommend using Wordpad because Notepad made it one long line of text
Click to expand...
Click to collapse
Ive got several other recoveries for it.
Going to start work on several other device specific
System images for it.
Open for suggestions
I've been intrested a while now!
NOTE: I do have fastboot now from your package
Are you able to upload a copy of the unlocked bootloader images? I currently can't use fastboot because it requires USB 2.0 rather than 3.0 (which is bs in my opinion). I just plan to flash the images and unlock without the data wipe. Thank you again for your work sir!!!!
You'll have to use fastboot to unlock bootloader.
TheExploitedOne said:
I've been intrested a while now!
NOTE: I do have fastboot now from your package
Are you able to upload a copy of the unlocked bootloader images? I currently can't use fastboot because it requires USB 2.0 rather than 3.0 (which is bs in my opinion). I just plan to flash the images and unlock without the data wipe. Thank you again for your work sir!!!!
Click to expand...
Click to collapse
No way around fastboot oem unlock....
But.
I've done it from another Android with a usbotg cable between the two

Categories

Resources