[Q] Trying to install TWRP over CWM - Kindle Fire Q&A, Help & Troubleshooting

Pardon me if this has been covered in the past, but I'm having a difficult time finding the info that I'm looking for.
I have a Kindle Fire that I had put CWM on. Yesterday, I installed TWRP and the Reloaded ICS rom.
Everything went fine and I'm very happy with the ICS installation.
However, if I boot back into recovery, then CWM loads up. I was expecting TWRP to overwrite CWM, but apparently that's not how it works.
I'm on a Mac and these are the steps I took to flash TWRP:
Connect your KF to you computer and open a terminal.
Navigate to your platform-tools folder
cd Path to platform-tools
Once here check to see your KF is recognized by ADB
sudo ADB devices
Click to expand...
Click to collapse
*Note you may have to use the command Sudo ./adb devices, it really depends on how you have your SDK setup.
If you see a series of numbers it verifies your KF is being seen by ADB. Next you'll type
sudo ADB shell or sudo ./adb shell
Click to expand...
Click to collapse
Then ask for root permission
SU
Click to expand...
Click to collapse
Next you'll need to set your bootmode to fastboot
idme bootmode 4002
Click to expand...
Click to collapse
It will tell you that <idme> write 4002 to offset 0x1000. Now you'll need to exit the shell
Exit
Click to expand...
Click to collapse
Exit
Click to expand...
Click to collapse
Once you're back in your platform-tools folder restart adb
Sudo adb reboot or sudo ./adb reboot
Click to expand...
Click to collapse
ADB will restart then you can issue the fastboot command
sudo fastboot -i 0x1949 boot twrp-blaze-2.0.RC0.img or sudo ./fastboot -i 0x1949 boot twrp-blaze-2.0.RC0.img
Click to expand...
Click to collapse
If memory serves me correctly, the device will reboot to TWRP and saying its installed. It will reboot itself. Once rebooted you'll be shown a yellow triangle with a fire on it. Don't panic as its a modified bootloader that allows you to access your recovery. It boots here because your device is still set to boot into the bootloader. To fix this type
sudo fastboot oem idme bootmode 4000 or sudo ./fastboot oem idme bootmode 4000
Click to expand...
Click to collapse
Then simply give fastboot the command to reboot
sudo fastboot reboot or sudo ./fastboot reboot
Click to expand...
Click to collapse
Your device will reboot to the bootloader again, except this time it only stays like that for a short period in order for you to access your recovery if need be. To access TWRP simply hold your power button down for around 2 seconds. Your power button will change to an orange color, release the button and TWRP will show up. If you do nothing at the bootloader your rom of choice will continue to boot.
Click to expand...
Click to collapse
Does anyone have any advice? Thoughts?
I'm very new to Android. . .
Best,
Chris

czucker said:
Pardon me if this has been covered in the past, but I'm having a difficult time finding the info that I'm looking for.
I have a Kindle Fire that I had put CWM on. Yesterday, I installed TWRP and the Reloaded ICS rom.
Everything went fine and I'm very happy with the ICS installation.
However, if I boot back into recovery, then CWM loads up. I was expecting TWRP to overwrite CWM, but apparently that's not how it works.
I'm on a Mac and these are the steps I took to flash TWRP:
Does anyone have any advice? Thoughts?
I'm very new to Android. . .
Best,
Chris
Click to expand...
Click to collapse
If you are trying to install TWRP version 2.1.x then those steps will not get TWRP installed onto your recovery partition. "fastboot boot" just loads the image into memory and boots from there. You'll need to "fastboot flash" the image to actually get it on to the recovery partition.
Just to clarify a possible source of confusion... version 2.0.0 was distributed as a boot image wrapped around the recovery image. So, the instructions were to "fastboot boot" the boot image and then it would run an internal script that would flash the recovery image contained within the boot image. Now, version 2.1.x is just a recovery image, so you'll need to flash it manually.
Code:
fastboot flash recovery openrecovery-twrp-blaze-2.1.1.img

Thank you.
That worked perfectly.

Related

[HOW TO]Step by Step Flash TWRP 2.0 on Linux

this is what I had to do on Linux Mint 12 but should work with most ubuntu based distros
1: download twrp
2: if you dont already have it then you need to download the linux fastboot binary, extract the .zip and place the extracted file in your androidsdk/platform-tools directory
2: place the file you downloaded from TWRP into your androidsdk/platform-tools directory
3: connect your fire to your computer and disable mass storage mode
4: open a terminal and cd to your androidsdk/platform-tools directory and enter the following commands pressing enter after each line
Code:
./adb shell
su
idme bootmode 4002
then back out of the adb shell by
Code:
exit
exit
then
Code:
./adb reboot
after it reboots to the "Kindle Fire" boot screen its time to flash the recovery
Code:
fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
once flashed and it installs and boots to the "firefirefire" screen (screen with the yellow sign and text that says "press power for recovery" you have to change the boot mode back out of fastboot
Code:
sudo ./fastboot oem idme bootmode 4000
sudo ./fastboot reboot
it should reboot to the "firefirefire" screen, to enter recovery press and hold the power button until it turns from green to orange then let go. You should boot into TWRP and be able to make your first backup.
from now on if you dont want to go into recovery then just let it sit and it will boot normally
Thanks to all the Teamwin members, agrabren for the port, pyrostic for testing, pokey9000 for the "FireFireFire" bootloader, and I am sure there are more but I dont know who you are so thank you.
if you can donate to these guys please do becuase without them we would just have an e-reader.
I am not responsable for any damage that YOU may cause buy following these directions.
not sure where i went wrong. i followed every step, it flashed, im stuck at the yellow triangle guessing im in fastboot.
i do fastboot oem bootmode 4000 and it gets stuck at waiting for devices.
issue the command with sudo
Nevermind, wasn't using ./ when I was issuing commands. As usual, need to pay better attention.
Thanks OP. Sweet.
My Fire got stuck at the splash screen after issuing the command idme bootmode 4002 and it won't load up. I can't get adb to recognize it anymore. Any advice?
abiezer said:
My Fire got stuck at the splash screen after issuing the command idme bootmode 4002 and it won't load up. I can't get adb to recognize it anymore. Any advice?
Click to expand...
Click to collapse
adb wont recogonize it after you change the boot mode thats where you issue the fastboot commands
smirkis said:
not sure where i went wrong. i followed every step, it flashed, im stuck at the yellow triangle guessing im in fastboot.
i do fastboot oem bootmode 4000 and it gets stuck at waiting for devices.
Click to expand...
Click to collapse
Download this file and place it in the folder your fastboot is located in: http://techerrata.com/file/twrp2/twrp-blaze-2.0.0RC0.img
do the following
open a command window where fastboot is located:
Step 1:
Code:
fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
if your window says "waiting for device" then reboot your device. if it boots into TWRP 2.0 then you are set move to Step 3. if it still says "waiting for device" close the window and then then open a command window where fastboot is located and do step 2.
Step 2:
Code:
fastboot -i 0x18d1 boot twrp-blaze-2.0.0RC0.img
if your window says "waiting for device" then reboot your device. if it boots into TWRP 2.0 then you are set move to Step 3. If it is still not doing anything, this is where my knowledge is no good anymore, and you should consult someone else.
TWRP should be showing on your screen. Close your old fastboot window and open a new command window where ADB is located. Proceed to Step 3.
Step 3:
Code:
adb shell
idme bootmode 4000
reboot
your device should reboot, and if you had problems with Step 3 try the following from your ADB command window
Code:
su
adb kill-server
adb start-server
adb devices
your device should be listed. If so try Step 3 again.
hope this helps or at least puts you in the right direction.
After executing fastboot, I get the following and the device stays on "Kindle Fire" splash screen. Any ideas?
Code:
$ ./fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
creating boot image...
creating boot image - 10240 bytes
< waiting for device >
downloading 'boot.img'...
OKAY [ 0.006s]
booting...
OKAY [ 0.003s]
finished. total time: 0.009s
craftyguy said:
After executing fastboot, I get the following and the device stays on "Kindle Fire" splash screen. Any ideas?
Code:
$ ./fastboot -i 0x1949 boot twrp-blaze-2.0.0RC0.img
creating boot image...
creating boot image - 10240 bytes
< waiting for device >
downloading 'boot.img'...
OKAY [ 0.006s]
booting...
OKAY [ 0.003s]
finished. total time: 0.009s
Click to expand...
Click to collapse
Sounds like you are in fastboot, but I would expect to see the yellow triangle logo and not the Kindle Fire one. Anyway, try to see if running the following works:
Code:
./fastboot oem idme bootmode 4000
./fastboot reboot
sl0ttedpig said:
Sounds like you are in fastboot, but I would expect to see the yellow triangle logo and not the Kindle Fire one. Anyway, try to see if running the following works:
Code:
./fastboot oem idme bootmode 4000
./fastboot reboot
Click to expand...
Click to collapse
Tried setting bootmode with fastboot, but it just sits there at "< waiting for device> ". Tried rebooting Kindle but fastboot is still hanging up there.
EDIT: Ok, had to pass "-i 0x1949" to fastboot. Got the device back, going to try it all over again
craftyguy said:
Tried setting bootmode with fastboot, but it just sits there at "< waiting for device> ". Tried rebooting Kindle but fastboot is still hanging up there.
Click to expand...
Click to collapse
what os is on ur computer? sounds like a driver issue.
Sent from my HTC Glacier using xda premium
smirkis said:
what os is on ur computer? sounds like a driver issue.
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
I'm on Fedora 16 x86_64. I did all of the adb interactions on a Windows 7 system, however it looks like adb isn't set up correctly on this Fedora box I'm on now. I have (what I think at least) the udev rules set for Kindle Fire. Looks like I have some more reading to do!
EDIT: adb up and running. For anyone who has this issue, add "0x1949" to ~/.android/adb_usb.ini, and restart adb!
---------- Post added at 12:15 PM ---------- Previous post was at 11:32 AM ----------
Alright, my week-old Kindle Fire does not agree with this procedure. The twrp image does not seem to be flashing at all (fastboot returns after .009s and device never reboots to recovery)
try rebooting manually n see if u get fastbot.
Sent from my HTC Glacier using xda premium
craftyguy said:
I'm on Fedora 16 x86_64. I did all of the adb interactions on a Windows 7 system, however it looks like adb isn't set up correctly on this Fedora box I'm on now. I have (what I think at least) the udev rules set for Kindle Fire. Looks like I have some more reading to do!
EDIT: adb up and running. For anyone who has this issue, add "0x1949" to ~/.android/adb_usb.ini, and restart adb!
---------- Post added at 12:15 PM ---------- Previous post was at 11:32 AM ----------
Alright, my week-old Kindle Fire does not agree with this procedure. The twrp image does not seem to be flashing at all (fastboot returns after .009s and device never reboots to recovery)
Click to expand...
Click to collapse
woot for fedora! anyway, i set things up via /etc/udev/rules.d/51-android.rules and at first I had this...
SUBSYSTEM=="usb", SYSFS{idVendor}=="1949", MODE="0666"
and everything was cool. but after flashing twrp, i noticed there was firefirefire 1.0 out where previously i had flashed .9 so i thought id update I went to update and after putting the device in fastboot mode, it rebooted to the bootloader where fastboot wasnt recognizing the device started digging around and found windows users having driver issues and thought to myself... we dont have drivers BUT we do have rules!! added this line to the udev rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
and everything working as it should again

[Q] Bricked Kindle Fire not recognized by either ADB or Windows

Hey guys, I'm a new member to XDA but I've been browsing on it for a while. I figured you guys could help. I rooted my Kindle Fire a couple months ago and had Clockwork Recovery(TWRP is better). I decided I didn't want it rooted so I restored the Kindle thinking it would remove the root, it actually bricked it. Now all that comes up is the Kindle Fire boot screen with the android bot over top of it, it doesn't glimmer or flash, that's all. It isn't recognized by ADB or Windows(and Device Manager). I haven't found a thread exactly like mine so I figured I'd post one. Please help guys, I miss Minecraft PE and Netflix!
Assuming you know how to access recovery...
Download the latest version of FireFireFire and either "adb push" it to your sdcard or use the mount function in recovery and transfer it.
FireFireFire 1.4 can be found here. It comes in a .zip file for flashing in recovery. DO NOT install the .zip file with the "fastboot flash bootloader" command or you will brick your device.
When installed reboot and use your power button at the kindle fire screen as if you were trying to enter recovery. At some point some options will show up on the bottom. Use the power button to select "Normal Boot".
@soupmagnet
what do you mean by ADB Push? Recovery as in turning the kindle on and then holding the power button again until it turns orange?
mrpike9416 said:
@soupmagnet
what do you mean by ADB Push?
Click to expand...
Click to collapse
Actually, it would be easier to explain how to mount your sdcard.
Recovery as in turning the kindle on and then holding the power button again until it turns orange?
Click to expand...
Click to collapse
Yes. While in recovery, there will be a mount to USB function that will mount the sdcard partition to your computer as if it were an external drive, such as a USB thumb drive.
Good thing I know that, however, I can't access recovery..
I think I might've reformatted the system folder while in recovery..
mrpike9416 said:
Good thing I know that, however, I can't access recovery..
I think I might've reformatted the system folder while in recovery..
Click to expand...
Click to collapse
Recovery is in a separate partition from the system files and cannot be formatted while in recovery. I'm not sure why you wouldn't be able access recovery so you'll probably need to reinstall it.
How comfortable are you with using command prompt?
A little experienced, how hard can entering commands be?
mrpike9416 said:
A little experienced, how hard can entering commands be?
Click to expand...
Click to collapse
OMG Don't EVER say that.
Do you have adb and fastboot on your computer? If yes...Is it from AndroidSDK or KFU?
Hahahahha my mistake.
I do have ADB but I don't think I have fastboot(I probably do).
I do have fastboot.
mrpike9416 said:
I do have fastboot.
Click to expand...
Click to collapse
Okay, make sure the you have TWRP version 2.1 and place it in the same folder as fastboot. It would be wise to rename it to something manageable like "twrp.img"
In your command prompt, enter:
fastboot flash recovery twrp.img
Note: version 2.0 will not work with this command
And while you're at it:
fastboot oem idme bootmode 4000
fastboot reboot
[Edit:] That will likely fix your problem (barring driver issues) but you should still install FFF1.4
I just tried a different cable and the computer recognizes my kindle in device manager as Android ADB Interface... the twrp 2.1 cmd thing you told me to do was a no go but I assume we have more options now now that device manager recognizes it?
(EDIT)
It is now recognized on device manager as "Unknown Device" and no longer as Android ADB Interface..
1. What happens when you enter:
Code:
fastboot devices
2. What error message, if any, did you receive when entering the "twrp 2.1 cmd thing"?
"fastboot" is not recognized as an internal or external command, operable program or batch file.
That happened for both instances.
mrpike9416 said:
"fastboot" is not recognized as an internal or external command, operable program or batch file.
That happened for both instances.
Click to expand...
Click to collapse
Do you have fastboot and what folder is it in?
Yeah its an .exe file i believe... under the "Files and Tools" folder when I downloaded ADB from Android SDK.
Better yet...fastboot and adb are programs with a certain set of commands associated with them. Those commands only work with each individual program. In order to issue a certain command that isn't associated with "shell" or "DOS" you have to include an "identifier" so the computer knows from which program to run the commands. In this case it is "fastboot" because you are using the fastboot program. In order issue commands this way, the program you are using must either be listed in your "PATH" or be in the directory from which you are issuing the commands.
The easiest way to do this in Windows is to shift+right click on the folder containing the program and select "Run in Command". The command window that opens is were you will be entering your commands.
error: cannot load "twrp.img"
I typed "fastboot devices!" (out of frustration I must admit).
This is what came up:
C:\Users\Nick\Documents\KindleRoot\tools>fastboot devices!
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default:
2048
Turn your device off then enter the command. When it says "waiting for device" turn it back on.
Fastboot commands only work in fastboot mode. If you have a modified bootloader installed, the first few seconds of the boot process is a temporary fastboot mode which will accept fastboot commands.
If it just hangs at "waiting for device", you need to fix your drivers.
soupmagnet said:
Turn your device off then enter the command. When it says "waiting for device" turn it back on.
Fastboot commands only work in fastboot mode. If you have a modified bootloader installed, the first few seconds of the boot process is a temporary fastboot mode which will accept fastboot commands.
If it just hangs at "waiting for device", you need to fix your drivers.
Click to expand...
Click to collapse
what command am I entering?

[Q] Kindle bricked, fastboot hangs

My kindle fire is bricked. I'm not sure it can be undone, as fastboot can't seem to change the bootmode.
Where I'm at (short version):
Mac os x 10.6.8
Kindle stuck on the amazon stock "Kindle fire" logo.
Kindle connected with factory cable.
Log:
> fastboot -i 0x1949 getvar product
product: kindle
finished. total time: 0.000s
> fastboot -i 0x1949 oem idme bootmode 4000
...
^C
How I go here:
I tried the KFU on a Windows VM running on Mac osx 10.6.8. Yes, that was dumb.
I went for the quick and dirty solution, it did not end well.
I've read the kindle beginners guide. Excellant resource. Switched to the Mac terminal interface.
My Knowledge:
I'm a knowledgeable unix user, android newbie. Meaning I know just enough to get myself in trouble.
Any suggestions would be appreciated. About the only other thing I can think to try is a linux interface instead of MAC.
Thanks,
Ann
The command you posted was successful. Did you reboot the device?
soupmagnet said:
The command you posted was successful. Did you reboot the device?
Click to expand...
Click to collapse
Yes I tried issuing the reboot command to the same result. Neither command returns to the command prompt, a ^C is required.
(apologies if this post appears twice.)
adavis749 said:
Yes I tried issuing the reboot command to the same result. Neither command returns to the command prompt, a ^C is required.
(apologies if this post appears twice.)
Click to expand...
Click to collapse
i think u dont have a recovery software and a rom flashed on ur kindle fire..first flash twrp.img(u can have it downloaded for u by KFU) from terminal..dont forget to open terminal in the location of twrp.img..then
fastboot flash recovery twrp.img
fastboot oem idme bootmode 5001
fastboot reboot
this should install twrp on ur KF
then mount it as usb mass storage through twrp and format it on ur mac or pc or whatever..sdcard partition needs to be formatted
then u can transfer .zip(ROM) file to it and flash it from twrp
after all this again revert bootmode to 4000 and u shud have ur kf running ur rom..
feel free to thank helpers!!!
prahladvarda said:
i think u dont have a recovery software and a rom flashed on ur kindle fire..first flash twrp.img(u can have it downloaded for u by KFU) from terminal..dont forget to open terminal in the location of twrp.img..then
fastboot flash recovery twrp.img
fastboot oem idme bootmode 5001
fastboot reboot
this should install twrp on ur KF
then mount it as usb mass storage through twrp and format it on ur mac or pc or whatever..sdcard partition needs to be formatted
then u can transfer .zip(ROM) file to it and flash it from twrp
after all this again revert bootmode to 4000 and u shud have ur kf running ur rom..
feel free to thank helpers!!!
Click to expand...
Click to collapse
That shouldn't matter. Even without recovery or a ROM installed, the device will still boot to a blank screen.
Sometimes after changing bootmodes in fastboot, the reboot command doesn't work. Just hold the power button until it shuts off and start it again.
soupmagnet said:
That shouldn't matter. Even without recovery or a ROM installed, the device will still boot to a blank screen.
Sometimes after changing bootmodes in fastboot, the reboot command doesn't work. Just hold the power button until it shuts off and start it again.
Click to expand...
Click to collapse
I have tried that as well.

Able to access bootloader?

This is just a quick poll to find out how many G3 owners can access their bootloaders.
Terminal:
Code:
su
reboot-bootloader
ADB (windows):
Code:
adb reboot-bootloader
ADB (Linux):
Code:
./adb reboot-bootloader
I cannot it seems.
Cheers, glad to know it's not just me. Anyone else?
[email protected] :/ reboot-bootloader
tmp-mksh: reboot-bootloader : not found
127|[email protected] :/
D855 32gb
sabret00the said:
This is just a quick poll to find out how many G3 owners can access their bootloaders.
Terminal:
Code:
su
reboot-bootloader
ADB (windows):
Code:
adb reboot-bootloader
ADB (Linux):
Code:
./adb reboot-bootloader
Click to expand...
Click to collapse
Should be:
From device
Code:
su; reboot bootloader
PC
Code:
adb reboot-bootloader
There is no reboot-bootloader binary so your probably getting an error "reboot-bootloader does not exist" or something similar. reboot is the binary and bootloader is one of its commands.
wedgess said:
Should be:
From device
Code:
su; reboot bootloader
PC
Code:
adb reboot bootloader
There is no reboot-bootloader binary so your probably getting an error "reboot-bootloader does not exist" or something similar. reboot is the binary and bootloader is one of its commands.
Click to expand...
Click to collapse
still doesn't work. Though though typing just ADB does suggest the hyphenated version.
sabret00the said:
still doesn't work. Though though typing just ADB does suggest the hyphenated version.
Click to expand...
Click to collapse
I don't actually have the device just though I could lend a helping hand when I saw the command were wrong from adb, adb reboot-bootloader.works but on a device it doesn't. it uses the reboot binary.
wedgess said:
Is your bootloader unlocked? If you don't have the reboot binary inside /system/bin or /system/xbin then it ain't going to work. What is the shell throwing at you when you do reboot bootloader?
I don't actually have the device just though I could lend a helping hand when I saw the command were wrong from adb, adb reboot-bootloader.works but on a device it doesn't. it uses the reboot binary.
Click to expand...
Click to collapse
I just tried it from terminal and the phone just reboots, sadly not into bootloader.
wedgess said:
Hmm, is your bootloader unlocked? And can you attach the last_kmsg please.
Click to expand...
Click to collapse
Pass, tell me how to find out and I will tell you. Also where do I find the last_kmsg, my ageing brain can't remember where to find it
Bootloader is locked. Its accessible by flashing a bad boot.img. it will then take you into fastboot mode which oem unlock does nothing.
p70shooter said:
Pass, tell me how to find out and I will tell you. Also where do I find the last_kmsg, my ageing brain can't remember where to find it
Click to expand...
Click to collapse
it is in >proc>last_ksmg
also here is mine the phone reboots but not into booloader,but this is because i installed drivers from here
for the people reading my last_kmsg I tried the adb reboot-bootloader command a couple of times and just for fun I tried adb reboot oem-unlock once
last_kmsg
papi92 said:
Bootloader is locked. Its accessible by flashing a bad boot.img. it will then take you into fastboot mode which oem unlock does nothing.
Click to expand...
Click to collapse
kernel sources are up so now wwe play the waiting game I guess
Install rom toolbox or similar and choose reboot bootloader from it and see what happens
Sent from my SM-N900P using Xparent BlueTapatalk 2
Epix4G said:
Install rom toolbox or similar and choose reboot bootloader from it and see what happens
Sent from my SM-N900P using Xparent BlueTapatalk 2
Click to expand...
Click to collapse
nop it just reboots the phone:crying:

ZE551ML + Ubuntu 14.04.1[fastboot issue]

Hi folks.
I'm trying to root my phone (ZE551ML - 2.83Ghz and 4Gb Ram) with method 3 in this thread (Using Ubuntu 14.04.1 with installed ADB 1.0.32 and android-tools-fastboot) but the script Root.sh gives me this error:
./adb.mac: 1: ./adb.mac: Syntax error: ")" unexpected
And the script is not rooting the phone.
Then i tryed to do things manually and observed that after i hit the 'adb reboot bootloader' (so i can flash the files like the script would do) the phone reboots into fastboot mode but the 'adb devices' or 'fastboot devices' didnt show my phone anymore - or anything.
Tried to do the same with phone in recovery mode and got the same result.
Can anyone help me?
Did I miss anything?
Ps. My Bootloader is locked and i have no intention of unlocking it yet.
C-Ph87 said:
Hi folks.
I'm trying to root my phone (ZE551ML - 2.83Ghz and 4Gb Ram) with method 3 in this thread (Using Ubuntu 14.04.1 with installed ADB 1.0.32 and android-tools-fastboot) but the script Root.sh gives me this error:
./adb.mac: 1: ./adb.mac: Syntax error: ")" unexpected
And the script is not rooting the phone.
Then i tryed to do things manually and observed that after i hit the 'adb reboot bootloader' (so i can flash the files like the script would do) the phone reboots into fastboot mode but the 'adb devices' or 'fastboot devices' didnt show my phone anymore - or anything.
Tried to do the same with phone in recovery mode and got the same result.
Can anyone help me?
Did I miss anything?
Ps. My Bootloader is locked and i have no intention of unlocking it yet.
Click to expand...
Click to collapse
Are you using root command prompt on your pc? You need admin privileges on pc.
Sent from my ASUS_Z00A using Tapatalk
kenbo111 said:
Are you using root command prompt on your pc? You need admin privileges on pc.
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
Yes. Using 'sudo fastboot devices' nothing happens.
C-Ph87 said:
Yes. Using 'sudo fastboot devices' nothing happens.
Click to expand...
Click to collapse
http://www.asus.com/zentalk/thread-76656-1-1.html
geopit said:
http://www.asus.com/zentalk/thread-76656-1-1.html
Click to expand...
Click to collapse
The comands in the Python Script are:
adb reboot bootloader
fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/partlink supersu.tgz
fastboot oem start_partitioning
fastboot flash /system/bin/logcat installer
fastboot oem stop_partitioning
The thing is that fastboot doesnt recognize my device after the 'adb reboot bootloader' and the message 'waiting for the device' gets stuck.
If you look into the thread you'll see that the 7th answer (user orlapalm) has the same unsolved issue.
Guess the solution is used somebody elses PC with Windows since there's no way to use Ubuntu on This phone.
Try this:
Code:
#!/bin/bash
adb reboot bootloader
fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/partlink supersu.tgz
fastboot oem start_partitioning
fastboot flash /system/bin/logcat installer
fastboot oem stop_partitioning
Save as root.sh and try again.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
Try this:
Code:
#!/bin/bash
adb reboot bootloader
fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/partlink supersu.tgz
fastboot oem start_partitioning
fastboot flash /system/bin/logcat installer
fastboot oem stop_partitioning
Save as root.sh and try again.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Thanks but will not work.
I know how a script works but seems that Zf2 needs the Fasboot v1.0.32 - Witch i dont find anywhere.
Fastboot v1.0.31 (installed with apt-get install android-tools-fastboot) doesnt recognize the Zenfone 2 on Ubuntu.
Maybe because the USB device is not recognized, what does lsusb say before and after the reboot in bootloader?
Magister54 said:
Maybe because the USB device is not recognized, what does lsusb say before and after the reboot in bootloader?
Click to expand...
Click to collapse
lsusb (before reboot)
Bus 001 Device 004: ID 0b05:5601 ASUSTek Computer, Inc.
lsusb (after reboot)
Bus 001 Device 006: ID 0b05:4daf ASUSTek Computer, Inc. Transformer Pad Infinity TF700 (Fastboot)
Fastboot cmds:
~$ fastboot continue
< waiting for device >
~$ fastboot reboot
< waiting for device >
Ps. After this I saw that device code is different after (0b05:4daf) and before (0b05:5601) reboot so i added the permission for this 'new dvice' in /etc/udev/rules.d/51-android.rules and now fastboot seems to recognize my phone.
Magister54 said:
Maybe because the USB device is not recognized, what does lsusb say before and after the reboot in bootloader?
Click to expand...
Click to collapse
Thank you very much for the tip, man!
Without it i would never solved this situation!
C-Ph87 said:
Thank you very much for the tip, man!
Without it i would never solved this situation!
Click to expand...
Click to collapse
No problem :highfive:

Categories

Resources