FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

[BOOTLOADER] 2nd-bootloader for Custom ROMs on KFireHD 8.9 [06/24 CM12.1/TWRP 2.8.x]

3,317 posts
Thanks Meter: 23,529
 
By Hashcode, Senior Recognized Developer on 1st February 2013, 09:57 AM
Post Reply Subscribe to Thread Email Thread
25th February 2013, 03:30 AM |#81  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,078
 
More
Your post is very confusing. So you 're saying you have second bootloader installed and twrp, you wiped system, flashed the zip that hashcode has provided, selected wipe factory reset while in twrp, then reboot system sticks you at the logo?
 
 
25th February 2013, 09:19 AM |#82  
Senior Member
Thanks Meter: 32
 
More
Re: [BOOTLOADER] Install 2nd-bootloader for Custom ROMs on KFireHD 8.9
Quote:
Originally Posted by field3d

I tried to install all the process but when reboot never advance from Kindle logo. I gave all the commands and entered fastboot perfect I made the backup of course of a KFHD rom I had with the commands of backup you are posting. I want to revert to stock factory because I have GPS troubles is not detected and I have the kindle fire with 4G 64 GB

Is cellular supported in the alpha build?

Send from my One XL CM10.1
25th February 2013, 10:55 AM |#83  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,078
 
More
Quote:
Originally Posted by For1n

Is cellular supported in the alpha build?

Send from my One XL CM10.1

He`s speaking about the stock.zip 8.1.4 I believe.
25th February 2013, 01:55 PM |#84  
Member
Thanks Meter: 1
 
More
I mean this.
I mean with the commands I gave this commands:
Code:
adb shell su -c "mount -o remount,rw ext4 /system"
adb shell su -c "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak"
adb shell su -c "mount -o remount,ro ext4 /system"
Code:
fastboot -i 0x1949 flash boot kfhd8-freedom-boot.img
fastboot -i 0x1949 flash recovery kfhd8-twrp-2.3.3.0-recovery.img
fastboot -i 0x1949 reboot
In other words just flash the images on the device after make this last command:

Code:
fastboot -i 0x1949 reboot
Never booted again the kindle stuck in logo I canīt wipe nothing is totally dead the only way I can revive is restoring with the previous backup I made like you say in your posts:

Code:
fastboot -i 0x1949 flash boot boot.img
fastboot -i 0x1949 flash recovery recovery.img
fastboot -i 0x1949 flash system system.img # This one will take a few minutes
fastboot -i 0x1949 reboot
With that lives the kindle but I canīt install the 2nd boot loader is what I said
I have 8.1.4.
Thank you
25th February 2013, 02:12 PM |#85  
twa_priv's Avatar
Recognized Contributor
Thanks Meter: 4,559
 
More
Quote:
Originally Posted by field3d

I mean with the commands I gave this commands:

Code:
adb shell su -c "mount -o remount,rw ext4 /system"
adb shell su -c "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak"
adb shell su -c "mount -o remount,ro ext4 /system"
Code:
fastboot -i 0x1949 flash boot kfhd8-freedom-boot.img
fastboot -i 0x1949 flash recovery kfhd8-twrp-2.3.3.0-recovery.img
fastboot -i 0x1949 reboot
In other words just flash the images on the device after make this last command:

Code:
fastboot -i 0x1949 reboot
Never booted again the kindle stuck in logo I canīt wipe nothing is totally dead the only way I can revive is restoring with the previous backup I made like you say in your posts:

Code:
fastboot -i 0x1949 flash boot boot.img
fastboot -i 0x1949 flash recovery recovery.img
fastboot -i 0x1949 flash system system.img # This one will take a few minutes
fastboot -i 0x1949 reboot
With that lives the kindle but I canīt install the 2nd boot loader is what I said
I have 8.1.4.
Thank you

After you restore your backup you might need to flash the stack override again.

Code:
adb push stack /data/local/tmp/
adb shell su -c "dd if=/data/local/tmp/stack of=/dev/block/platform/omap/omap_hsmmc.1/by-name/system bs=6519488 seek=1"
Then proceed with renaming install-recovery.sh and flashing freedom boot and twrp as you did before.

That's what I needed to do after losing the ability to boot into recovery.
The Following User Says Thank You to twa_priv For This Useful Post: [ View ]
25th February 2013, 03:14 PM |#86  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,078
 
More
Code:
adb shell su -c "mount -o remount,rw ext4 /system"
adb shell su -c "mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak"
adb shell su -c "mount -o remount,ro ext4 /system"
Also if you fail to do this correctly you will get stuck at the logo or when you try to access recovery it will claim bad boot image and either send you to stock recovery or straight into fastboot. Truthfully I think your missing a step or your not installing the stack file correctly or your not wiping correctly prior to flashing the zip. Backing up the stock images is not nearly as intergral as the rest of the process for bootloader install a single typo makes the difference between good and bad on this deal. Hashcode has laid each step out well enough that you can literally copy and paste each command and it will work. If you need help getting through it we should hook up again and I will walk you through each step so that next time you have a better idea of what needs to be done.
25th February 2013, 05:31 PM |#87  
Member
Thanks Meter: 1
 
More
Need to override
I think I need to override like you say but gives me exactly that 2 commands permission denied or not permissions something like that how can I enable permissions to override the stack?
Now the question if I override once I have permissions can I lost all the applications and data inside? If yes how can I make a backup of apps and their data? After override Iīll restore the backup of that apps to avoid install one by one and the contents too.

Yes the Thepooch I see that 2 commands gave that error in case I canīt would be nice like the other day.

Thank you
25th February 2013, 10:39 PM |#88  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,078
 
More
Any errors during the process is a very good indication of why things are running amuck and not completing the task largely it could boil down to getting your drivers working properly. When executing any of the shell commands you may get a prompt to grant shell permission you must grant in order for it to work or you will get permission denied. A linux setup would make this much easier for you.
26th February 2013, 01:11 AM |#89  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,078
 
More
http://db.tt/ZNYlKiYp install this if it can't find busybox on your system make sure it gets installed to xbin then run the smart install that will help you with your recovery.sh problem.
26th February 2013, 01:33 AM |#90  
Member
Thanks Meter: 1
 
More
ok
Quote:
Originally Posted by Thepooch

http://db.tt/ZNYlKiYp install this if it can't find busybox on your system make sure it gets installed to xbin then run the smart install that will help you with your recovery.sh problem.

Ok I'll try to install but just a question what is for busybox? I heard in many places about that and the script where I installed the google apps said couldn't install busybox app I ignored that until now you are talking about it.
And the other question "smart install" is an option of busybox or where can I find?
Thank you
26th February 2013, 02:17 AM |#91  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,078
 
More
Quote:
Originally Posted by field3d

Ok I'll try to install but just a question what is for busybox? I heard in many places about that and the script where I installed the google apps said couldn't install busybox app I ignored that until now you are talking about it.
And the other question "smart install" is an option of busybox or where can I find?
Thank you

Just open the app it will run a check, select install location xbin it might try to default to bin don't let it do that choose xbin then click install and select smart install. Make sure you grant permission upon launch of the app for superuser. All the time, energy, questions and problems could have been solved in about 20 mins by running a couple of scripts on a live usb and being done with it. Stop fiddle farting around with windows seems to have only caused you trouble just sayin Good luck.
Last edited by Thepooch; 26th February 2013 at 03:39 AM.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes