Alcatel TCL Flip 2 (T408DL)
ZZTEGuyLevel 3 - Gold Member
Biden2020prez There is a way to patch the tmobile and cricket variants' firrmwares through meta mode
he said it is easier to add apps on those variants, so maybe he did that
ZZTEGuyLevel 3 - Gold Member
I got this phone it seems to be a really solid phone, and also no lag time!
EEnriqueMcquadeLevel 3 - Gold Member
- Edited
And also, I found source code for the 4058W variant which is available on sourceforge. [Login to see the link]
ZZTEGuyLevel 3 - Gold Member
that's the tmobile version?
EEnriqueMcquadeLevel 3 - Gold Member
Yes.
NneutronscottLevel 5 - Gold Elite Member
If a modified boot.img runs, sounds like we're at the home stretch. If adb_debug.prop exist, it should be loaded if we create /force_debuggable in the boot.img ramdisk. This should run adb as root and get us started. Or maybe even just changing cmdline from "buildvariant=user" to "buildvariant=eng"
I couldn't find a new T408DL locally so I purchased online last night. Will be a few days for me to join back in the fun.
EEnriqueMcquadeLevel 3 - Gold Member
ZZTEGuyLevel 3 - Gold Member
EnriqueMcquade So does the modified boot image run?
EEnriqueMcquadeLevel 3 - Gold Member
- Edited
Yes, it worked on my flip phone without any problems but problem is, when I attempted to use su on the adb shell, it gave me a "Permission denied" error. I suspect that it's because of the operating system's file system restrictions.
yetiLevel 3 - Gold Member
it's suspected that the su binary is denied because the magisk app isn't installed.
usually in a case of running su from adb shell, the magisk app will launch a prompt asking you to confirm su access for the shell application. Essentially, the device is rooted, but until we have some kind of write permission to the system, or can in some other way disable the app install block.
I've been experimenting with magisk's Root Directory Overlay System to achieve this but haven't found much success.
I've also played around with what neutronscott was talking about, but the image fails to boot on my device when the cmdline is set to eng.
EEnriqueMcquadeLevel 3 - Gold Member
yeti So to have the su binary running, the Magisk app must be installed?
ZZTEGuyLevel 3 - Gold Member
lgexalter1 Where is the source code for magisk?
darthLevel 6 - Platinum Elite Member
EEnriqueMcquadeLevel 3 - Gold Member
- Edited
Um, yes. But I don't have any problems flashing a patched image with an unlocked bootloader on my T408DL.
EEnriqueMcquadeLevel 3 - Gold Member
Yes
NneutronscottLevel 5 - Gold Elite Member
yeti Sorry I looked back at the code and it checks for "userdebug" not "eng"
Also Magisk comes with resetprop. [Login to see the link] can you use resetprop to set ro.vendor.tct.endurance to true or ro.build.type to userdebug
EEnriqueMcquadeLevel 3 - Gold Member
Probably I've tried to use this feature and it does nothing to me.
EEnriqueMcquadeLevel 3 - Gold Member
I'm kind of confused right now.