yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Rortiz2:
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
[Miscellaneous Android Development] LgPWN'd:
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 .
[Miscellaneous Android Development] Rortiz2:
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...
[Miscellaneous Android Development] Sloogle_Flugelmann:
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
[Miscellaneous Android Development] LgPWN'd:
What would u like to see for it next?

Ive got several other recoveries for it.

Going to start work on several other device specific

System images for it.

Open for suggestions
[Miscellaneous Android Development] TheExploitedOne:
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!!!!
[Miscellaneous Android Development] LgPWN'd:
You'll have to use fastboot to unlock bootloader.

No way around fastboot oem unlock....

But.

I've done it from another Android with a usbotg cable between the two
[Miscellaneous Android Development] TheExploitedOne:
I'll try that out because the PC sees it as an ADB device, but not a fastboot device.. I tried to figure out what could work but seems a USB 2.0 port is needed. If I do find access to a PC with a 2.0 port I'll even try that because I really want to finally root this thing fully lol

Thank you again I truly appreciate the fact I even have fastboot access now with this phone after achieving root access
[Miscellaneous Android Development] LgPWN'd:
Here ya go

The first links are bad but halfway through the thread is a working mirror

Just did this the other day in fact

https://xdaforums.com/showthread.php?t=2586472
[Miscellaneous Android Development] TheExploitedOne:
Will do I'll see if I have a proper OTG cable for both phones to use ADB. If not I'll get around it one way or another like I always do. I look forward to seeing LinageOS 16 on this device it would run a lot smoother than this stock OS does
[Miscellaneous Android Development] LgPWN'd:
It's better

Yeah Los is definitely better.

and for an OTG cord you can always make one out of several Android data/charger cables
[Miscellaneous Android Development] TheExploitedOne:
What all is needed to create one? I may have the stuff for it (I hope)
[Miscellaneous Android Development] LgPWN'd:
here's a tut for a true diy otg cable

https://www.androidcentral.com/weekend-project-diy-usb-go-old-cables

but instead of a usb extention cable just use two android data cables...

NOTE the pins 4 and 5 have to be connected...
[Miscellaneous Android Development] TheExploitedOne:
Sounds good! Thank you good sir! I'll let you know how it goes
[Miscellaneous Android Development] TheExploitedOne:
Unessery for this thread.
[Miscellaneous Android Development] LgPWN'd:
As I've said before,

If you flash a modified lk to any device with locked bootloader ...

Via DD for example.

You will have a paper weight.

Your only option In Such case is to find an older and hopefully working lk from older release of stock firmware .

I mean I'd be glad to patch anything to help someone out....

But I'm not going to knowingly hand out a brick maker

Hopefully this explains it well enough

And I'd prefer if we can stay on the topic of

Alcatel idealXTRA 5059r and or my twrp & ROM.

Thanks for visiting our thread.
[Miscellaneous Android Development] LgPWN'd:
[MENTION=10022941]TheExploitedOne[/MENTION]

Just noticed that the link to the ADB/ fastboot phone to phone thing was missing...

I fixed it...

https://xdaforums.com/showpost.php?p=79869069&postcount=22
[Miscellaneous Android Development] TheExploitedOne:
[MENTION=9688970]LgPWN'd[/MENTION] Thank you good sir! I have the package with the system and recovery but haven't been able to unlock the bootloader just yet. I'll be ordering those OTG cables and use my Note 8 to run ADB (my Note 8 has a broken screen and no longer is my daily driver)
[Miscellaneous Android Development] LgPWN'd:
Too bad u can't do it at the library....

But yeah .

Or u might consider a USB hub ...

Just a thought
[Miscellaneous Android Development] TheExploitedOne:
That's actually a good idea I'm gonna go try that since I do have one. That will save a heck of a lot of time
[Miscellaneous Android Development] TheExploitedOne:
Seemed to work like a charm! I officially have it unlocked!!!
[Miscellaneous Android Development] LgPWN'd:
Sweet !!!!

I'm glad that worked out and glad u shared it here just in case someone else has that usb3.0 vs fastboot issue.

I am working on a new ( not available anywhere else)

GSI.

It's going to be an arm-aonly-vanilla-nosu-eng-debug

And it's the only arm version of AOKP.

It's pie.

And added the latest parts of AOSP r45

Couldn't find the ROM I wanted so, I said WTH I'll build it myself.

It's probably going to have some issues...

Encryption stuff for sure.

(I removed some of it from the source )

Possibly Bluetooth broken... Got some warnings from compiler.

And wouldn't recommend using it on anything qcom

IE: msm8909

As I purposely removed a lot of Qualcomm stuff since

I'm developing for MTK devices atm.

And the qcom stuff was breaking the build.

And I don't give 2 ****z if it works for joe-user-abuser on his Moto / obscure Chinese whatever phone .

All I care about is getting it running on my device.

I'm actually developing it for the Tetra.

But most anything so far that works on tetra works on this device.

Tetra codename = u50a_att

This devices code name= u50a_plus_att

So essentially it's the same but a little different...

Anyhow if/when it ever finishes building. (Day 5 now)

I'll link to it here

Also I have several new recovery builds for this device.

I need to clean up the .fstab a little before releasing them .

But coming soon to your 5059r.....

Fanfare here....

PitchBlack recovery with the extras.

And

Redwolf recovery.

And if I remember correctly...

ADB works out of the box in recovery with these.

Where it didn't with my original twrp build.

I've also got a build I made of orange fox ...

But I'm keeping that one to myself for now as it's my favorite ? and I like to be different.

But never know.

I may release it too in the future.

I'm even thinking about a port of MIUI

Those two are made for each other lol literally.

Anyway if I go to sleep now I can get 3.5 hours b4 I gotta wake back up so....

I'll keep this up to date as much as possible.

Enjoy the fastboot and GSI and stuff. ?
[Miscellaneous Android Development] TheExploitedOne:
I was wondering how the h*** you manage to get Fastboot on this phone lol I was looking through the bootloader sources before I found this thread to find a way to switch a lock bit or modify It to be "unlocked". I look forward to seeing what comes from this device now that it's been set free

---------- Post added at 05:09 PM ---------- Previous post was at 04:39 PM ----------

I also noticed with Alcatel devices when you use Fastboot you type: Fastboot -i 0x1bbb devices it will show the device in Fastboot. This may be why mine didn't work with the PC at first? It did show up as "Mediatek AP port (COM4) in Windows at the Library but normal Fastboot commands without the "-i 0x1bbb" part didn't seem to work

This is just an idea for 3.0 or just these phones bootloader's are made to support his as a security measure
[Miscellaneous Android Development] TheExploitedOne:
So I managed to get the library PC to FINALLY see my phone in Fastboot mode. I was able to finally flash some custom images I made and now I can finally be happy lol

Time to escape this OS and go get LineageOS going

Thank you for all that you have done for us

Do note after you unlock the bootloader and go though the setup again the Bluetooth app or similar fails so just keep that in mind
[Miscellaneous Android Development] TheExploitedOne:
I seem to have trouble using LineageOS without having force encryption enabled. When ever I do anything to disable it /data don't get mounted at all even if I format it. I might just have to restore /vendor from the package backup and leave it at that..

Another side note is Magisk 19+ does not work from what I see. When you type 'su' in the terminal it just hangs and apps can't ask for root. For this phone 18.1 has always worked for me

EDIT: whoops my bad I fixed it lol
[Miscellaneous Android Development] LgPWN'd:
Forced encryption

Yeah the forced encryption is a pain so I disable it in /vendor/mt6739.fstab.

Magisk has issues on all pie ROMs atm.

FYI there's a work around.

Something to do with copying some library-file out of vendor back to system.

Can't remember the link....

But if u Google it u should be able to find the fix in issues at GitHub.

For myself...

I prefer superSU

Or the add-on su made for los

The fastboot thing is weird...

I never got it to work on windows....

But I triple boot... So I prefer linux.

I thought windows was missing a driver or something and I hate windows anyways so why bother...

It works great in linux.

Even was able to use fastboot compiled for arm

And an OTG cable to do it without a PC.

In several recoverys I had a bug where format data didn't work.... Gave errors.

As workaround I'd issue

adb shell

mkfs.f2fs /dev/block/platform/bootdevice/by-name/userdata

And then reboot to recovery....

What did u do to make the windows work with fastboot?

Was it just the code u mentioned earlier?

Looks like u told it the device vendor I'd .....

My stupid GSI errors out at 99% 2 days in a row now...

What a pain. ?
[Miscellaneous Android Development] LgPWN'd:
Recovery

Also I'll get those recoverys up today.
[Miscellaneous Android Development] TheExploitedOne:
I can't seem to find anything for a work around for Magisk if that's what really is causing apps to to gain root access. It just hangs when I type 'su' and just sits there. Apparently SuperSU only supports 8.1 and below or I'd give that a shot but Magisk seems to be my only option... before I unlocked my bootloader 18.1 worked fine since I used mtk-su as my springboard. Now with a patched boot it causes everything to hang if it tries to request root. I tried the fstab method too for the data decryption but doesn't seem to mount /data properly even after I format and copy the new fstab.. the phone takes a lot longer to boot or seems to be in a bootloop or it just takes a while? With encryption enabled it boots real fast and encrypts too.. I may try again later and just try to let this device boot if it works
[Miscellaneous Android Development] LgPWN'd:
Ok found it for you...

FYI I hate magisk I'm using LOS rooted with Los Addonsu-16

But this should help with magisk

ALSO, the forced encryption thing is easy to fix.

and this twrp sux, use the pbrp or redwolf...

the link is now at the very bottom of OP.

and when you follow link to that , the instructions and file to kill forced encryption is there too ;)

Hope this helps...

If not let me know, I'm working on a flashable zip that I'll call pre-root that gets the addon-su from LOS working.

just have to replicate the steps i previously took on my on device and script it into a zip...

that's coming soon.

EDIT:

NOTE:

to format data do so manually from terminal or with adb from recovery...

mkfs.f2fs /dev/block/platform/bootdevice/by-name/userdata

Also do that before flashing root,

use the fstab I uploaded... to replace yours.

and remember to reboot to recovery once after format before flashing ANYTHING...
[Miscellaneous Android Development] LgPWN'd:
You can be the tester for this...

This should fix magisk and also disable forced encryption.

be sure wipe cache and dalvik and reboot to recovery b4 trying to flash anything else such as magisk...

https://drive.google.com/open?id=1LbklEl7bxXDx8w_Yq1jSw-YRGJ1mipJV
[Miscellaneous Android Development] TheExploitedOne:
Thank you! I'll see if this fixes the issue and let you know how everything goes. This device is a tad harder to break free from encryption but we got this

This looks like it will do the trick boss! I checked the fstab and looks good even though it will fail to verify since dm-verity is removed. I'll let you know how it goes

(Fixed the updater script errors) I got everything flashed and now we see if it boots

EDIT: HOLY MOTHERF***** IT FREAKING BOOTS!!!!! WE HAVE SUCCESS MY MAN!!!! Also be aware that first boot and every reboot is a bit longer than normal but is absolutely worth it and Magisk works!!!
[Miscellaneous Android Development] LgPWN'd:
Updater script error?

Did u change something in the zip?

If so and it's now working.

Let me know what u changed so I can fix it here also.

We want everyone to enjoy it ?
[Miscellaneous Android Development] TheExploitedOne:
I just removed some parts like sleep, set_progress, and added proper spacing when using run_program

An example is: run_program("/sbin/busybox", "rm", "-rf" , "/vendor/etc/fstab.mt6739");

Don't make "rm","-rf" or other quotes that need spacing close together as this causes a status 6 error in TWRP

And ui_print must be: ui_print("<message here>"); rather than ui_print ("<message here>);

After flashing everything I reccomend you use Battery Calabration (ROOT) to fix invalid battery stats too

If anyone needs help feel free to ask :)

---------- Post added at 05:55 PM ---------- Previous post was at 05:43 PM ----------

I look forward to testing... is the current TWRP of this device the latest version? If not that's okay I was just wondering
[Miscellaneous Android Development] LgPWN'd:
the twrp was 3.3.1-0 I think...

Haven't used it in a month or so, the PBRP and REDWOLF are better.

And thanks for the help with the scripting... trying to do it on a phone keyboard was killing me...

Im on the desktop now.

I'll fix it up then reload and add it to the OP

with credits to U for contributing

:good:
[Miscellaneous Android Development] TheExploitedOne:
Anything to help a fellow developer :) trying to type out anything on a small phone is just not easy lol
[Miscellaneous Android Development] LgPWN'd:
Sweet I gotter all cleaned up,

added to the end of OP

listed you for credits&kudo's
[Miscellaneous Android Development] TheExploitedOne:
Heck yes! You may need to fix the mount part though that's the only part that needs the proper spacing but everything else is perfect
[Miscellaneous Android Development] TheExploitedOne:
Decided to create a semi-custom kernel and just modify the ramdisk to how I like and made it possible to use ADB while the phone is off and charging. It allows to use a root shell and reboot to different modes or service the system. I don't plan to make this very public since that's a security issue

Just PM me for a link and I'll send it as soon as I see your PM
[Miscellaneous Android Development] LgPWN'd:
Done

PM sent
[Miscellaneous Android Development] Sloogle_Flugelmann:
I don't know what it is with this phone, but even on the LOS rom, the Uber Driver app always crashes immediately. This is the only phone I have had this issue with and I assumed it was the stock ROM, but I guess it's maybe a kernel issue or something.
[Miscellaneous Android Development] evaporic:
Thank you for making this happen!

I could not get wifi to work with option 1. Only option 2 seems to work.
[Miscellaneous Android Development] evaporic:
Option 2 seems more reliable
[Miscellaneous Android Development] AScri:
Thanks for great guide.
[Miscellaneous Android Development] TheExploitedOne:
The new OS WiFi will work
[Miscellaneous Android Development] engguh:
thanks

woow. thanks sir
[Miscellaneous Android Development] Christopher impson:
Please send the link
[Miscellaneous Android Development] Kawakigachi:
Hello, guys! Nice meet to you! I have one smartphone, someone helps me? I have unlocked OEM, but... Now I have stock boot and recovery, that I was tested using fastboot... (fastboot flash boot and fastboot flash recovery) and now the partition is not allowed, why? And my friend was tested new TWRP in my device? Same, the partition is not allowed, show... I don't know what happened?

I did backup the stock ROM using SpFlashTool V5.1828. All done. But I have one Stock boot. I using Magisk_Patched.img (Magisk Manager), if fastboot? Same the partition is not allowed again... If I am using SpFlashTool (click boot > magisk_patched.img) and click download. He is success, but happened! My phone was bricked! And now I back stock boot, it fine.

If TWRP? Fastboot doesn't work (the partition is not allowed) <--- fastboot flash recovery.. I am using SpFlashTool 5.1828 (click recovery) after click download, he is success, but happened! My phone was enter the recovery, show the black screen!

- "your device has failed verification and may not work properly"

- Your device has been unlocked and can't be trusted.

Now, I back stock recovery using SpFlashTool, it fine.

Someone helps me?

My device: Alcatel 5V

My Model: 5060D

My version: 8.1.0

My patch: 05-09-2019

My compilation: 01005

My country: Portugal

My CPU: MT6762 Helios P22

My RAM: 3GB

My ROM: 32GB

Thanks for answer us!

---------- Post added at 02:58 PM ---------- Previous post was at 02:58 PM ----------

Hello, guys! Nice meet to you! I have one smartphone, someone helps me? I have unlocked OEM, but... Now I have stock boot and recovery, that I was tested using fastboot... (fastboot flash boot and fastboot flash recovery) and now the partition is not allowed, why? And my friend was tested new TWRP in my device? Same, the partition is not allowed, show... I don't know what happened?

I did backup the stock ROM using SpFlashTool V5.1828. All done. But I have one Stock boot. I using Magisk_Patched.img (Magisk Manager), if fastboot? Same the partition is not allowed again... If I am using SpFlashTool (click boot > magisk_patched.img) and click download. He is success, but happened! My phone was bricked! And now I back stock boot, it fine.

If TWRP? Fastboot doesn't work (the partition is not allowed) <--- fastboot flash recovery.. I am using SpFlashTool 5.1828 (click recovery) after click download, he is success, but happened! My phone was enter the recovery, show the black screen!

- "your device has failed verification and may not work properly"

- Your device has been unlocked and can't be trusted.

Now, I back stock recovery using SpFlashTool, it fine.

Someone helps me?

My device: Alcatel 5V

My Model: 5060D

My version: 8.1.0

My patch: 05-09-2019

My compilation: 01005

My country: Portugal

My CPU: MT6762 Helios P22

My RAM: 3GB

My ROM: 32GB

Thanks for answer us!
[Miscellaneous Android Development] Sloogle_Flugelmann:
Does anyone have a TWRP backup of the stock rom? I stupidly didn't back mine up.
[Miscellaneous Android Development] Pureindica:
Wifi, com.android.phone, and Bluetooth keep crashing. I'm just trying to stop at magisk root. Installed magisk helper zip. any ideas?
[Miscellaneous Android Development] KittehCream:
Does VoLTE work for anyone else?

I just bought the Alcatel idealXTRA 5059r today after my Essential PH-1 seemed to crap out entirely. I cannot seem to get VoLTE to work properly after flashing this ROM but would be willing to work on fixing it if anyone else has the same problem.
[Miscellaneous Android Development] jhjhjhjhjhjh:
Followed root guide and Los install method 2

.

phone reboots to twrp all the timeHELP please

no stock firmware anywhere...

Did restore everything flashed successfully but after format data and wipe of partitions ..just bootloops back to twrp.

Anyone help me out please...

---------- Post added at 06:05 PM ---------- Previous post was at 05:10 PM ----------

Where is the stock Firmware for Alcatel 5059r.

Every site has the same link directed to the same page where u can't download the zip.. whyyyyyyyy?
[Miscellaneous Android Development] jhjhjhjhjhjh:
Won't flash error brom ox-ocooo6xxx ...tried almost everything. Now phone won't turn on anymore....

Waiste of time on this cheap device. No support for it...

Anyone Reading don't mess with this phone keep it stock or brick like mines.
[Miscellaneous Android Development] LgPWN'd:
Here ya go

As to those saying ,

"IT DONT WORK"

well that's because you Don't Follow Directions.

"For those of you Needing support for Alcatel Ideal XTRA "

You May come find me in my telegram group as I don't hang out at XDA much any more.

"For those asking about OTHER devices, other alcatel and other chipsets,"

Please come inquire in my support group

Anybody that has anything positive to contribute,

Join Us in our telegram Group.

https://t.me/Android_General_Chat
[Miscellaneous Android Development] TheExploitedOne:
I won't be releasing any links as my device is stuck in a bootloop and a locked bootloader with no way to get any restore tool to pick it up in download mode. I've moved on to other devices such as the Phoenix 4 and Zone 2 (by LG) for hacking and development. Check out the Zone 2 custom cwm thread to see a bootloader unlock for the Zone 2

---------- Post added at 10:05 PM ---------- Previous post was at 10:02 PM ----------

You need to follow directions better sweet heart ? I've seen this problem with everone flashing an incorect Phoenix 4 package that wasn't meant for that phone and they complaied about a brick
[Miscellaneous Android Development] CivicObligation:
I really appreciate all your hard work! I'm having a hell of a time getting Magisk root to take. I've followed your directions as best as possible. Unfortunately, they're a little scattered and difficult to follow. I get everything working following the Method 2 instructions with full Google functionality. However, that is with encryption and without root. Any possibility of rewriting this thread with detailed instructions in corresponding order?
[Miscellaneous Android Development] TheExploitedOne:
I may not be any help but try to restore everything and start over on method 2, but try an older Magisk package if your trying to flash a newer one. While in TWRP format /data again and check the fstab under the /data part and ensure it says "encryptable" and not "forceencrypt"

EDIT: /vendor/etc/fstab.cv1 is what you'll want to look at
[Miscellaneous Android Development] LgPWN'd:
https://t.me/Android_General_Chat

Have little to no time.

Any questions for myself go to my group on telegram
[Miscellaneous Android Development] LgPWN'd:
WTF are u talking about.

Ill post our private conversation if you want...

U gotta have me mistaken 4 someone else
[Miscellaneous Android Development] LgPWN'd:
[MENTION=2154886]moderator[/MENTION]

Please close this thread.

Im done here
[Miscellaneous Android Development] LgPWN'd:
[MENTION=3512220]Moderator Committee[/MENTION]

Can someone please close my thread here

Thanks
[Miscellaneous Android Development] LgPWN'd:
[MENTION=4062149]mattgyver[/MENTION]

Can you plz jut close this thread for me ?

Id like to leave it here for history but i wan it closed to further replies
[Samsung Galaxy A70 Questions & Answers] manus31:
Have been hearing mostly bad things about this device since it's release but just watched this review from Flossy Carter who says this is the best mid range phone out there.

I've been looking for a device that has all this phone has,

Interested to know your opinions,

Is this similar to your experiences ?

Link to review:

[youtube]BJjIjzg0SO0[/youtube]