[Q] N00B Issue: Rooting Question - Asus Transformer TF700

My issue seems to be pretty straight forward and simple, but I've not been able to find an answer here at XDA.
I have a TF700T which I've just unlocked and would now like to root and install a custom ROM. The problem is that I don't have a Windows or Mac to work with, I have a Linux laptop.
So I'm having trouble figuring out how to root using my linux laptop, and could use some guidance please.

Yehudah said:
My issue seems to be pretty straight forward and simple, but I've not been able to find an answer here at XDA.
I have a TF700T which I've just unlocked and would now like to root and install a custom ROM. The problem is that I don't have a Windows or Mac to work with, I have a Linux laptop.
Click to expand...
Click to collapse
That's not a problem at all (it's a blessing ).
To install a custom ROM, you first need to unlock your bootloader using the app from Asus. Then you can proceed with installing the Android SDK on your PC (or at least the fastboot and adb binaries) and use fastboot to install a custom recovery, then the recovery to install a custom ROM. No need at all to root your tablet first.

_that said:
That's not a problem at all (it's a blessing ).
To install a custom ROM, you first need to unlock your bootloader using the app from Asus. Then you can proceed with installing the Android SDK on your PC (or at least the fastboot and adb binaries) and use fastboot to install a custom recovery, then the recovery to install a custom ROM. No need at all to root your tablet first.
Click to expand...
Click to collapse
So I unlocked the tablet with the Asus utility and it worked fine.
So all I have to do now is use the Android SDK (fastboot) and install TWRP, then install a ROM from there? Fantastic. Where do I find an Android SDK that works on Linux?
...feel totally lost sometimes. Sorry for the seriously noobish question(s).

Right here: http://developer.android.com/sdk/index.html
or, if your Linux distro supports it, you can just issue this command:
Code:
sudo apt-get install android-tools-fastboot

berndblb said:
Right here: http://developer.android.com/sdk/index.html
or, if your Linux distro supports it, you can just issue this command:
Code:
sudo apt-get install android-tools-fastboot
Click to expand...
Click to collapse
Thanks so much!

_that said:
Then you can proceed with installing the Android SDK on your PC (or at least the fastboot and adb binaries)
Click to expand...
Click to collapse
Should it be a dll file instead of binaries?

LetMeKnow said:
Should it be a dll file instead of binaries?
Click to expand...
Click to collapse
DLLs on Linux?

_that said:
DLLs on Linux?
Click to expand...
Click to collapse
Windowerrr, I guess...

Related

[Q] Fastboot problems using Ubuntu 13.04

So I can get Fastboot to work in Windows with no problem but when I try to do the same thing in Ubuntu fastboot doesn't register at all. It just gets stuck on the "waiting for device" message yet adb works great. Any similars or solutions?
Just curious, what do you need fastboot in Linux for?
As for why it's not working, stupid question - the device is in fastboot mode, yes? Also, when you do "lsusb" before and after plugging in the device, do you notice a difference?
arrrghhh said:
Just curious, what do you need fastboot in Linux for?
As for why it's not working, stupid question - the device is in fastboot mode, yes? Also, when you do "lsusb" before and after plugging in the device, do you notice a difference?
Click to expand...
Click to collapse
Well I was upgrading my TWRP from 2.5.0.0 to the 2.6.3.0 and found that using fastboot for me seemed to be the easiest method of doing that. So I tried it in Linux first that being my prefered OS. I would rather not have to use Windows for anything if I can help it. I haven't tried the "lsusb" thing. I'll give that a shot and see what happens. And yes this is after I have done 'adb reboot bootloader' and then I switch to the Fastboot commands.
b3bluesman said:
Well I was upgrading my TWRP from 2.5.0.0 to the 2.6.3.0 and found that using fastboot for me seemed to be the easiest method of doing that. So I tried it in Linux first that being my prefered OS. I would rather not have to use Windows for anything if I can help it. I haven't tried the "lsusb" thing. I'll give that a shot and see what happens. And yes this is after I have done 'adb reboot bootloader' and then I switch to the Fastboot commands.
Click to expand...
Click to collapse
Interesting. OK, no worries mate I actually forgot about that use case! It sounds like you are doing everything correctly.
I have used fastboot on my Q on Linux in the past. Just curious, are you using the packaged versions of adb/fastboot in Ubuntu?
arrrghhh said:
Interesting. OK, no worries mate I actually forgot about that use case! It sounds like you are doing everything correctly.
I have used fastboot on my Q on Linux in the past. Just curious, are you using the packaged versions of adb/fastboot in Ubuntu?
Click to expand...
Click to collapse
I am using the adb/fastboot that came with the Android SDK bundle for Linux if that's what you mean.
b3bluesman said:
I am using the adb/fastboot that came with the Android SDK bundle for Linux if that's what you mean.
Click to expand...
Click to collapse
Hm. Have you tried the one from the repo's? Ubuntu provides a package.
arrrghhh said:
Hm. Have you tried the one from the repo's? Ubuntu provides a package.
Click to expand...
Click to collapse
I have not! I didn't know that there was one actually. Can you provide me a link?
b3bluesman said:
I have not! I didn't know that there was one actually. Can you provide me a link?
Click to expand...
Click to collapse
You just apt-get install it
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
Post 12.10, you don't need to add any PPA's, should be part of the Ubuntu repo's.
arrrghhh said:
You just apt-get install it
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
Post 12.10, you don't need to add any PPA's, should be part of the Ubuntu repo's.
Click to expand...
Click to collapse
Fantastic!! Many thanks to you my friend!!!

Wiped N5 now NO OS! Have TWRP

Hello,
I meant to factory restore my rooted N5 and on the advanced TWRP option I chose wipe data. Now I have no OS. I'm not finding a guide on how to install the stock 4.4.2 onto my N5 using a Mac. Is there a process that shows how to do that exactly for a Mac?
thx,
Mark
Install windows on your mac using bootcamp or VMware. just use windows 7/8 trial.
Sent from my Nexus 5 using Tapatalk
+1 i think thts your best bet.. :good:
lesp4ul said:
Install windows on your mac using bootcamp or VMware. just use windows 7/8 trial.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
eodchn said:
+1 i think thts your best bet.. :good:
Click to expand...
Click to collapse
Yes, I have VMWare and Windows 7 installed. But, what is the process to get the stock rom back onto my phone? I've got TWRP and able to get into Bootloader mode.
s1w999 said:
Yes, I have VMWare and Windows 7 installed. But, what is the process to get the stock rom back onto my phone? I've got TWRP and able to get into Bootloader mode.
Click to expand...
Click to collapse
Look in the general section and at the top is the guide you need to get sorted, good luck and dont panic you haven't killed it.
You don't have to do all that just sideload a stock rom onto the phone
lesp4ul said:
Install windows on your mac using bootcamp or VMware. just use windows 7/8 trial.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Lol
Mac is fully supported by Android tools
Sent from my Nexus 5
Jables2915 said:
You don't have to do all that just sideload a stock rom onto the phone
Click to expand...
Click to collapse
Afaik know you can`t sideload a stock image, only flash in fastboot. Correct me if i`am wrong though. OP can sideload a custom rom and from there return to stock or as @Pirateghost said just use the sdk to flash the image straight away.
gee2012 said:
Afaik know you can`t sideload a stock image, only flash in fastboot. Correct me if i`am wrong though. OP can sideload a custom rom and from there return to stock.
Click to expand...
Click to collapse
100% Correct, OP can choose to do it that way or flash stock image in fastboot there's no need to use Windows at all.
Not working
Jables2915 said:
You don't have to do all that just sideload a stock rom onto the phone
Click to expand...
Click to collapse
Well, I have the Nexus Android Toolkit for oneclick root etc. I don't believe I have USB debugging "on" and I have no OS on the phone to set it to "on". The toolkit will not install the Stock rom is downloaded because is says there's a name mismatch. I choose the option to change name etc and install anyway and it just loops with the same mismatch issue.
Really frustrating. How do I download a .zip file of the rom so I can flash it. All I get are .tgz files when I download the stock rom.
Any ideas?
s1w999 said:
Well, I have the Nexus Android Toolkit for oneclick root etc. I don't believe I have USB debugging "on" and I have no OS on the phone to set it to "on". The toolkit will not install the Stock rom is downloaded because is says there's a name mismatch. I choose the option to change name etc and install anyway and it just loops with the same mismatch issue.
Really frustrating. How do I download a .zip file of the rom so I can flash it. All I get are .tgz files when I download the stock rom.
Any ideas?
Click to expand...
Click to collapse
Just put your faith in toolkits, why don`t you post your question in the toolkits thread. Let them clean up the mess Sorry if i sound a wee harsh but i HATE toolkits, they cause more problems for uneducated users than they do good.
gee2012 said:
Afaik know you can`t sideload a stock image, only flash in fastboot. Correct me if i`am wrong though. OP can sideload a custom rom and from there return to stock or as @Pirateghost said just use the sdk to flash the image straight away.
Click to expand...
Click to collapse
there are stock roms, zipped, floating around xda now. those can be pushed to recovery and flashed.
simms22 said:
there are stock roms, zipped, floating around xda now. those can be pushed to recovery and flashed.
Click to expand...
Click to collapse
Yes i know, but OP wanted to flash back to stock and the android-sdk supports Mac computers.
gee2012 said:
Yes i know, but OP wanted to flash back to stock and the android-sdk supports Mac computers.
Click to expand...
Click to collapse
ah, i missed that :angel:
simms22 said:
there are stock roms, zipped, floating around xda now. those can be pushed to recovery and flashed.
Click to expand...
Click to collapse
I'm downloading a zip now to push/flash. It's a stock rom. Just hoping it works. Next option is I'm glad to hire someone to remote in and fix it. Let me know if you're interested.
thx
s1w999 said:
I'm downloading a zip now to push/flash. It's a stock rom. Just hoping it works. Next option is I'm glad to hire someone to remote in and fix it. Let me know if you're interested.
thx
Click to expand...
Click to collapse
Here is a tutorial for how to setup adb on Mac http://www.youtube.com/watch?v=V0MyTvgfO7s, and here is a how to use it http://forum.xda-developers.com/showthread.php?t=1917237 and restore to stock .
gee2012 said:
Here is a tutorial for how to setup adb on Mac http://www.youtube.com/watch?v=V0MyTvgfO7s, and here is a how to use it http://forum.xda-developers.com/showthread.php?t=1917237 and restore to stock .
Click to expand...
Click to collapse
Excellent, I'm headed there right now.
Thank you!
s1w999 said:
Excellent, I'm headed there right now.
Thank you!
Click to expand...
Click to collapse
OK, got that set up and ./fastboot devices shows my device serial #.
Now, as long as my USB debugging is "on" (I have no way to toggle that since I have no OS, only recovery. Does the fastboot devices command working verify that USB debugging is "on"?
Now to find instructions on how what the flash commands are.
ty
s1w999 said:
OK, got that set up and ./fastboot devices shows my device serial #.
Now, as long as my USB debugging is "on" (I have no way to toggle that since I have no OS, only recovery. Does the fastboot devices command working verify that USB debugging is "on"?
Now to find instructions on how what the flash commands are.
ty
Click to expand...
Click to collapse
Download the factory image and extract with 7-zip and find a Mac flash.all command in the fastboot folder which you can select i guess. Haven`t had a Mac ever so no xperience. Make sure you have the following img files :radio, boot, bootloader, system.img zip, cache and userdata placed in the fastboot folder.
Look here for a tutorial http://au.ibtimes.com/articles/526920/20131203/flash-factory-image-nexus-complete-stock-return.htm.
gee2012 said:
Download the factory image and extract with 7-zip and find a Mac flash.all command in the fastboot folder which you can select i guess. Haven`t had a Mac ever so no xperience. Make sure you have the following img files :radio, boot, bootloader, system.img zip, cache and userdata placed in the fastboot folder.
Look here for a tutorial http://au.ibtimes.com/articles/526920/20131203/flash-factory-image-nexus-complete-stock-return.htm.
Click to expand...
Click to collapse
Well, I've got everything in place, ./fastboot devices sees my N5 but the flash command doesn't do anything when executed.
Any ideas?
Here's what terminal shows:
Marks-Air:android tools Mark$ ./fastboot devices
0591a238002ead35 fastboot
Marks-Air:android tools Mark$ ./flash-all.sh
./flash-all.sh: line 17: fastboot: command not found
./flash-all.sh: line 18: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 21: fastboot: command not found
./flash-all.sh: line 23: fastboot: command not found
Marks-Air:android tools Mark$

[Q] Root nexus 5 help!

OK in am new to this if I root my phone with one root brand or what ever it's called can I unroot with the same kind or something different
UnderstandFones said:
OK in am new to this if I root my phone with one root brand or what ever it's called can I unroot with the same kind or something different
Click to expand...
Click to collapse
Okay, to first learn what is root and what it entails, read this http://forum.xda-developers.com/google-nexus-5/help/faq-to-android-read-post-root-t2508292
Once you have understanding of what it is, there are other guides to help you with the different aspects of it and possibilities of what you can do with your phone. Refer to this http://forum.xda-developers.com/goo...urce-guides-info-threads-linked-read-t2784527
Sounds like someone who doesn't know what "root" actually is :/
Also wrong section, and read the stickies.
Google search is your friend.
Google " fastboot "&" adb " along with the word and # " Nexus 5 ".
If you read and understand than it is harder to brick your device
Nexus 5 rastakat 4.4.3 via Tapatalk app
fxdil said:
Okay, to first learn what is root and what it entails, read this http://forum.xda-developers.com/google-nexus-5/help/faq-to-android-read-post-root-t2508292
Once you have understanding of what it is, there are other guides to help you with the different aspects of it and possibilities of what you can do with your phone. Refer to this http://forum.xda-developers.com/goo...urce-guides-info-threads-linked-read-t2784527
Click to expand...
Click to collapse
I understand root sorry I didn't make that clear. However I have three question. #1 Do I root before I get a recovery?#2 Do need a computer to root?
UnderstandFones said:
I understand root sorry I didn't make that clear. However I have three question. #1 Do I root before I get a recovery?#2 Do need a computer to root?
Click to expand...
Click to collapse
You only posed two..
1. No. You need to unlock the bootloader first, from there you can install a custom recovery.
2. Highly recommended. There are tools nowadays that simplifies the process, but nothing works as best as doing it manually. You'll get to learn more, understand how your phone works, and it's much easier overall for the people at this forum to help you if you encounter a problem, if you understand the terms we use and how things are done.
Sent using Etch-a-Sketch.
fxdil said:
You only posed two..
1. No. You need to unlock the bootloader first, from there you can install a custom recovery.
2. Highly recommended. There are tools nowadays that simplifies the process, but nothing works as best as doing it manually. You'll get to learn more, understand how your phone works, and it's much easier overall for the people at this forum to help you if you encounter a problem, if you understand the terms we use and how things are done.
Sent using Etch-a-Sketch.
Click to expand...
Click to collapse
Sorry I also didn't mention I unlocked the bootloader yesterday
UnderstandFones said:
Sorry I also didn't mention I unlocked the bootloader yesterday
Click to expand...
Click to collapse
Did you unlock using adb?
Then you should be on your way to rooting. Remember to flash a custom recovery first, that's very important.
Sent using Etch-a-Sketch.
@UnderstandFones Read all the threads which I've linked in my signature. Please read them thoroughly as it seems that your basics are not yet cleared.
fxdil said:
Did you unlock using adb?
Then you should be on your way to rooting. Remember to flash a custom recovery first, that's very important.
Sent using Etch-a-Sketch.
Click to expand...
Click to collapse
I followed these directions I don't know if it used adb but I think I remember seeing it.
fxdil said:
Did you unlock using adb?
.
Click to expand...
Click to collapse
You can't unlock the bootloader using adb. It needs to be unlocked when the phone is in fastboot mode using a fastboot command.
UnderstandFones said:
I followed these directions I don't know if it used adb but I think I remember seeing it.
Click to expand...
Click to collapse
If you have already unlocked the bootloader, then download a recovery, extract the recovery.img file and then flash it via fastboot. All these steps can be accessed by following the thread linked in my signature.
vin4yak said:
You can't unlock the bootloader using adb. It needs to be unlocked when the phone is in fastboot mode using a fastboot command.
If you have already unlocked the bootloader, then download a recovery, extract the recovery.img file and then flash it via fastboot. All these steps can be accessed by following the thread linked in my signature.[/QUOTE
Where I am confused is when I download the recovery in this case twrp 2.7.1.1 and the superSU and put them in the android platform folder, do I then turn my phone off and fastboot mode and unzip the superSU in the platform folder?
Click to expand...
Click to collapse
vin4yak said:
You can't unlock the bootloader using adb. It needs to be unlocked when the phone is in fastboot mode using a fastboot command.
If you have already unlocked the bootloader, then download a recovery, extract the recovery.img file and then flash it via fastboot. All these steps can be accessed by following the thread linked in my signature.
Click to expand...
Click to collapse
I didn't tell him to unlock using adb did I? Merely pointing out to do it manually, he must have had to download adb to his computer, given that he's not even sure how he unlocked his bootloader.
UnderstandFones said:
Where I am confused is when I download the recovery in this case twrp 2.7.1.1 and the superSU and put them in the android platform folder, do I then turn my phone off and fastboot mode and unzip the superSU in the platform folder?
Click to expand...
Click to collapse
Will you please read the thread named "[GUIDE] Nexus 5 - How to Unlock Bootloader, Install Custom Recovery and Root" which is linked in my signature. Read it thoroughly and then post questions. Please get your basics cleared first.
Put the twrp img file in platform tools folder and then open a cmd window from there to run fastboot commands. Yes, you need to go into fastboot mode to run fastboot commands.
fxdil said:
I didn't tell him to unlock using adb did I? Merely pointing out to do it manually, he must have had to download adb to his computer, given that he's not even sure how he unlocked his bootloader.
Click to expand...
Click to collapse
Just for the sake of accuracy and to be pedantic, fastboot and adb are completely different. fastboot.exe and adb.exe do completely different things. All thats needed unlock the bootloader is fastboot.exe and USB drivers. This can all be done without downloading adb.exe
Sent from my Nexus 5 using Tapatalk
Where I am confused is when I download the recovery in this case twrp 2.7.1.1 and the superSU and put them in the android platform folder, do I then turn my phone off and fastboot mode and unzip the superSU in the platform folder?
Click to expand...
Click to collapse
Turn your phone off, boot into bootloader, then fastboot the recovery image.
Once done, reboot into your new custom recovery, use adb to push the superSU zip to your phone (do not unzip it, leave it as it is), use your custom recovery to locate to the zip, then install it.
fxdil said:
I didn't tell him to unlock using adb did I? Merely pointing out to do it manually, he must have had to download adb to his computer, given that he's not even sure how he unlocked his bootloader.
Click to expand...
Click to collapse
You said, "Did you unlock using adb? Then you should be on your way to rooting."
Anyone would interpret this as if your accepting that the bootloader is unlocked with adb. Which isn't correct. In any case, if that's not what you meant, my bad!
vin4yak said:
Will you please read the thread named "[GUIDE] Nexus 5 - How to Unlock Bootloader, Install Custom Recovery and Root" which is linked in my signature. Read it thoroughly and then post questions. Please get your basics cleared first.
Put the twrp img file in platform tools folder and then open a cmd window from there to run fastboot commands. Yes, you need to go into fastboot mode to run fastboot commands.
Click to expand...
Click to collapse
I am doing what you are telling me in your thread. when I open the command window and input the first code it say "the system cannot find the path specified" that the problem / what has been done fore this to say that?
UnderstandFones said:
I am doing what you are telling me in your thread. when I open the command window and input the first code it say "the system cannot find the path specified" that the problem / what has been done fore this to say that?
Click to expand...
Click to collapse
Post a screenshot please
Sent from my Nexus 5 using Tapatalk
UnderstandFones said:
I am doing what you are telling me in your thread. when I open the command window and input the first code it say "the system cannot find the path specified" that the problem / what has been done fore this to say that?
Click to expand...
Click to collapse
You get that error because the twrp file which you're trying to flash isn't in the platform tools folder.
Here are some things you need to check:
1. Have you navigated correctly to the twrp file path in fastboot?
2. Is the twrp file named correctly? if it's recovery.img then the command would be fastboot flash recovery recovery.img
3. Make sure you have file extensions seen in windows explorer so that you can confirm the file extension.

HPP-GS1 (Hot Pepper Ghost)

I know that I probably won't get any help since this is a budget phone from a random company, but has anyone figured out how to get Android 10 on the phone? If not, does anyone know how to install Magisk or root this phone? I've read threads on how to install it, but they don't list this phone as supported. TWRP doesn't support Hot Pepper Ghost so how can I install Magisk? Kingoroot doesn't let me root the phone, so what is another way?
Because this phone is based on MediaTek MTK6762 chipset watch this video:
jwoegerbauer said:
Because this phone is based on MediaTek MTK6762 chipset watch this video:
Click to expand...
Click to collapse
Sadly, Shuame is not working. The website is down and every time I try to install it using a download from another website it says that windows UAC won't allow me to.
To download RootGenius Shuame here you go:
Root Genius
Root Genius 3.1.7 (Android rooting software) for Windows ✔ free download with 3 mirrors. Safe, secure and tested for viruses and malware.
root-genius.en.lo4d.com
jwoegerbauer said:
To download RootGenius Shuame here you go:
Root Genius
Root Genius 3.1.7 (Android rooting software) for Windows ✔ free download with 3 mirrors. Safe, secure and tested for viruses and malware.
root-genius.en.lo4d.com
Click to expand...
Click to collapse
When I tried to root, it says "Such a tough phone! Root...failed" :/
Did you ever get a custom ROM working on this phone? The default Android ROM is pretty annoying (blocks push notifications).
luckydliu010 said:
Did you ever get a custom ROM working on this phone? The default Android ROM is pretty annoying (blocks push notifications).
Click to expand...
Click to collapse
Try Project Treble. That's what I learned today from Reddit, but there isn't a way to install it since there is no TWRP file thingy for this phone. Do you know if I could install it using ADB or?!??
[email protected] said:
Try Project Treble. That's what I learned today from Reddit, but there isn't a way to install it since there is no TWRP file thingy for this phone. Do you know if I could install it using ADB or?!??
Click to expand...
Click to collapse
Wait are you Nightcore? LOL that's my thread . I am going to **** around with a Moto E5 (similar CPU, but has lots more documentation) and see if I can figure a way to load via ADB.
luckydliu010 said:
Wait are you Nightcore? LOL that's my thread . I am going to **** around with a Moto E5 (similar CPU, but has lots more documentation) and see if I can figure a way to load via ADB.
Click to expand...
Click to collapse
HUH??! LMAO! Yea, thats me. I'm also trying to get project tremble to work on a ZTE Blade X1 5G, but no luck. Wanna chat on reddit?
[email protected] said:
HUH??! LMAO! Yea, thats me. I'm also trying to get project tremble to work on a ZTE Blade X1 5G, but no luck. Wanna chat on reddit?
Click to expand...
Click to collapse
Yeah man, let's chat.
[email protected] said:
I know that I probably won't get any help since this is a budget phone from a random company, but has anyone figured out how to get Android 10 on the phone? If not, does anyone know how to install Magisk or root this phone? I've read threads on how to install it, but they don't list this phone as supported. TWRP doesn't support Hot Pepper Ghost so how can I install Magisk? Kingoroot doesn't let me root the phone, so what is another way?
Click to expand...
Click to collapse
Did you figure out how to unlock the bootloader? It fails everytime I try.
GitHub - bkerler/mtkclient: MTK reverse engineering and flash tool
MTK reverse engineering and flash tool. Contribute to bkerler/mtkclient development by creating an account on GitHub.
github.com
SR_72_Blackbird said:
Did you figure out how to unlock the bootloader? It fails everytime I try.
Click to expand...
Click to collapse
I unlocked mine as soon as it came in today..
adb reboot bootloader
fastboot devices
fastboot flashing unlock_critical
then, if that doesn't unlock it, then do the age old "fastboot oem unlock"
DrScrad said:
I unlocked mine as soon as it came in today..
adb reboot bootloader
fastboot devices
fastboot flashing unlock_critical
then, if that doesn't unlock it, then do the age old "fastboot oem unlock"
Click to expand...
Click to collapse
Do you know how to root after unlocking bootloader?
How can we pull the boot.img from the os?
There is no firmware available for download.
I managed to unlock the phone using MTK Client on Ubuntu and plan on rooting the phone and installing a GSI. However, I accidentally bootlooped the phone and I think it has to do with dm-verity. I managed to extract some of the important firmware like boot.img and system.img. However, I didn't patch the boot.img with Magisk before the bootloop happen. Would anyone who has a Hot Pepper Ghost (HPP GS1) be able to install Magisk Manager and patch the boot.img attached for me? It would be very appreciated as I think it would solve my bootloop.
googlephoneFKLenAsh said:
Do you know how to root after unlocking bootloader?
How can we pull the boot.img from the os?
There is no firmware available for download.
Click to expand...
Click to collapse
I was able to get the boot.img and system.img using MTK Client after unlocking the bootloader. The post above has the boot.img and I would greatly appreciate if you could help me out with my problem.
SR_72_Blackbird said:
I was able to get the boot.img and system.img using MTK Client after unlocking the bootloader. The post above has the boot.img and I would greatly appreciate if you could help me out with my problem.
Click to expand...
Click to collapse
Mind to share how you bootlooped, so that others can avoid it?
Patched with magisk 24312:
googlephoneFKLenAsh said:
Mind to share how you bootlooped, so that others can avoid it?
Patched with magisk 24312:
Click to expand...
Click to collapse
Unfortunately, the patched boot.img still didn't fix the bootloop.
Currently, I am attempting to build TWRP for the device to see if that can fix anything. I used the twrptgen command to make a device tree for the Ghost with the boot.img and am trying to build TWRP, but I am running into an error.
I have posted on this forum (page 240) if anyone could help with that.
In terms of bootlooping, the process of unlocking the bootloader with MTK Client as documented in the GitHub went fine. After booting, it did show a dm-verity error and orange state saying the bootloader had been unlocked, but all was still fine. Proceeding, I decided to try to flash a GSI and this is where I ran into problems. I attempted to flash the original system.img again, but that didn't work. Also for some reason it wouldn't boot into recovery, even though it should be tied into the boot.img not system.img because of the A/B partitioning. However, I still have access to BROM mode for MTK Client and fastboot mode. I think the bootloop has something to do with dm-verity and vbmeta.img, but I have tried a lot on those lines with no prevail.
I think there are two fixes to this problem. One being TWRP, if I can successfully build it, and the second flashing the entire stock firmware with a flash.bin file and starting over. I didn't realize until it was too late that I should have backed up everything into a flash.bin file using MTK Client, and instead only backed up specific partitions.
It would be awesome if you could help me and post a flash.bin file to this forum of the stock firmware for the Ghost. The instructions on how to do that are here, but in specific are as follows (on a Linux distribution, preferably Ubuntu):
Code:
sudo apt install python3 git libusb-1.0-0 python3-pip
git clone https://github.com/bkerler/mtkclient
cd mtkclient
pip3 install -r requirements.txt
python3 setup.py build
python3 setup.py install
sudo usermod -a -G plugdev $USER
sudo usermod -a -G dialout $USER
sudo cp Setup/Linux/*.rules /etc/udev/rules.d
sudo udevadm control -R
**Make sure to reboot now before proceeding**
**To put the Ghost into BROM mode (which is how you will read the partitions) make sure it is powered off. Then run this command:**
python3 mtk rf flash.bin
**Then, press and hold VOLUME UP, VOLUME DOWN, AND POWER, all at the same time, and at the same time, plug the phone into the computer with a USB cable.**
**The phone should start reading all the partitions and once it is done, it will have outputed a flash.bin file for the Ghost**
Any update on this project? I've had two of these phones for years, would love to be able to load a different OS onto one of them.
One of mine appears to have already been flashed with a basic android 9. It has strange problems, like not detecting the fingerprint reader and a few other things I can't think of offhand. Anyway, you can tell it isn't the same as the other one.
The normal one I bought new, the odd one came from ebay.
Anyway, just wanted to check on this topic. I don't use either of them at this point. I like messing with these types of things for fun.
I'm going to try and get a TWRP working on this Hot Pepper today, I'll let you guys know...

How to extract boot.img from a rooted phone without twrp?

Hello, my phone doesn't have TWRP support, so i need to extract the boot.img from it so that I can install magisk. I am able to root it with KingoRoot. So How to extract boot.img from a rooted phone without twrp?
GauchoTche said:
Hello, my phone doesn't have TWRP support, so i need to extract the boot.img from it so that I can install magisk. I am able to root it with KingoRoot. So How to extract boot.img from a rooted phone without twrp?
Click to expand...
Click to collapse
As that question interested me as weil I did a bit of searching .
Found this thread
with the appropriate changes for your device/partitions it might work.
bmwdroid said:
As that question interested me as weil I did a bit of searching .
Found this thread
with the appropriate changes for your device/partitions it might work.
Click to expand...
Click to collapse
How to know what is the path to boot.img partition?
Where do i run those dd commands? Windows?
GauchoTche said:
How to know what is the path to boot.img partition?
Click to expand...
Click to collapse
If your device is on less than Android Q (you didn't tell) "DiskInfo 4.9.9 (build 10)_49910.apk" might tell you.
Did it on mine before I upgraded.
GauchoTche said:
Where do i run those dd commands? Windows?
Click to expand...
Click to collapse
I think that any terminal should work no matter which OS.

Categories

Resources