Galaxy A6 plus 2018(A605F) Root? - Samsung Galaxy A6 Questions & Answers

Are there already a root method or do I need to wait a little more?

DKzVeNgEnS said:
Are there already a root method or do I need to wait a little more?
Click to expand...
Click to collapse
up for this

available twrp 3.2.1 & Root
https://romprovider.com/2018/07/sm-a605fn-root-twrp/

mark332 said:
available twrp 3.2.1 & Root
https://romprovider.com/2018/07/sm-a605fn-root-twrp/
Click to expand...
Click to collapse
that method too simple for 2018++ samsung phones, i don't think that will work/proper method.

Doesnt work at all
an-_-dro said:
that method too simple for 2018++ samsung phones, i don't think that will work/proper method.
Click to expand...
Click to collapse
not only that method dont work but also there is this thread
http s://w ww.cyanogenmods.org/forums/topic/twrp-root-galaxy-a6-plus-twrp-and-root-guide/
about flashing twrp for A6plus both threads provide img or tar files to be flashed on the phone and guess what??? when you try to flash them you get the uspport dev_type .
NOTE the serial number on the post is for an A6 phone not an A6 PLus
so my question is, is there an official twrp image that can be flashed on this model ???

ponto2002 said:
not only that method dont work but also there is this thread
http s://w ww.cyanogenmods.org/forums/topic/twrp-root-galaxy-a6-plus-twrp-and-root-guide/
about flashing twrp for A6plus both threads provide img or tar files to be flashed on the phone and guess what??? when you try to flash them you get the uspport dev_type .
NOTE the serial number on the post is for an A6 phone not an A6 PLus
so my question is, is there an official twrp image that can be flashed on this model ???
Click to expand...
Click to collapse
don't trust other site... for me it's better wait for a bit until here in xda or video from youtube. if only article and providing download link that's too dangerous.
can't wait to root,,and unlock the fully potential of this device. especially the batter...superb battery!!! SOT average always above 7 hours ++ with 2 days charging interval

an-_-dro said:
don't trust other site... for me it's better wait for a bit until here in xda or video from youtube. if only article and providing download link that's too dangerous.
can't wait to root,,and unlock the fully potential of this device. especially the batter...superb battery!!! SOT average always above 7 hours ++ with 2 days charging interval
Click to expand...
Click to collapse
well i took the risk and when i tried to flash TWRP i got the message unsport dev_type, just need anyone with the knowledge to compile twrp for this device

Sad
Hey guys !
Any news for A6+ rooting process ?
Thanks !

I have tried everything on my A605FN... nothing works...

SubGenius said:
I have tried everything on my A605FN... nothing works...
Click to expand...
Click to collapse
Please test the recovery image below. Compiled from latest source.
ODIN
https://androidfilehost.com/?fid=962187416754463924
TWRP
https://androidfilehost.com/?fid=11410963190603852329
Device must be OEM_UNLOCKED first. If this device supports RMM then the RMM patch will need to be applied before booting to Android.
.

ashyx said:
Please test the recovery image below. Compiled from latest source.
ODIN
https://androidfilehost.com/?fid=962187416754463924
TWRP
https://androidfilehost.com/?fid=11410963190603852329
.
Click to expand...
Click to collapse
Super, at least adb works on that build. Will try to export recovery.log and go into it.
Please, can you fix the font size in the next build, its tooooo small

nebkas said:
Super, at least adb works on that build. Will try to export recovery.log and go into it.
Please, can you fix the font size in the next build, its tooooo small
Click to expand...
Click to collapse
Can you post screen shots as well as the log?

ashyx said:
Can you post screen shots as well as the log?
Click to expand...
Click to collapse
here is the log

I had to use a macro lens for the screenshot :laugh:

nebkas said:
I had to use a macro lens for the screenshot :laugh:
Click to expand...
Click to collapse
Odd, log reports no issues with resolution. Correctly detected as 1080x2220.
Never seen this small font before.
Are all pages the same, how do the buttons appear?

I looked into ui.xml. its set there:
-<recovery>
-<details>
<resolution height="1200" width="1920"/>
---------- Post added at 00:21 ---------- Previous post was at 00:10 ----------
Picture upload on xda is broken now. will try it later or do you have something where to put them?

nebkas said:
I looked into ui.xml. its set there:
-<recovery>
-<details>
<resolution height="1200" width="1920"/>
---------- Post added at 00:21 ---------- Previous post was at 00:10 ----------
Picture upload on xda is broken now. will try it later or do you have something where to put them?
Click to expand...
Click to collapse
TWRP scales the resolution depending on what it detects from the framebuffer which is why we no longer need to use resolution flags. There are no longer set themes only portrait or landscape.
It seems the resolution has been correctly detected.
You can upload images below:
https://postimages.org

ashyx said:
TWRP scales the resolution depending on what it detects from the framebuffer which is why we no longer need to use resolution flags. There are no longer set themes only portrait or landscape.
It seems the resolution has been correctly detected.
You can upload images below:
https://postimages.org
Click to expand...
Click to collapse
and what is with the not working mount points? I tried to manually mount them, even edited the fstab like from original recovery, but didn't worked, still "invalid argument"
I never build a twrp by myself. But we could open a thred for it and I will support you do find the bugs etc.

nebkas said:
and what is with the not working mount points? I tried to manually mount them, even edited the fstab like from original recovery, but didn't worked, still "invalid argument"
I never build a twrp by myself. But we could open a thred for it and I will support you do find the bugs etc.
Click to expand...
Click to collapse
The UI is really messed up.
The mount issues are because your data partition is encrypted.
Twrp cannot decrypt Samsung encrypted partitions. You need to FORMAT (not wipe) the data partition to be able to mount it.
However unless the fstab is patched it will re-encrypt at boot.

ashyx said:
The UI is really messed up.
The mount issues are because your data partition is encrypted.
Twrp cannot decrypt Samsung encrypted partitions. You need to FORMAT (not wipe) the data partition to be able to mount it.
However unless the fstab is patched it will re-encrypt at boot.
Click to expand...
Click to collapse
Alright, will make a backup of my data partition and try out more.

Related

Development closed (Thread can be deleted)

Development closed
Development closed
Why not simply link to official twrp download link
And what insecure servers 0.0
Sent from my SM-G903F using Tapatalk
LastStandingDroid said:
Why not simply link to official twrp download link
Click to expand...
Click to collapse
I just created a complete package, so even the hardest noob can free his device.
In case you mean link TWRP in the Credits, of course I will do that.
Didn't think about that idea.
Thanks, mate.
LastStandingDroid said:
And what insecure servers 0.0
Click to expand...
Click to collapse
To get files from official samsung repository you need to have a decryption key and that algorithm is not that hard to keep us out. :laugh:
Уважением/Regards,
Out of Order said:
I just created a complete package, so even the hardest noob can free his device.
In case you mean link TWRP in the Credits, of course I will do that.
Didn't think about that idea.
Thanks, mate.
To get files from official samsung repository you need to have a decryption key and that algorithm is not that hard to keep us out.[emoji23]
Уважением/Regards,
Click to expand...
Click to collapse
Hmm what files you mean is there?
Sent from my SM-G903F using Tapatalk
LastStandingDroid said:
Hmm what files you mean is there?
Click to expand...
Click to collapse
The ROM Files of course.
Out of Order said:
The ROM Files of course.
Click to expand...
Click to collapse
So you're talking about the system images now or if wow have it "decrypted" can you link info in pm (if Web browsing link"
Because I simply don't it
Sent from my SM-G903F using Tapatalk
LastStandingDroid said:
So you're talking about the system images now or if wow have it "decrypted" can you link info in pm
Click to expand...
Click to collapse
It's not a web browser link, it's bit more complicated.
Every request needs a special generated samsung request token, and that's a little developer secret.
In reference to the decrypting I'm still stucking a little bit. I can extract it exactly bit to bit and modify the system.img files, thats not the point.
The point is to get the modified files back into a working .img file that can be integrated along with boot.img and all its components to a .tar.md5 file.
If you want, I upload you all of the extracted system files, maybe two brains are better than one.
But I am sure you are smart enough to get your system.img extracted by yourself, since you released your own custom ROM and a tutorial.
Уважением/Regards,
Out of Order said:
It's not a web browser link, it's bit more complicated.
Every request needs a special generated samsung request token, and that's a little developer secret.
In reference to the decrypting I'm still stucking a little bit. I can extract it exactly bit to bit and modify the system.img files, thats not the point.
The point is to get the modified files back into a working .img file that can be integrated along with boot.img and all its components to a .tar.md5 file.
If you want, I upload you all of the extracted system files, maybe two brains are better than one.
But I am sure you are smart enough to get your system.img extracted by yourself, since you released your own custom ROM and a tutorial.
Уважением/Regards,
Click to expand...
Click to collapse
Ah uhm well thats not the part I know about since none of my images will work
Sent from my SM-G903F using Tapatalk
LastStandingDroid said:
Ah uhm well thats not the part I know about since none of my images will work
Click to expand...
Click to collapse
Thought you released your APA3 debloated ROM. Doesn't it work?
If so, we're in the same ****ing boat. :laugh:
I tried all possible ways, from Windows Tools over Linux ext4 tools but none of them get the right bit size for the image to flash properly.
For god's sake, bljad*.
Anyways, if you made a way to solve this problem, let me know.
Same goes for me, if I do, I'll drop you a message.
Уважением/Regards,
*bljad is the russian equivalent to ****
Out of Order said:
Thought you released your APA3 debloated ROM. Doesn't it work?
If so, we're in the same ****ing boat.[emoji23]
I tried all possible ways, from Windows Tools over Linux ext4 tools but none of them get the right bit size for the image to flash properly.
For god's sake, bljad*.
Anyways, if you made a way to solve this problem, let me know.
Same goes for me, if I do, I'll drop you a message.
Уважением/Regards,
*bljad is the russian equivalent to ****
Click to expand...
Click to collapse
Uhm well there was a typo my images doesn't work with odin I don't know why. And It isn't really needed as long as we have twrp sure it be good if we can make a tar out of the modified images I know djemby created images for s4 which came pre rooted but again, that was due to cache modified files? Not sure if he ever touched system image
Sent from my SM-G903F using Tapatalk
I have downloaded package. I am waiting for my phone to charge to 100% and to start with tutorial
I hope that I will not F*** something up
WeberKG said:
I have downloaded package. I am waiting for my phone to charge to 100% and to start with tutorial
I hope that I will not F*** something up
Click to expand...
Click to collapse
You either do or you won't.
Worst thing is it won't boot. But eventually if done correctly.
Sent from my SM-G903F using Tapatalk
WeberKG said:
I hope that I will not F*** something up
Click to expand...
Click to collapse
I made it as newbie-proof as I can. :laugh:
If you need any further assistance, let me know with a post or a private message.
Уважением/Regards,
I did not knew about FAP lock. It gave me some troubles at the start... I am doing this for the first time on Samsung device.
I have done it all, except #12. I could not flash auto root. Dont know why...
WeberKG said:
I have done it all, except #12. I could not flash auto root. Dont know why...
Click to expand...
Click to collapse
Due to FAP Lock.
This happens if your device is brand new or while the first ROM flash, due to the stock disabled setting of OEM Unlock.
Resolve:
#1 - Add your Google Account to your new flashed ROM
#2 - Settings - About Device - Tap 7 times on build number to enable developer options.
#3 - Settings - Developer Options - Enable OEM Unlock - Enable USB Debugging.
#4 - Power Off - Remove Battery - Press Power a few times (to eliminate the rest electricity like on a pc)
#5 - Insert Battery - Boot into Download Mode - Continue with Step #12 (Rooting)
If you still have any trouble, let me know.
Уважением/Regards,
LastStandingDroid said:
Uhm well there was a typo my images doesn't work with odin I don't know why. And It isn't really needed as long as we have twrp sure it be good if we can make a tar out of the modified images I know djemby created images for s4 which came pre rooted but again, that was due to cache modified files? Not sure if he ever touched system image
Sent from my SM-G903F using Tapatalk
Click to expand...
Click to collapse
well dunno if it can help but i got this using sparsechunk2img:
number of sparse chunks is 3502
WILMANS2M said:
well dunno if it can help but i got this using sparsechunk2img:
number of sparse chunks is 3502
Click to expand...
Click to collapse
If I understand right, he's stucking with putting it back into working system.img.
Yep.
Envoyé de mon GT-I9505 en utilisant Tapatalk
I found a way how to repack it into system.img but I requires the file_contexts file.
Mine doesn't work I get a lot of line errors.
Maybe anyone has a solution.

MIUI 7 OFFICIAL MARSHMALLOW Released for Nexus 5!

Link
Gapps
Tools, Tips & Tutorials
Fredo2000 said:
Link
Gapps
Tools, Tips & Tutorials
Click to expand...
Click to collapse
What's the point of those two threads you created? There is already a thread for MIUI7 and things related to MIUI. And why a second thread for Gapps? Its exactly the same link as the link you provided here...
And MIUI7 for the Nexus 5 has been out for some time. I just don't understand why you made a thread for this, there is already one.
Mr.FREE_Bird said:
What's the point of those two threads you created? There is already a thread for MIUI7 and things related to MIUI. And why a second thread for Gapps? Its exactly the same link as the link you provided here...
And MIUI7 for the Nexus 5 has been out for some time. I just don't understand why you made a thread for this, there is already one.
Click to expand...
Click to collapse
Just thought it would be cleaner, the other thread is hard to follow
Fredo2000 said:
Just thought it would be cleaner, the other thread is hard to follow
Click to expand...
Click to collapse
Ah, Okey... well I think it won't really make a difference. Soon or later this will turn into the same thread. Probably turns into a "ask for help thread" because there are always some newbies asking for help who just don't search in the thread for the same questions. ( nothing wrong with newbies, don't get me wrong )
Is this the stable one or developer version?
Developer version.
Miui7 Marshmallow, Nexus 5.
someone already installed this miui7 Nexus 5 ?
eltonpestana said:
someone already installed this miui7 Nexus 5 ?
Click to expand...
Click to collapse
Yes I did and it runs pretty well for a Dev version, just give it a try if running into some small problems isn't a big issue for you.
It's good enough for a daily driver.
eltonpestana said:
someone already installed this miui7 Nexus 5 ?
Click to expand...
Click to collapse
Yes ! Work fine on my Nexus.
Miui7 Marshmallow, Nexus 5.
but reflash gapps everytime it updates, oh my....
Sent from my Nexus 5 using Tapatalk
Nexus 5 MIUI 6.3.31>
after install version 6.3.31 the NFC function disappeared from settings> more... menu.
Was asked about also in xiaomi.eu forum but w/o any answer will be readded or not.
Mr.FREE_Bird said:
Yes I did and it runs pretty well for a Dev version, just give it a try if running into some small problems isn't a big issue for you.
It's good enough for a daily driver.
Click to expand...
Click to collapse
Kikatdroid said:
Yes ! Work fine on my Nexus.
Miui7 Marshmallow, Nexus 5.
Click to expand...
Click to collapse
khanhlinh said:
but reflash gapps everytime it updates, oh my....
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
i cant install this rom with twrp 3.0.0.0, already tried cwm recovery 6.0.4.5 but the result is still the same. which recovery do you guys use?
the error is::
mount: no partition named "/dev/block/platform/msm_sdcc. 1/by-name/userdata"
target: Android/aosp_hammerhead_fp/hammerhead:6.0/MRA58K/6.4.21:user/release-keys
ivanferdino said:
i cant install this rom with twrp 3.0.0.0, already tried cwm recovery 6.0.4.5 but the result is still the same. which recovery do you guys use?
the error is::
mount: no partition named "/dev/block/platform/msm_sdcc. 1/by-name/userdata"
target: Android/aosp_hammerhead_fp/hammerhead:6.0/MRA58K/6.4.21:user/release-keys
Click to expand...
Click to collapse
Maybe flashing the factory image with fastboot will solve that partition problem. I used TWRP 3.0.2.0 to flash MIUI7. Don't forget to unmount the /system partition before you flash MIUI in TWRP, because if you leave /system mounted you will get an error. I hope this will help for you. (You can also try to wipe /data, /system, cache and dalvik-cache instead of flashing the factory image and flash MIUI7 with the /system partition umounted. If that doesn't solve your problem I suggest you to start clean with flashing the factory image and try again with my tips. Don't forget to make a backup of your important files because if you use the automatic flash process with the factory image it will wipe your whole internal storage.) Good luck :good:
No service/data after restart...?
Sent from my Nexus 5 using XDA-Developers mobile app
contakt
hove sonic google contact
ivanferdino said:
i cant install this rom with twrp 3.0.0.0, already tried cwm recovery 6.0.4.5 but the result is still the same. which recovery do you guys use?
the error is::
mount: no partition named "/dev/block/platform/msm_sdcc. 1/by-name/userdata"
target: Android/aosp_hammerhead_fp/hammerhead:6.0/MRA58K/6.4.21:user/release-keys
Click to expand...
Click to collapse
I do also have this error. When I rebooted after the installation. It just worked fine
Probably it is just some problem in the script. Let's see if MIUI will fix this
Btw, I recommended you to use RACER kernel with this rom. It is such a good combo
jeffreyvh said:
I do also have this error. When I rebooted after the installation. It just worked fine
Probably it is just some problem in the script. Let's see if MIUI will fix this
Btw, I recommended you to use RACER kernel with this rom. It is such a good combo
Click to expand...
Click to collapse
What TWRP are you using what version? Im on 3.0.0 too and keep getting error in zip
i cant install this rom with twrp 3.0.0.0, already tried cwm recovery 6.0.4.5 but the result is still the same. which recovery do you guys use?
the error is::
mount: no partition named "/dev/block/platform/msm_sdcc. 1/by-name/userdata"
target: Android/aosp_hammerhead_fp/hammerhead:6.0/MRA58K/6.4.21:user/release-keys
Click to expand...
Click to collapse
Same here, the installation eventually finishes after ~15mins but then phone gets stuck at google logo with TWRP claiming no OS is installed. I'm using TWRP 3.0.2.0, tried CWM 6.0.4.5 - same thing happens.
jeffreyvh said:
I do also have this error. When I rebooted after the installation. It just worked fine
Probably it is just some problem in the script. Let's see if MIUI will fix this
Btw, I recommended you to use RACER kernel with this rom. It is such a good combo
Click to expand...
Click to collapse
Youre right i get the no partition error too but if you wait long enough i also get script suceeeded
which is the best kernel for this rom which supports fast charge and good battery life..... pls suggest
---------- Post added at 05:11 AM ---------- Previous post was at 05:10 AM ----------
how can reduce the size of nav bar???

Any ToT file for disabling big cores?

Hello everyone.
Unfortunately my lg g4 bootlooped. And after extensive Google search, i see that most models have a tot file which disables big cores so u can run the phone on the small cores
Does the T-Mobile variant have such a tot file? if yes then can somebody give me the link? if no then can somebody create one using the following info?
Agimax said:
Why not just edit the files below for the two large cores (if you have root):
/sys/devices/system/cpu/cpu4/online (open file and change from a one to a zero)
/sys/devices/system/cpu/cpu5/online (open file and change from a one to a zero)
You could also just have the startup file do it (can modify the ripped system partition & put back on phone):
etc/dir/init.qcom.post_boot.sh (find your processor code - 8992 and add echo lines there with the rest of the cpu commands)
Click to expand...
Click to collapse
Please I'd be highly thankful if someone can help
XeniX_Force said:
Hello everyone.
Unfortunately my lg g4 bootlooped. And after extensive Google search, i see that most models have a tot file which disables big cores so u can run the phone on the small cores
Does the T-Mobile variant have such a tot file? if yes then can somebody give me the link? if no then can somebody create one using the following info?
Please I'd be highly thankful if someone can help
Click to expand...
Click to collapse
no such thing for any american variant
raptorddd said:
no such thing for any american variant
Click to expand...
Click to collapse
Cant someone with a working G4 crate one? i quoted a person who has given the way how to...
XeniX_Force said:
Cant someone with a working G4 crate one? i quoted a person who has given the way how to...
Click to expand...
Click to collapse
not sure . i cant...
sort of read this quickly does this help.? https://www.xda-developers.com/nexus-6p-bootloop-fix/
raptorddd said:
not sure . i cant...
sort of read this quickly does this help.? https://www.xda-developers.com/nexus-6p-bootloop-fix/
Click to expand...
Click to collapse
Well he also created modified boot images which disable the big cores. Can't someone create that for our device?
maybe @steadfasterX can
XeniX_Force said:
Well he also created modified boot images which disable the big cores. Can't someone create that for our device?
maybe @steadfasterX can
Click to expand...
Click to collapse
TWRP installed?
Then u could just modify the init file but I believe its too late. once bootlooping the run is over afaik.
.
steadfasterX said:
TWRP installed?
Then u could just modify the init file but I believe its too late. once bootlooping the run is over afaik.
.
Click to expand...
Click to collapse
yeah I'm bootlooped
Someone also fixed the Nexus 6 bootloop by creating modified images which disable the big cores.
Can't we(mostly you, you're the big dev) create a similar modified image that we can flash through LGUP?
XeniX_Force said:
yeah I'm bootlooped
Someone also fixed the Nexus 6 bootloop by creating modified images which disable the big cores.
Can't we(mostly you, you're the big dev) create a similar modified image that we can flash through LGUP?
Click to expand...
Click to collapse
you may have overseen it but I asked: TWRP installed?
and new question: bootloader unlocked?
I can't create TOT files
.
steadfasterX said:
you may have overseen it but I asked: TWRP installed?
and new question: bootloader unlocked?
I can't create TOT files
.
Click to expand...
Click to collapse
I'm bootlooped. can't reach anything except download mode
and yeah bootloader was unlocked.
oh you can't create tot files? aren't they just system images?
XeniX_Force said:
I'm bootlooped. can't reach anything except download mode
and yeah bootloader was unlocked.
oh you can't create tot files? aren't they just system images?
Click to expand...
Click to collapse
Afaik you need a box to create tot files.
Besides this I have never created any big core disabling but I know @the_naxhoo has.
if you can reach the download mode you could flash with the lglaf shell a modified boot image which is doing the job. If you do not have Linux get your copy of FWUL which has everything on board (like the lglaf shell).
The modded boot image has to disable the cores either by the cmdline or the sys echo or both. I saw that cmdline thing during my unlock attempts and think those are much better then the echo to sys..
Creating a kdz would be maybe possible
creating a TWRP zip for sure but I'm very very busy at the moment...
So just one more time (as still not answered.. ) do you had TWRP installed before the bootloop occurs?
...and If so what happens when you try to get into it?
.
Sent from my LG-H815 using XDA Labs
steadfasterX said:
Afaik you need a box to create tot files.
Besides this I have never created any big core disabling but I know @the_naxhoo has.
if you can reach the download mode you could flash with the lglaf shell a modified boot image which is doing the job. If you do not have Linux get your copy of FWUL which has everything on board (like the lglaf shell).
The modded boot image has to disable the cores either by the cmdline or the sys echo or both. I saw that cmdline thing during my unlock attempts and think those are much better then the echo to sys..
Creating a kdz would be maybe possible
creating a TWRP zip for sure but I'm very very busy at the moment...
So just one more time (as still not answered.. ) do you had TWRP installed before the bootloop occurs?
...and If so what happens when you try to get into it?
.
Click to expand...
Click to collapse
i had twrp but now when i try to access twrp i get to wipe everything screen which then hangs when I choose yes
yeah I can get FWUL but i need steps to know what to do....
I even asked @XCnathan32 who just fixed the Nexus 6p bootloop to have a look into our device maybe he can benefit from this information u just posted.
XeniX_Force said:
i had twrp but now when i try to access twrp i get to wipe everything screen which then hangs when I choose yes
yeah I can get FWUL but i need steps to know what to do....
I even asked @XCnathan32 who just fixed the Nexus 6p bootloop to have a look into our device maybe he can benefit from this information u just posted.
Click to expand...
Click to collapse
Cmdline is how I disabled the cores on the Nexus, the fix is easy to do on a boot.img, but LG uses the KDZ files, which use a totally different file structure, and I'm not sure if the LG flash tool has file checks, even on unlocked bootloaders. I will do some research and see what I can do. If anyone has any knowledge on modifying kdz files, please tell me.
XCnathan32 said:
Cmdline is how I disabled the cores on the Nexus, the fix is easy to do on a boot.img, but LG uses the KDZ files, which use a totally different file structure, and I'm not sure if the LG flash tool has file checks, even on unlocked bootloaders. I will do some research and see what I can do. If anyone has any knowledge on modifying kdz files, please tell me.
Click to expand...
Click to collapse
asked steadfasterx about kdz and his reply is as follows
steadfasterX said:
me too. never created KDZs yet but there are tools for it - afaik.
My first approach would have been to flash the boot image in the download mode with the lglaf shell (https://github.com/steadfasterX/lglaf/tree/g4) .
requires to do a flash of a modified boot image with dd on /dev/block/mmcblk0 with the correct seek ..
.
Click to expand...
Click to collapse
XCnathan32 said:
Cmdline is how I disabled the cores on the Nexus, the fix is easy to do on a boot.img, but LG uses the KDZ files, which use a totally different file structure, and I'm not sure if the LG flash tool has file checks, even on unlocked bootloaders. I will do some research and see what I can do. If anyone has any knowledge on modifying kdz files, please tell me.
Click to expand...
Click to collapse
you may take a look on this: https://forum.xda-developers.com/showthread.php?t=2179431
not sure if that works though.. (quite old)
.
steadfasterX said:
you may take a look on this: https://forum.xda-developers.com/showthread.php?t=2179431
not sure if that works though..
.
Click to expand...
Click to collapse
But cant we just create a modified boot img and twrp img and flash through lglaf. then flash a rom zip though twrp?
XeniX_Force said:
But cant we just create a modified boot img and twrp img and flash through lglaf. then flash a rom zip though twrp?
Click to expand...
Click to collapse
sure thats what I said before
.
steadfasterX said:
sure thats what I said before
.
Click to expand...
Click to collapse
can u provide a stock boot img for Nathan to edit?
XeniX_Force said:
can u provide a stock boot img for Nathan to edit?
Click to expand...
Click to collapse
sure what was your installed ROM and version? best would be a link to it as well..
.
steadfasterX said:
sure what was your installed ROM and version? best would be a link to it as well..
.
Click to expand...
Click to collapse
stock. i was using lineage but I returned to stock and got bootloop after some days.
XeniX_Force said:
stock. i was using lineage but I returned to stock and got bootloop after some days.
Click to expand...
Click to collapse
tell me the exact version. v10h, v10n, v20g, v20o .. there are dozens of versions out there..
.

Twrp for HTC ocl_ul 7.1 Final & 8.0 twrp 3.2.1-0

I have only tested on T-Mobile and us unlocked so flash at your own risk if u have a different device variant.
It was made for T-Mobile and us unlocked so I'm not sure if it would work on other variants.
Source will be updated in my github https://github.com/TWINNFAMOUS/android_device_htc_ocl/tree/android-7.1
MAJOR THANKS & CREDITS TO @Captain_Throwback @nkk71 for all the help with getting twrp working and decryption.
fastboot flash recovery recovery.img or what ever you name it.
Flashes images and zips and will take full backups.
Also is stock T-Mobile recovery.
I need a stock T-Mobile boot.img and system if anyone decides to send me one it would be appreciated.
Known bugs for twrp 3.2.1-0
Reboot to recovery does not work.
We need kernel source to fix so don't ask unless you know there's kernel source.
Make sure to report back ANY BUGS.
Link to Oreo compatible twrp 3.2.1-0
https://www.androidfilehost.com/?fid=11410963190603878155
Link to Nougat compatible twrp
https://www.androidfilehost.com/?fid=11410963190603878120
Link to stock T-Mobile recovery is broken
If u guys want to thank me make a thread where people can upload there stock imgs boot system and recovery with software numbers and get a little more active it is a HTC phone after all. And please hit the thanks button if I have helped you.
twinnfamous said:
I have only tested on T-Mobile and us unlocked so flash at your own risk if u have a different device variant.
It was made for T-Mobile and us unlocked so I'm not sure if it would work on other variants.
Source is in my github profile
fastboot flash recovery recoverytest.img
Flashes images and zips and will take full backups.
Also is stock T-Mobile recovery.
I need a stock T-Mobile boot.img and system if anyone decides to send me one it would be appreciated.
Make sure to report back
Link to twrp test. https://drive.google.com/file/d/1pRpcZ2E3EjaMliu8Gwga9LJvvyhWQvL9/view?usp=drivesdk
Link to stock T-Mobile recovery. https://drive.google.com/file/d/14uRTanDjkeeGkUwdGoJhgAICSGgfjbLq/view?usp=drivesdk
Click to expand...
Click to collapse
I thought you purchased the stock images from that website?..
dpryor88 said:
I thought you purchased the stock images from that website?..
Click to expand...
Click to collapse
They don't have T-Mobile version I got the stock recovery after I rooted.
twinnfamous said:
They don't have T-Mobile version I got the stock recovery after I rooted.
Click to expand...
Click to collapse
Ohhh
---------- Post added at 08:32 PM ---------- Previous post was at 08:22 PM ----------
twinnfamous said:
They don't have T-Mobile version I got the stock recovery after I rooted.
Click to expand...
Click to collapse
The test TWRP build on here works for me. Can't access SD card/data. Is that still a known issue or did I do something wrong when flashing? It took a few seconds to load TWRP when rebooting to recovery, then it asked for a password, where I just pushed Cancel. Then I swiped to allow modifications. No access to data though.
Thanks for this though dude! It's progress!
dpryor88 said:
Ohhh
---------- Post added at 08:32 PM ---------- Previous post was at 08:22 PM ----------
The test TWRP build on here works for me. Can't access SD card/data. Is that still a known issue or did I do something wrong when flashing? It took a few seconds to load TWRP when rebooting to recovery, then it asked for a password, where I just pushed Cancel. Then I swiped to allow modifications. No access to data though.
Thanks for this though dude! It's progress!
Click to expand...
Click to collapse
It won't unencrypt data. It did for me sometimes but not everytime and when I looked at the log it said my data partition was set to ext4 but said it was Emmc so I tried to change f.stab file and it still wouldn't unencrypt.
So I went to Twrp and in advanced format settings I clicked data partition and chose repair or change filesystem and changed from emmc to ext4 then it worked after it formatted. The only problem is now my secure boot doesn't work and Twrp never asks for a password. I wouldn't recommend doing what I did.
twinnfamous said:
It won't unencrypt data. It did for me sometimes but not everytime and when I looked at the log it said my data partition was set to ext4 but said it was Emmc so I tried to change f.stab file and it still wouldn't unencrypt.
So I went to Twrp and in advanced format settings I clicked data partition and chose repair or change filesystem and changed from emmc to ext4 then it worked after it formatted. The only problem is now my secure boot doesn't work and Twrp never asks for a password. I wouldn't recommend doing what I did.
Click to expand...
Click to collapse
Ok I'll hold off for now till things get worked out a bit.
twinnfamous said:
It won't unencrypt data. It did for me sometimes but not everytime and when I looked at the log it said my data partition was set to ext4 but said it was Emmc so I tried to change f.stab file and it still wouldn't unencrypt.
So I went to Twrp and in advanced format settings I clicked data partition and chose repair or change filesystem and changed from emmc to ext4 then it worked after it formatted. The only problem is now my secure boot doesn't work and Twrp never asks for a password. I wouldn't recommend doing what I did.
Click to expand...
Click to collapse
https://forum.xda-developers.com/z2-force/development/twrp-3-1-1-0-moto-z2-force-nash-t3687421
Check this out. They have twrp but it needs to be formatted first to enable encryption. I guess magisk doesn't do this but SuperSU does? Maybe you'll understand.
Hope this helps.
dpryor88 said:
https://forum.xda-developers.com/z2-force/development/twrp-3-1-1-0-moto-z2-force-nash-t3687421
Check this out. They have twrp but it needs to be formatted first to enable encryption. I guess magisk doesn't do this but SuperSU does? Maybe you'll understand.
Hope this helps.
Click to expand...
Click to collapse
I did the format data already and I use the same supersu that I use on my HTC 10 the only thing I had to do is flash back stock boot.img because su wouldn't patch the magisk one. Now we need some custom roms.
twinnfamous said:
I did the format data already and I use the same supersu that I use on my HTC 10 the only thing I had to do is flash back stock boot.img because su wouldn't patch the magisk one. Now we need some custom roms.
Click to expand...
Click to collapse
So how did you fix in the end?
So you have the stock boot.img after all?
dpryor88 said:
So how did you fix in the end?
So you have the stock boot.img after all?
Click to expand...
Click to collapse
I used the stock is unlocked boot image.
I posted it in the root thread
twinnfamous said:
I used the stock is unlocked boot image.
I posted it in the thread
Click to expand...
Click to collapse
Which thread? I only see stock recovery..
---------- Post added at 08:41 AM ---------- Previous post was at 08:19 AM ----------
twinnfamous said:
I used the stock is unlocked boot image.
I posted it in the root thread
Click to expand...
Click to collapse
I formatted and supersu'd. Now you're right, we need roms haha.
twinnfamous said:
I have only tested on T-Mobile and us unlocked so flash at your own risk if u have a different device variant.
It was made for T-Mobile and us unlocked so I'm not sure if it would work on other variants.
Source is in my github profile
fastboot flash recovery recoverytest.img
Flashes images and zips and will take full backups.
Also is stock T-Mobile recovery.
I need a stock T-Mobile boot.img and system if anyone decides to send me one it would be appreciated.
Make sure to report back
Link to twrp test2
https://drive.google.com/file/d/1Km7axvKZYImX_Qat7kV-iZQTJobvWlcP/view?usp=drivesdk
Link to stock T-Mobile recovery. https://drive.google.com/file/d/14uRTanDjkeeGkUwdGoJhgAICSGgfjbLq/view?usp=drivesdk
Click to expand...
Click to collapse
What's new in the version 2?
dpryor88 said:
What's new in the version 2?
Click to expand...
Click to collapse
hoping decryption works everything else works.
twinnfamous said:
hoping decryption works everything else works.
Click to expand...
Click to collapse
Nice I'll try it in a minute
---------- Post added at 03:46 AM ---------- Previous post was at 03:15 AM ----------
twinnfamous said:
hoping decryption works everything else works.
Click to expand...
Click to collapse
Any clue what the easiest way is to go back to my unformatted data? I formatted so I could see internal... Now I wanna go back if twrp will read internal now
Thanks.
twinnfamous said:
hoping decryption works everything else works.
Click to expand...
Click to collapse
Everything on test2 works for me. But I did already format my data before on the first build, so i can't really be the best review for this. But for me, all is working great. Thanks!
Gonna flash the final version here in a minute. I'll report back
Twrp working great for me...now I'm fully rooted...thanks alot for this✌
Sent from my HTC U11 life using XDA-Developers Legacy app
Lavell11 said:
Twrp working great for me...now I'm fully rooted...thanks alot for this✌
Click to expand...
Click to collapse
Make that two of us. Works great.
Lavell11 said:
Twrp working great for me...now I'm fully rooted...thanks alot for this
Sent from my HTC U11 life using XDA-Developers Legacy app
Click to expand...
Click to collapse
dpryor88 said:
Make that two of us. Works great.
Click to expand...
Click to collapse
I'm happy to now I can sleep tonight
twinnfamous said:
I'm happy to now I can sleep tonight
Click to expand...
Click to collapse
Get some ? bro..?
Sent from my HTC U11 life using XDA-Developers Legacy app

Project Treble

What about Treble support on this device? Is TWRP (or another custom recovery) avialiable? What wouldn't work in GSI?
This device is both treble and seamless update compatible/supported.
So how to run GSI firmwares on this device?
How to create /vendor, flash it and etc?
aaa.bbb111222 said:
So how to run GSI firmwares on this device?
How to create /vendor, flash it and etc?
Click to expand...
Click to collapse
Try out the official instructions from the XDA Treble thread, and report back. If it works, I'm sure we can get together a few people here and try to tweak the development further.
I had pixel experience running on it. Worked pretty well, except no aod, and vibrator didn't work.
suzook said:
I had pixel experience running on it. Worked pretty well, except no aod, and vibrator didn't work.
Click to expand...
Click to collapse
Could you give the steps on how you did it? is it just fastboot flash img? do we have to disable verity or something
suzook said:
I had pixel experience running on it. Worked pretty well, except no aod, and vibrator didn't work.
Click to expand...
Click to collapse
hi, may i know did you try phh aosp recent build? i try before and it bootloop.
atoyu said:
hi, may i know did you try phh aosp recent build? i try before and it bootloop.
Click to expand...
Click to collapse
1) You need a vbmeta.img from fastboot ROM.
2) Flash the vbmeta.img using the command, fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img, this is done to disable dm-verity to let the GSI boot.
3) Download the latest A/B GSI
4) Extract and flash the GSI using the command, fastboot flash system filename.img, replace filename with the name of the image.
suzook said:
1) You need a vbmeta.img from fastboot ROM.
2) Flash the vbmeta.img using the command, fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img, this is done to disable dm-verity to let the GSI boot.
3) Download the latest A/B GSI
4) Extract and flash the GSI using the command, fastboot flash system filename.img, replace filename with the name of the image.
Click to expand...
Click to collapse
Wow nice!
We should try to make a step by step thread in the ROMS forums to get more people to try out custom roms.
stealthj said:
Wow nice!
We should try to make a step by step thread in the ROMS forums to get more people to try out custom roms.
Click to expand...
Click to collapse
Just copy and paste my instructions.
I wish we had multi rom
---------- Post added at 06:57 PM ---------- Previous post was at 06:40 PM ----------
suzook said:
Just copy and paste my instructions.
Click to expand...
Click to collapse
Sounds good! I'll give credit where its due. Let me go ahead and try it out later on this week first.
So how was the rom running? Was it at full 120hz? Battery was ok?
stealthj said:
I wish we had multi rom
---------- Post added at 06:57 PM ---------- Previous post was at 06:40 PM ----------
Sounds good! I'll give credit where its due. Let me go ahead and try it out later on this week first.
So how was the rom running? Was it at full 120hz? Battery was ok?
Click to expand...
Click to collapse
Did it / does it work well? Any help going from full stock WW model to gsi?
I assume the unlock tool on https://www.asus.com/tw/Phone/ROG-Phone-II/HelpDesk_Download/ is universal WW/CN?
Please advise in eli5 detail.
@suzook
Thanks in advance
All sorted I will post a tutorial now
MANICX100 said:
All sorted I will post a tutorial now
Click to expand...
Click to collapse
Looking forward to this.
On a second note.
1. Does the official unlocking tool need internet to work i.e will forward IMEI and other identifiers to Asus.
2. Is there a way we can figure out how to unlock the bootloader without using the Asus official tool?
gorgorven said:
Looking forward to this.
On a second note.
1. Does the official unlocking tool need internet to work i.e will forward IMEI and other identifiers to Asus.
2. Is there a way we can figure out how to unlock the bootloader without using the Asus official tool?
Click to expand...
Click to collapse
1.) Yes, Internet is needed and yes it transmits the IMEI
2.) Not at this time
3.) My tutorial is live here: https://forum.xda-developers.com/rog-phone-2/how-to/guide-install-gsi-image-google-apps-t3998133
MANICX100 said:
1.) Yes, Internet is needed and yes it transmits the IMEI
2.) Not at this time
3.) My tutorial is live here: https://forum.xda-developers.com/rog-phone-2/how-to/guide-install-gsi-image-google-apps-t3998133
Click to expand...
Click to collapse
I checked out the link. Thanks for the guide and this reply.
If anyone knows of a forum thread trying to unlock without the official tool (haven't found a thread dedicated to this as of yet) or any resource threads which can help me learn and try it myself, please do point me in that direction.
Thanks again.
gorgorven said:
unlock without the official tool
Click to expand...
Click to collapse
I think that it's possible to reverse engineer way tool works using Something like apktool (if code is Java) or disassembler (if it's C/C++/etc).
Also, what about change IMEI to your old phone's one before using the tool and changing it back after that? (Any ID codes that device maybe are needed to be changed too)
aaa.bbb111222 said:
I think that it's possible to reverse engineer way tool works using Something like apktool (if code is Java) or disassembler (if it's C/C++/etc).
Also, what about change IMEI to your old phone's one before using the tool and changing it back after that? (Any ID codes that device maybe are needed to be changed too)
Click to expand...
Click to collapse
Even I believe that we should be able to do something, however my experience in this is modest at best. I am a nweeb.
Though the way I believe the official tool would work is.... And please correct me if am wrong...
1. It should send the IMEI no to the server.
2. The server sends a code to unlock the bootloader.
3. The tool unlocks the boot loader.
Now steps one and three can be reverse engineered. But unless step two is something like a MD5 hash of the IMEI etc, we might need to figure a way to do the unlocking in a new way.
I don't know if we even can change the IMEI without access to the root folder. I never had a phone since my Galaxy S2 which wasn't unlocked and rooted. I will do some research.
If anyone has any idea.... Kindly let us know.
Just curious - anyone here who tried GSI's stayed with them? I wonder how many bugs are there out of the box. There are some annoying bugs with recent WW ASUS software (like some SMS not being saved, but delivered to my wristband, touchscreen getting freezed with fingerprint unlock on after some phone locks) that really makes me wanna change that soft.
I do not care about gaming functions missing (like 60+Hz refresh rate, back LEDs).
Maczuga said:
Just curious - anyone here who tried GSI's stayed with them? I wonder how many bugs are there out of the box. There are some annoying bugs with recent WW ASUS software (like some SMS not being saved, but delivered to my wristband, touchscreen getting freezed with fingerprint unlock on after some phone locks) that really makes me wanna change that soft.
I do not care about gaming functions missing (like 60+Hz refresh rate, back LEDs).
Click to expand...
Click to collapse
I have stayed with phhussons GSI. As you say no 90/120Hz or back LED. Only other quirk is that apps think the fingerprint scanner is on the back , not in the screen. The fingerprint scanner still works, but makes it awkward to press 0 on your pin pad.
FYI: If you use the gapps build you can flash over an earlier months without losing any data!

Categories

Resources