[Kindle Fire Android Development] Techlyfe:
**Correction**

If it's not named twrp.img then do so and make sure it is in the KFU/recovery folder.

Either that or delete the recovery folder and run KFU again. It will now download only the v2.0 TWRP.

Vashypooh removed the 2.1 TWRP so now it wont be downloaded till he fixes KFU

---------- Post added 13th April 2012 at 12:32 AM ---------- Previous post was 12th April 2012 at 11:49 PM ----------

Ok I'm going to try to make this as short as possible...

I think I found the issue to why certain apps aren't being installed with KFU while trying to modify your run.bat to add a swype installer function.

I ran this code on my Wife's Kindle <kindle 1> and My Kindle <kindle 2>

:extrasubmenu_8 Swype Installer
cls

echo. ***********************************************
echo. * Swype Installer *
echo. ***********************************************
echo.

if "%adb%" == "Online" (
[COLOR="PaleGreen"]	::We need to check to make sure we are running root.[/COLOR]
(Echo.) & (Echo Mounting System) & (Echo.)
call:mount_rw

(Echo.) & (Echo Installing Swype Installer) & (Echo.)
tools\adb install keyboard\com.swype.android.installer-1.apk

(Echo.) & (Echo Installing Swype Keyboard) & (Echo.)
tools\adb push keyboard\com.swype.android.inputmethod-1.apk /system/app/

(Echo.) & (Echo Setting System Permissions) & (Echo.)
tools\adb shell su -c 'chmod 644 /system/app/*'

(Echo.) & (Echo Unmounting System) & (Echo.)
call:mount_r

(echo.) & (echo. ******** All Done! ********) & (echo.)

(Echo System is about to reboot . . .) & (tools\adb reboot)

) else (
(echo.) & (echo. Oops... something went wrong.) & (echo.)
pause
)

<Kindle 1> installed without a hitch

<Kindle 2> had the "failed to copy '*' to '*': Read-only file system"

<Kindle 1> Gr8 (6.3) - MoDaCo

<Kindle 2> Energy ICS CM9 Kang ROM

MoDaCo's rom is the insecure version and i'm guessing Energy's is not. That may be the difference in the issues with KFU and some roms.

Also, i noticed

::We need to check to make sure we are running root.

throughout your script, I'm guessing that is leftover comments from burrito root days?

Well, I dont actually see any checks for root so i added

(tools\adb root) & (tools\adb wait-for-device)

underneath that comment in my script addition and swype installed perfectly fine afterwards.

B4 ADB Root

***********************************************
* Swype Installer *
***********************************************

restarting adbd as root

Mounting System

Installing Swype Installer
2210 KB/s (86007 bytes in 0.038s)

Installing Swype Keyboard
4390 KB/s (5903797 bytes in 1.313s)

Setting System Permissions

After ADB Root

***********************************************
* Swype Installer *
***********************************************

restarting adbd as root

Mounting System

Installing Swype Installer
2399 KB/s (86007 bytes in 0.035s)
pkg: /data/local/tmp/swype_installer_ics.apk
Success

Installing Swype Keyboard
3954 KB/s (5903797 bytes in 1.458s)
pkg: /data/local/tmp/swype.apk
Success

Setting System Permissions

So i'm guessing without adding "adb root" the shell never gets elevated.

So maybe for the call:mount_rw function, you can add adb root first? or some sort of find str for "restarting adbd as root"