What is the hexpatch for? - Magisk

I noticed that scripts/flash_script.sh contains the following hexpatch:
Code:
LD_LIBRARY_PATH=$SYSTEMLIB $BINDIR/bootimgtools --hexpatch $NEWBOOT \
49010054011440B93FA00F71E9000054010840B93FA00F7189000054001840B91FA00F7188010054 \
A1020054011440B93FA00F7140020054010840B93FA00F71E0010054001840B91FA00F7181010054
What is this for? A Google search found http://pastebin.com/61BjzWwu, but this still doesn't make the purpose clear. Git blame found me where @topjohnwu added it, but the commit message didn't explain it either.

I want know also, but looks like just a specific hack for Exynos Note 7, like LG's bump.
Enviado de meu SM-G900M usando Tapatalk

dcastro172 said:
I want know also, but looks like just a specific hack for Exynos Note 7, like LG's bump.
Enviado de meu SM-G900M usando Tapatalk
Click to expand...
Click to collapse
You're correct

What's the hack fixing, though? And is it still necessary given that the Note 7 is unsafe to use and recalled?

josephcsible said:
What's the hack fixing, though? And is it still necessary given that the Note 7 is unsafe to use and recalled?
Click to expand...
Click to collapse
I am aware this is off the topic, but I have to second @josephcsible. Please make sure your note 7 won't hurt you, your love ones or the sorry @SS who happens to be next to you when the phone... you know...

Related

[Q] 4ExtRecovery for our 4X HD?

Is there any way to get the 4ExtRecovery as an alternative to CWM on our phone?
I just read some threads and already used the search function, but nothing really useful came out, so I ask this here.
Or is it just possible if the bootloader is unlocked?
Thanks for the answers and sorry for my bad english!
Maybe after LG give us unlocked bootloader.
reas0n said:
Maybe after LG give us unlocked bootloader.
Click to expand...
Click to collapse
Okay thanks for your answer first!
So I conclude that we need the unlocked bootloader for it...
But why is CWM working with a locked bootloader then? Is it so much different?
I just saw it on the HTC Sensation of a friend and asked what this is, so he said its 4ExtRecovery and I researched it on myself...
...sent with my LG Optimus 4X HD...
Because that was one guy who was able to do it. We have few devs here, after jb update and unlocking bl this device will be more attractive so maybe u will get the recovery sometime
Okay, thanks! I hope so, too...
I would like to develop on my 4X too and I have still some experiences with java, but I think it won't help me on Android System
...sent with my LG Optimus 4X HD...
In fact it may be usefull somehow. I spent my last days free time reading and downloading basic stuff to work on porting and developing ROMs. So if this is your first attempt like to me in android and you'd like to share exp., just pm me and lets begin with it
Enviado desde mi LG-P880 usando Tapatalk
Honestly I don't think 4EXT will ever be availible, as it is closed source. So nobody can make an unofficial port (as with CWM or TWRP), and the dev doesn't plan to support our device.
muellersmattes said:
Honestly I don't think 4EXT will ever be availible, as it is closed source. So nobody can make an unofficial port (as with CWM or TWRP), and the dev doesn't plan to support our device.
Click to expand...
Click to collapse
Okay, didn't know that is closed source. Thanks for the information...
I will research it and will write on the dev why he doesn't plan to support our device (didn't read it anywhere, where are these information from?), I mean he even says that
The new 4EXT Recovery generation is necessary to properly support newer devices.
Click to expand...
Click to collapse
and our is a newer device I guess.
Norax said:
In fact it may be usefull somehow. I spent my last days free time reading and downloading basic stuff to work on porting and developing ROMs. So if this is your first attempt like to me in android and you'd like to share exp., just pm me and lets begin with it
Enviado desde mi LG-P880 usando Tapatalk
Click to expand...
Click to collapse
Okay, I think you will have a PM soon :good:
It's just the information I got from the website 4ext.net. The source isn't published anywhere there and also not in any forum here. And on the website he states that besides the newer HTC devices only the N4 would be supported.
If you can encourage him to let you work on a 4X por1 that would be nice. But as said, I doubt there will be one.
Gesendet von meinem Transformer mit Tapatalk 2
muellersmattes said:
It's just the information I got from the website 4ext.net. The source isn't published anywhere there and also not in any forum here. And on the website he states that besides the newer HTC devices only the N4 would be supported.
If you can encourage him to let you work on a 4X por1 that would be nice. But as said, I doubt there will be one.
Gesendet von meinem Transformer mit Tapatalk 2
Click to expand...
Click to collapse
Yeah I read it now, too ^^
...sent with my LG Optimus 4X HD...

[DONATE] Glamour S6/Edge ROM for N910F users

As title says, I would like to see at the moment if there is any interest in this amazing ROM to be ported on our devices (N910F)
I think everyone heard / seen the Glamour ROM for N910C/H/U ported by this amazing developer @henrylife
>>>HERE<<< is the link to see his amazing work and also you can see his work all over the internet / YouTube.
I was talking to @henrylife and he would be more than pleased to start working on this ROM and future development for N910F, but he doesn't own this device, so I think would be nice if we could donate a bit and reach the amount he needs to buy the N910F and start working on it.
If there is any interest in this to happen for us, please vote if you would like to donate and if the results are positive, will get in touch with @henrylife to setup a PayPal donation account and put it in this thread.
The S6 is Exynos, how would you move that framework onto the Snapdragon ? Impossible.
gekkehenkie11 said:
The S6 is Exynos, how would you move that framework onto the Snapdragon ? Impossible.
Click to expand...
Click to collapse
Actually There are already some s6 ports for n910f (snapdragon). There is echorom or myarom. It is not impossible...
Gesendet von meinem SM-G9250 mit Tapatalk
LegendSmoker said:
Actually There are already some s6 ports for n910f (snapdragon). There is echorom or myarom. It is not impossible...
Gesendet von meinem SM-G9250 mit Tapatalk
Click to expand...
Click to collapse
Do you have a link to those threads ? I'd like to see what they exactly did.
That glamourguy took the S6 framework + apps and put them onto the 910C. It's impossible to do that for an Exynos compiled framework and have that run on Snapdragon.
gekkehenkie11 said:
Do you have a link to those threads ? I'd like to see what they exactly did.
That glamourguy took the S6 framework + apps and put them onto the 910C. It's impossible to do that for an Exynos compiled framework and have that run on Snapdragon.
Click to expand...
Click to collapse
http://www.echoerom.com/thread/370-...-of2-echoepop-v9-multi-dpi-and-v8c-s6-edge-p/
LegendSmoker said:
http://www.echoerom.com/thread/370-...-of2-echoepop-v9-multi-dpi-and-v8c-s6-edge-p/
Click to expand...
Click to collapse
*EDIT* Hmmm actually ... the framework itself is JAVA, so platform independent. if the JNI part that interfaces with the native binaries works correctly with the 910F binaries, then I guess it might work ... So maybe it's not so impossible after all to port the *framework* In fact, I take back my words, it might be possible to get it going on 910F too
Another question does anyone use echoerom how is battery life or temperature of the phone ?
jizang said:
Another question does anyone use echoerom how is battery life or temperature of the phone ?
Click to expand...
Click to collapse
've tried the echoerom during 1 week, the last version obviously. Annnnnnd go back to stock, cuz of the very important over heating permanently. Battery life wasn't so good too.. but it could be worse. Well There were a lot of lags, and bugs ! it's an awesome work but, not for daily use
shadowsami4 said:
've tried the echoerom during 1 week, the last version obviously. Annnnnnd go back to stock, cuz of the very important over heating permanently. Battery life wasn't so good too.. but it could be worse. Well There were a lot of lags, and bugs ! it's an awesome work but, not for daily use
Click to expand...
Click to collapse
Hmm that's why we have so many dl maybe it's your device.
http://forum.xda-developers.com/showthread.php?p=60822842
roy72 said:
Hmm that's why we have so many dl maybe it's your device.
http://forum.xda-developers.com/showthread.php?p=60822842
Click to expand...
Click to collapse
I have a faulty CPU, which overheats over almost everything and our rom was the only thing, I could flash without rebooting every time. I flashed it in the freezer (Really) and my overheating issues are almost gone now.
shadowsami4 said:
've tried the echoerom during 1 week, the last version obviously. Annnnnnd go back to stock, cuz of the very important over heating permanently. Battery life wasn't so good too.. but it could be worse. Well There were a lot of lags, and bugs ! it's an awesome work but, not for daily use
Click to expand...
Click to collapse
Since you joined in april 2014 and only have 23 posts it should be a very good reference point for every user here in XDA
and if you have issues with the rom as such why don't you speak up at the EchoeForum if it's funded we are more then happy to find a solution for you.
For the OP if your friend can create such good roms for the N910F he should continue and let people test the rom for him.
and in the mean time save some money to buy the device himself.
that's just my 2 cents
The thing is. It is easier to speak up where you can make on big pants and the other person cant defend. As said in previous post. There is enough support available you just have to ask. I suggest you better stay on stock then you can complain to Samsung direct.
Gesendet von meinem SM-G925F mit Tapatalk
You speak negative of others work and post a link to there website which I thought was against xda rules is disrespectful. I have the N910T and run the port with an average of 5-6 hrs screen time and 1+ day battery life. All devices react differently you have to take time to set up the device to work best for your use, which obviously wasn't done by the user who reported the rom not a usable as a daily rom. I have been running it since v1 and currently running v3 and can tell you it's my dd.
jds3118 said:
You speak negative of others work and post a link to there website which I thought was against xda rules is disrespectful. I have the N910T and run the port with an average of 5-6 hrs screen time and 1+ day battery life. All devices react differently you have to take time to set up the device to work best for your use, which obviously wasn't done by the user who reported the rom not a usable as a daily rom. I have been running it since v1 and currently running v3 and can tell you it's my dd.
Click to expand...
Click to collapse
Thank you I will try it then on my device
hey slowly ! he asked a question, i ansewered him that's all, and it's not cuz i'm a 24 post memeber, that my opinion is useless ? right ?
i've tested many other roms and it's the only one wich makes my phone overheating. I've just told what must be told.
And I said respect to all the devs, i know it's a lot of work ! i'm not negative kay !! ?
shadowsami4 said:
hey slowly ! he asked a question, i ansewered him that's all, and it's not cuz i'm a 24 post memeber, that my opinion is useless ? right ?
i've tested many other roms and it's the only one wich makes my phone overheating. I've just told what must be told.
And I said respect to all the devs, i know it's a lot of work ! i'm not negative kay !! ?
Click to expand...
Click to collapse
Yes alo bugs on stock rom seriously [emoji1]
Guys one question I wanted to flash the s6 edge port but it is based on bod3 so I thought I had to flash the bl bod3 but in the instruction it says I have to flash the non-hlos.bin what is that ? Do I have to flash the bl or non-hlos? I know it's not the right section to ask this but as I know it is the only thread in note 4 right now which talks about this rom
jizang said:
Guys one question I wanted to flash the s6 edge port but it is based on bod3 so I thought I had to flash the bl bod3 but in the instruction it says I have to flash the non-hlos.bin what is that ? Do I have to flash the bl or non-hlos? I know it's not the right section to ask this but as I know it is the only thread in note 4 right now which talks about this rom
Click to expand...
Click to collapse
Just the non_hlos.bin bro
roy72 said:
Just the non_hlos.bin bro
Click to expand...
Click to collapse
Thanks man so it will work even though I am on pof2 and how do i flash it in odin do add it to ap?
sorry for asking so much questions but flashing non hlos is new for me and I'm just scared I'll brick my phone.
jizang said:
Thanks man so it will work even though I am on pof2 and how do i flash it in odin do add it to ap?
sorry for asking so much questions but flashing non hlos is new for me and I'm just scared I'll brick my phone.
Click to expand...
Click to collapse
CP is only place where you can insert .bin files in odin
Gesendet von meinem SM-G9250 mit Tapatalk

Android Oreo Mi A1 for 5X

Please, can someone convert this rom to Mi 5X?
https://forum.xda-developers.com/mi-a1/development/rom-aosp-oreo-tissot-t3719185
bandicout said:
Please, can someone convert this rom to Mi 5X?
https://forum.xda-developers.com/mi-a1/development/rom-aosp-oreo-tissot-t3719185
Click to expand...
Click to collapse
I want too:crying:
bandicout said:
Please, can someone convert this rom to Mi 5X?
https://forum.xda-developers.com/mi-a1/development/rom-aosp-oreo-tissot-t3719185
Click to expand...
Click to collapse
Just follow the instructions, you can use it in mi 5x using same procedure...
Arnab Sadhukhan said:
Just follow the instructions, you can use it in mi 5x using same procedure...
Click to expand...
Click to collapse
No, it doesn't work like that.
Probably a stupid question, but... Is it possible to change the partition table of Mi 5X into a Mi A1 partition table, in order to achieve A/B partition, and OTA update on Mi 5X?
I know there must be a reason that instead of doing this, the development of using A1 ROM on 5X went with the other route of porting the ROM, but... Is there something I should read to understand the issue better?
ccyg8774 said:
Probably a stupid question, but... Is it possible to change the partition table of Mi 5X into a Mi A1 partition table, in order to achieve A/B partition, and OTA update on Mi 5X?
I know there must be a reason that instead of doing this, the development of using A1 ROM on 5X went with the other route of porting the ROM, but... Is there something I should read to understand the issue better?
Click to expand...
Click to collapse
The biggest problem is that there is no way to debrick the 5X for now, so every screw up means having to RMA the phone. That means that while it's possible to repartition in some way or another, we still need to find a way.
I want too, plz stay tune for the post of @Aex12 update.
please also, please....

Custom ROM situation

Hi I open this discussion to deepen the theme of cooked ROM.
In particular, I wanted to know why a phone so equipped at the hardware level is not yet supported by developers As regards the software sector.
I really miss the lineage.
How come nothing still moves I can put to charge the phone
BYE BYE
westenlive said:
Hi I open this discussion to deepen the theme of cooked ROM.
In particular, I wanted to know why a phone so equipped at the hardware level is not yet supported by developers As regards the software sector.
I really miss the lineage.
How come nothing still moves I can put to charge the phone
BYE BYE
Click to expand...
Click to collapse
https://r.tapatalk.com/shareLink/to...5&share_fid=3793&share_type=t&link_source=app
Enviado desde mi RMX1931 mediante Tapatalk
https://forum.xda-developers.com/re...gsi-realme-t4036825/post81522239#post81522239
This tutorial works also on IN version or is only for CN version?
Thanks.
almmpt said:
This tutorial works also on IN version or is only for CN version?
Thanks.
Click to expand...
Click to collapse
it works for all versions

K20pro/Mi9TPro bricked. Need service/edl acc

Like the title said I just bought an K20pro/Mi9TPro who was bricked. Want to Unbrick it so I need a service or an edl account to do it. Found nothing who’s offert that. Willing to pay without problem
Envoyé de mon iPhone en utilisant Tapatalk
SePhIrOtX said:
Like the title said I just bought an K20pro/Mi9TPro who was bricked. Want to Unbrick it so I need a service or an edl account to do it. Found nothing who’s offert that. Willing to pay without problem
Envoyé de mon iPhone en utilisant Tapatalk
Click to expand...
Click to collapse
It seems harder to find someone to do this lately. However I do remember someone within the last 2 or 3 weeks suggesting anyone who needs edl flashing to PM them. Have a search back over the posts from March (don't think it was longer ago than that) about hard bricks and edl flashing, hopefully you'll come across the xda member who posted they can help.
Alright thanks will try to take a look at this
Yeah they seems harder to find today. Don’t know why
Envoyé de mon iPhone en utilisant Tapatalk
SePhIrOtX said:
Alright thanks will try to take a look at this
Yeah they seems harder to find today. Don’t know why
Envoyé de mon iPhone en utilisant Tapatalk
Click to expand...
Click to collapse
I was able to edl flash with my account, unbricked one device long time ago, after that i offer free edl flash in forum, so one guy contact me for edl and i find out that my acc is no longer authorized. Don't know is xiaomi removed my authorization or i have only one flash with edl. So maybe reason for finding edl authorized acc is harder bcs xiaomi removing those accounts. Even s-unlock site removed options for edl flash services don't know why.
SePhIrOtX said:
Like the title said I just bought an K20pro/Mi9TPro who was bricked. Want to Unbrick it so I need a service or an edl account to do it. Found nothing who’s offert that. Willing to pay without problem
Click to expand...
Click to collapse
i have the same problem. did you find anyone?
thanks
Dadovvv said:
I was able to edl flash with my account, unbricked one device long time ago, after that i offer free edl flash in forum, so one guy contact me for edl and i find out that my acc is no longer authorized. Don't know is xiaomi removed my authorization or i have only one flash with edl. So maybe reason for finding edl authorized acc is harder bcs xiaomi removing those accounts. Even s-unlock site removed options for edl flash services don't know why.
Click to expand...
Click to collapse
Probably an unpopular opinion but I'd say in the majority of cases Xiaomi is at fault and should therefore fix bricks; not be trying to prevent users from repairing them. Granted the user has taken actions to cause it but Xiaomi has made it notoriously easy to brick their handsets. There's zero region mismatch checks; their software defaults to lock (ergo, brick) - which makes no sense (why is a standard flash-all not default?). You could argue they've really set a lot of users up to brick their phones in this way. There's plenty of warnings when you unlock the bootloader and "are you sure?" but zero warnings for re-locking the bootloader; no checks, no warning messages; just a hasty lock. They've made sure EDL is locked down amid security concerns but it was created for this very purpose by Qualcomm so that phones would never become "brickable" - meanwhile Xiaomi has provided no alternative.
I think they know exactly what they're doing and it's kinda sickening.
droident said:
Probably an unpopular opinion but I'd say in the majority of cases Xiaomi is at fault and should therefore fix bricks; not be trying to prevent users from repairing them. Granted the user has taken actions to cause it but Xiaomi has made it notoriously easy to brick their handsets. There's zero region mismatch checks; their software defaults to lock (ergo, brick) - which makes no sense (why is a standard flash-all not default?). You could argue they've really set a lot of users up to brick their phones in this way. There's plenty of warnings when you unlock the bootloader and "are you sure?" but zero warnings for re-locking the bootloader; no checks, no warning messages; just a hasty lock. They've made sure EDL is locked down amid security concerns but it was created for this very purpose by Qualcomm so that phones would never become "brickable" - meanwhile Xiaomi has provided no alternative.
I think they know exactly what they're doing and it's kinda sickening.
Click to expand...
Click to collapse
Totally agreed with u, also i create back in time a similar thread on miforum of problems regarding miflash tool and bricked device.
I think only company were u can brick device using their official flashing tool. this is only possible on xiaomi.
Bricked Xiaomi Device https://c.mi.com/thread-2454950-1-0.html?t=1586425115526
koburn said:
i have the same problem. did you find anyone?
thanks
Click to expand...
Click to collapse
Open link above, u will find banned account comments
oh, sorry!!
it's a real problem now...
koburn said:
oh, sorry!!
it's a real problem now...
Click to expand...
Click to collapse
what is problem? did u find guy who offer edl from that link i posted?
No, sorry, you're right.
My terrible English made me misunderstand.
I look at the link.
Meanwhile I was trying to flash a rom in edl mode, but it stops and says "getvar anti 2> 1", what does that mean?
Dadovvv said:
what is problem? did u find guy who offer edl from that link i posted?
Click to expand...
Click to collapse
sorry, but what link?
koburn said:
sorry, but what link?
Click to expand...
Click to collapse
link for what u need
Found someone who does mine at 40 usd. Done a real good job. Now I fixed the phone that I bought for 130 CND. Good profits on this

Categories

Resources