Post Reply

[BOOTLOADER] 2nd-bootloader for Custom ROMs on KFireHD 8.9 [05/27 CM11/TWRP 2.7.x.x]

OP Hashcode

25th February 2013, 03:30 AM   |  #81  
Thepooch's Avatar
Recognized Contributor
Thanks Meter: 1,059
 
2,465 posts
Join Date:Joined: Mar 2012
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: 31
 
234 posts
Join Date:Joined: Sep 2012
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,059
 
2,465 posts
Join Date:Joined: Mar 2012
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
 
57 posts
Join Date:Joined: Oct 2009
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,543
 
1,700 posts
Join Date:Joined: Feb 2011
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,059
 
2,465 posts
Join Date:Joined: Mar 2012
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
 
57 posts
Join Date:Joined: Oct 2009
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,059
 
2,465 posts
Join Date:Joined: Mar 2012
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,059
 
2,465 posts
Join Date:Joined: Mar 2012
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
 
57 posts
Join Date:Joined: Oct 2009
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

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

Advanced Search
Display Modes


Top Threads in 8.9" Kindle Fire HD Android Development by ThreadRank