I got into clockwork on the fire!!!

Search This thread

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
New York
Here's the deal, I flashed a clockwork port for the kindle fire that I made. It was 100% useless as of now because of the one hardware button that we have to work with. I sent Koush a message on twitter asking if there is a possibility to have a long press and quick/short press differentiate between scrolling down and actually selecting the item on the menu but he hasn't gotten back to me yet but I'm sure he's working on it :D
 

SikYou

Senior Member
Oct 18, 2010
438
77
Very good news! Hopefully something comes of this. I want to look at the code for TWRP 2.0 and see if that can be ported over to the fire, its touch control.

Sent from my Kindle Fire
 

death2all110

Senior Member
Sep 21, 2010
515
295
Illinois
cat /proc/mounts....
Code:
# cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/platform/mmci-omap-hs.1/by-name/system /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/mmci-omap-hs.1/by-name/userdata /data ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0
/dev/block/platform/mmci-omap-hs.1/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0
/dev/block/platform/mmci-omap-hs.1/by-name/splash /dropbox ext4 rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered 0 0
/dev/block/vold/179:12 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:12 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
#
cat /proc/partitions
Code:
# cat /proc/partitions
major minor  #blocks  name

 179        0    7553024 mmcblk0
 179        1        128 mmcblk0p1
 179        2        256 mmcblk0p2
 179        3      10240 mmcblk0p3
 179        4     196608 mmcblk0p4
 179        5      16384 mmcblk0p5
 179        6      65536 mmcblk0p6
 179        7      10240 mmcblk0p7
 179        8       5120 mmcblk0p8
 179        9     524288 mmcblk0p9
 179       10    1164288 mmcblk0p10
 179       11     262144 mmcblk0p11
 179       12    5254144 mmcblk0p12
#
cat /proc/filesystems
Code:
# cat /proc/filesystems
nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	cgroup
nodev	tmpfs
nodev	devtmpfs
nodev	binfmt_misc
nodev	debugfs
nodev	sockfs
nodev	usbfs
nodev	pipefs
nodev	anon_inodefs
nodev	rpc_pipefs
nodev	devpts
	ext3
	ext2
	ext4
nodev	ramfs
	vfat
	msdos
nodev	nfs
nodev	nfs4
#

ls /dev/block/platform/mmci-omap-hs.1/by-name
Code:
# ls /dev/block/platform/mmci-omap-hs.1/by-name
media
cache
userdata
system
splash
boot
backup
recovery
dfs
dkernel
bootloader
xloader
#

Probably doesn't help. But I guess it was worth a shot. I'm not sure what the partitions are mapped to. :/
 
Last edited:

pyrorob

Senior Member
Oct 19, 2006
1,095
177
40
Hickory, NC
OnePlus 6T
using root explorer i can tell that
/dev/block/platform/mmci-omap-hs.1/by-name/boot
is symlinked to
/dev/block/platform/mmci-omap-hs.1/mmcblk0p7
so if you wanted to mount boot
you could type
mount -o rw,remount /boot
i believe..
 
Last edited:

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
New York
well i did a dd if= from the phone to the sdcard, but now we can just grab the boot.img from the update on amazon's site
 

hitsndc

Member
Oct 1, 2008
43
2
Wow JackpotCalvin! How were you able to flash the clockwork recovery? Also are you still able to load your KF as normal?
 

death2all110

Senior Member
Sep 21, 2010
515
295
Illinois
another way to mount things as is done in the init.rc:

mount [email protected]/system system

so for rw..."mount -o rw,remount -t ext4 [email protected] /system"

anyway mounts are as follows:

backup -> mmcblk0p6
boot -> mmcblk0p7
bootloader ->mmcblk0p2
cache -> mmcblk0p11
dfs -> mmcblk0p4
dkernel -> mmcblk0p3
media -> mmcblk0p12
recovery -> mmcblk0p5
splash -> mmcblk0p8
system -> mmcblk0p9
userdata -> mmcblk0p10
xloader -> mmcblk0p1
 
Last edited:

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
New York
well we're at a bit of a road block as of right now as we have no way to navigate through the menu, we can just press OK and reboot the kindle. also, pressing reboot now does not start the device normally, it just reboots into clockwork. i'm looking for the flag that the OS puts in /cache or /data to trigger a recovery reboot because pressing reboot now does not remove that flag so it will continue to reboot into clockwork unless you do a little hackery to put the stock recovery back on it and then reboot it into the stock recovery and make it fail the signature verification this fluke update.zip i made. we need to find a way to make a fail safe to reboot into recovery as well in case when we start roming, something goes wrong
 

beatlesfan01

Senior Member
Sep 22, 2010
291
17
NW Indiana
Awesome work guys. I've got the Nook Tablet but thought I'd pop over to see how it's going. Again, awesome work.

Sent from my Nook Tablet using Tapatalk
 

timmytim

Senior Member
Jan 6, 2011
1,695
2,498
Phoenix
Here's the deal, I flashed a clockwork port for the kindle fire that I made. It was 100% useless as of now because of the one hardware button that we have to work with. I sent Koush a message on twitter asking if there is a possibility to have a long press and quick/short press differentiate between scrolling down and actually selecting the item on the menu but he hasn't gotten back to me yet but I'm sure he's working on it :D


How did you boot into recovery?
 

JackpotClavin

Inactive Recognized Developer
Feb 27, 2011
1,024
3,814
New York
well i've just made a clockwork backup of my current system. i believe ive found a way that we can manage to "navigate" through the menu, even though it's a real pain in the ass to do
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Here's the deal, I flashed a clockwork port for the kindle fire that I made. It was 100% useless as of now because of the one hardware button that we have to work with. I sent Koush a message on twitter asking if there is a possibility to have a long press and quick/short press differentiate between scrolling down and actually selecting the item on the menu but he hasn't gotten back to me yet but I'm sure he's working on it :D
    2
    http://i.imgur.com/9zWTk.jpg :D just gettings rid of those error messages now. had the wrong filesystem for /cache
    2
    Someone with a copy of device configs for the Fire that's used to compile CWM and a Kindle Fire handy should come by our IRC channel on Freenode in #twrp. A true touchscreen gui would get past all of this 1 button mess.

    twrp 2.0 touchscreen gui recovery - who needs a volume rocker?
    2
    Will port this later

    Sent from my DROID Pro using XDA App
    1
    you got partition table for fire yet ? i am looking for boot partition