How can I (we) contribute to dev, rooting, roms, etc? - 7" Kindle Fire HD Q&A, Help & Troubleshooting

I apologize if this is a newbie question, but now that my kindle fire 2 updated itself to 10.2.3, I have lost root. I've also noticed that no roms or bootloader workaround has been done for the kindle fire 2.
So my question is: if I have some experience with linux systems (although maybe not with android specifically), how can I get started contributing to the rom community? I ask this in the context of kindle fire 2 of course.
I found a few docs like this: dubdubdub sourceconference dot com slash publications/bos12pubs/android-modding-source.pdf
I noticed that /data is now under group perm rwx :system , and maybe there's an existing path towards getting system group perm from standard adb shell
Code:
127|[email protected]:/sys $ mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,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
/dev/block/platform/omap/omap_hsmmc.1/by-name/system /system ext4 ro,relatime,ba
rrier=1,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/userdata /data ext4 rw,nosuid,node
v,noatime,errors=panic,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/cache /cache ext4 rw,nosuid,nodev,
noatime,errors=panic,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/efs /efs ext4 rw,relatime,barrier=
1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,d
efault_permissions,allow_other 0 0
[email protected]:/sys $ ls -al /
ls -al /
drwxr-xr-x root root 2012-12-06 10:04 acct
drwxrwx--- system cache 2012-12-06 12:23 cache
dr-x------ root root 2012-12-06 10:04 config
lrwxrwxrwx root root 2012-12-06 10:04 d -> /sys/kernel/debug
drwxrwx--x system system 2012-12-05 11:54 data
-rw-r--r-- root root 89 1969-12-31 18:00 default.prop
drwxr-xr-x root root 2012-12-06 10:04 dev
drwxr-xr-x root root 2012-11-22 01:59 efs
lrwxrwxrwx root root 2012-12-06 10:04 etc -> /system/etc
-rwxr-x--- root root 98608 1969-12-31 18:00 init
-rwxr-x--- root root 2344 1969-12-31 18:00 init.goldfish.rc
-rwxr-x--- root root 9053 1969-12-31 18:00 init.omap4blazeboard.rc
-rwxr-x--- root root 4204 1969-12-31 18:00 init.omap4blazeboard.usb.
rc
-rwxr-x--- root root 17463 1969-12-31 18:00 init.rc
lrwxrwxrwx root root 2012-12-06 10:04 misc -> /dev/block/platfo
rm/omap/omap_hsmmc.1/by-name/misc
drwxrwxr-x root system 2012-12-06 10:04 mnt
dr-xr-xr-x root root 1969-12-31 18:00 proc
drwx------ root root 2012-11-28 01:23 root
drwxr-x--- root root 1969-12-31 18:00 sbin
lrwxrwxrwx root root 2012-12-06 10:04 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2012-12-06 10:04 sys
drwxr-xr-x root root 2012-12-06 06:33 system
-rw-r--r-- root root 272 1969-12-31 18:00 ueventd.goldfish.rc
-rw-r--r-- root root 1289 1969-12-31 18:00 ueventd.omap4blazeboard.r
c
-rw-r--r-- root root 4267 1969-12-31 18:00 ueventd.rc
lrwxrwxrwx root root 2012-12-06 10:04 vendor -> /system/vendor

re: contributing, and not moaning..
..respect to you, Sir, refreshing attitude - guess you can best help by doing..
for my own part, currently have a 'half-root' KF2, root read / ftp access, Google Music (only thing I need personally) etc. all working fine under 10.2.3, I cannot change folder permissions (/data, etc.) at all tho, either under adb or ftp (does ftp chmod work *at all*? on Fire? - I have zero android/Fire experience, unfortunately), any and all further ideas appreciated tho..
either that, or I guess we just wait on the 10.2.3 Youtube crack walkthrough

My impression so far is there are three categories of workaround for root:
file permissions exploits, which take advantage of log writing or other scripts that already have root, and hijack them to modify system perms (e.g. the qemu root method)
bootloader over-writing (e.g. cwm). KF2 uses a locked bootloader unlike KF1, but KF2 ("otter2" builds) share a lot of similarity with the kindle HD, and that bootloader has reportedly been successfully worked around by some people.
other exploits, e.g. the typical modifying of binary assembly files or overflow bugs that are totally outside of my purview
any others?
If there was a repository of ideas for #1, perhaps we can see if there's crossover of another vendor exploit with KF2.
Also, I'd love links that outline the boot, recovery, and OTA scripts for KF2
Ideas for trying #2 without bricking would be nice too

Related

[Q] OpenVPN Eclair 2.1 SGS I9000 **What is wrong?**

Hi all,
I'm still working trying to work my openvpn:
Link related to thread:
http://forum.xda-developers.com/showpost.php?p=8347800&postcount=3
http://code.google.com/p/android-openvpn-installer/issues/detail?id=2
Now, some info about my config:
# mount
mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/stl9 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p2 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0102,dmask=0002,allow_utime=0
020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Check load of tun.ko
#lsmod
tun 11088 0 - Live 0xbf203000
Path to busybox:
# which busybox
/system/xbin/busybox
Path to Openvpn:
# which openvpn
/system/xbin/openvpn
Links for openvpn due harcode
# busybox ls -la /system/xbin/bb
total 8
drwxrwxrwx 1 0 0 0 Oct 20 03:17 .
drwxr-xr-x 1 0 2000 0 Oct 20 03:18 ..
lrwsrwsrwt 1 0 0 60 Oct 20 03:14 ifconfig -> /system/xbin/ifconfig
lrwsrwsrwt 1 0 0 56 Oct 20 03:17 route -> /system/xbin/route
# busybox ls -la /system/xbin/ifconfig
busybox ls -la /system/xbin/ifconfig
lrwsrwsrwt 1 0 0 60 Oct 20 07:19 ←[1;36m/system/xbin/ifconfig←[0m -> ←[1;32m/system/xbin/busybo←[0m
# busybox ls -la /system/xbin/route
busybox ls -la /system/xbin/route
lrwsrwsrwt 1 0 0 60 Oct 20 07:19 ←[1;36m/system/xbin/route←[0m -> ←[1;32m/system/xbin/busybox←[0m
Path to tun.ko module
# busybox ls -la /system/lib/modules
busybox ls -la /system/lib/modules
total 152
drwxrwxrwx 1 0 0 0 Oct 20 07:19 ←[1;34m.←[0m
drwxr-xr-x 1 0 0 0 Oct 20 02:19 ←[1;34m..←[0m
-rwxrwxrwx 1 0 0 154447 Oct 20 12:19 ←[1;32mtun.ko←[0m
Busybox Version:
# busybox
busybox
BusyBox v1.17.1 (2010-08-12 23:44:34 CDT) multi-call binary.
Openvpn Version based on first link
# openvpn
openvpn
OpenVPN 2.1_rc15 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] built on Jan 21 2010
Now, my openvpn connect, but cant get ip address , i mean, on GUI interface of openvpn after connect, still like "connected to mydomain.com as"..
if a try to launch via terminal (adb shell) after write "openvpn --config <path to my *.ovpn config file>, freeze the screen and nothins happens...
This is the final phase for each connection, looking on my logfile:
Wed Oct 20 09:13:40 2010 TLS: Initial packet from XXX.XXX.XXX.XXX:YYY, sid=caddb5cd 96066b25
Wed Oct 20 09:13:43 2010 VERIFY OK: depth=1, /C=CO/ST=CU/L=Bogota/O=Favernet/CN=NASVPN/[email protected]
Wed Oct 20 09:13:43 2010 VERIFY OK: depth=0, /C=CO/ST=CU/O=Favernet/CN=FavernetVPN/[email protected]
Wed Oct 20 09:13:56 2010 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Oct 20 09:13:56 2010 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 20 09:13:56 2010 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Wed Oct 20 09:13:56 2010 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Wed Oct 20 09:13:56 2010 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Wed Oct 20 09:13:56 2010 [FavernetVPN] Peer Connection Initiated with XXX.XXX.XXX.XXX:YYY
Wed Oct 20 09:13:57 2010 Initialization Sequence Completed
I'm not good with this, but i don't know what else need verification..any suggestions?
http://forum.xda-developers.com/showthread.php?t=729531 >> This is a DEVELOPMENT section, not GENERAL. Do NOT post questions here!
try here: http://forum.xda-developers.com/forumdisplay.php?f=748
Moved to Q&A as not development

Need some Dev level information

As you know, we (TBH) don't have the Atrix phone in hand.
So, I am asking someone here to pull some information for me and to post it back in this thread.
can someone please run this command from terminal on their device or via adb.
mount
And post back the information.
----------------------------------
then run this command
ls -l /dev/block
and post back the information.
-------------------------
Thanks everyone.
Hope this helps
Code:
$ mount
mount
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
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p12 /system ext3 ro,noatime,nodiratime,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext3 rw,nosuid,nodev,relatime,errors=continue,data=o
rdered 0 0
/dev/block/mmcblk0p15 /cache ext3 rw,nosuid,nodev,relatime,errors=continue,data=
ordered 0 0
/dev/block/mmcblk0p3 /pds ext2 rw,nosuid,noexec,relatime 0 0
/dev/block/mmcblk0p13 /osh ext3 rw,relatime,errors=continue,data=ordered 0 0
tmpfs /osh/lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
varrun /osh/var/run tmpfs rw,nosuid,relatime,mode=755 0 0
varlock /osh/var/lock tmpfs rw,nosuid,nodev,noexec,relatime 0 0
securityfs /sys/kernel/security securityfs rw,relatime 0 0
/dev/block/mmcblk0p17 /preinstall ext3 ro,noatime,nodiratime,data=ordered 0 0
/dev/block/vold/179:18 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,
uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharse
t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:18 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,rela
time,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioc
harset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:33 /mnt/sdcard-ext vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,ioch
arset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-0 /mnt/asec/com.rovio.angrybirds-1 vfat ro,dirsync,nosuid,nodev,no
exec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,
shortname=mixed,utf8,errors=remount-ro 0 0
/proc /osh/proc proc rw,relatime 0 0
/dev/block/dm-1 /mnt/asec/com.wyse.pocketcloudfull-1 vfat ro,dirsync,nosuid,node
v,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso885
9-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.madfingergames.SamuraiII-1 vfat ro,dirsync,nosuid,
nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.rovio.angrybirdsseasons-1 vfat ro,dirsync,nosuid,n
odev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso
8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
$ ls -l /dev/block
ls -l /dev/block
lrwxrwxrwx root root 2011-03-07 14:40 254:3 -> ../map
per/9e9fdee1587a1f7e421c44e2a0a4f529
brw------- root root 254, 3 2011-03-07 14:40 dm-3
lrwxrwxrwx root root 2011-03-07 14:40 254:2 -> ../map
per/c220b83ae2fef0c024d6aaaedc1372dd
brw------- root root 254, 2 2011-03-07 14:40 dm-2
lrwxrwxrwx root root 2011-03-07 14:40 254:1 -> ../map
per/447e34eef1c168f64349a46e5c53d921
brw------- root root 254, 1 2011-03-07 14:40 dm-1
lrwxrwxrwx root root 2011-03-07 14:40 254:0 -> ../map
per/574105b5312bcfea832c37a35d62736f
brw------- root root 254, 0 2011-03-07 14:40 dm-0
lrwxrwxrwx root root 2011-03-07 14:40 179:18 -> ../mm
cblk0p18
lrwxrwxrwx root root 2011-03-07 14:40 179:33 -> ../mm
cblk1p1
lrwxrwxrwx root root 2011-03-07 14:40 179:32 -> ../mm
cblk1
drwxr-xr-x root root 2011-03-07 14:39 vold
brw-rw---- root mot_tcmd 179, 33 2011-03-07 14:39 mmcblk1p1
brw------- root root 179, 32 2011-03-07 14:39 mmcblk1
brw------- root root 179, 18 2011-03-07 14:39 mmcblk0p18
brw------- root root 179, 17 2011-03-07 14:39 mmcblk0p17
brw------- root root 179, 16 2011-03-07 14:39 mmcblk0p16
brw------- root root 179, 15 2011-03-07 14:39 mmcblk0p15
brw------- root root 179, 14 2011-03-07 14:39 mmcblk0p14
brw------- root root 179, 13 2011-03-07 14:39 mmcblk0p13
brw------- root root 179, 12 2011-03-07 14:39 mmcblk0p12
brw------- root root 179, 11 2011-03-07 14:39 mmcblk0p11
brw------- root root 179, 10 2011-03-07 14:39 mmcblk0p10
brw------- root root 179, 9 2011-03-07 14:39 mmcblk0p9
brw------- root root 179, 8 2011-03-07 14:39 mmcblk0p8
brw-rw---- root mot_tcmd 179, 7 2011-03-07 14:39 mmcblk0p7
brw-rw---- root mot_tcmd 179, 6 2011-03-07 14:39 mmcblk0p6
brw------- root root 179, 5 2011-03-07 14:39 mmcblk0p5
brw------- root root 179, 4 2011-03-07 14:39 mmcblk0p4
brw------- root root 179, 3 2011-03-07 14:39 mmcblk0p3
brw------- root root 179, 2 2011-03-07 14:39 mmcblk0p2
brw------- root root 179, 1 2011-03-07 14:39 mmcblk0p1
brw------- root root 179, 0 2011-03-07 14:39 mmcblk0
brw------- root root 7, 7 2011-03-07 14:39 loop7
brw------- root root 7, 6 2011-03-07 14:39 loop6
brw------- root root 7, 5 2011-03-07 14:39 loop5
brw------- root root 7, 4 2011-03-07 14:39 loop4
brw------- root root 7, 3 2011-03-07 14:39 loop3
brw------- root root 7, 2 2011-03-07 14:39 loop2
brw------- root root 7, 1 2011-03-07 14:39 loop1
brw------- root root 7, 0 2011-03-07 14:39 loop0
$

Problem with efs folder content

Hi,
I bought a brand new samsung galaxy s plus GT-I9001 in Poland (locked to Orange network) and I 'm trying to unlock the phone, but I can't because my phone does not contain the nv_data.bin file in the efs folder.
I have rooted the phone using the tutorial posted in
http://forum.xda-developers.com/wiki/Samsung_Galaxy_S_Plus/GT-I9001#Rooting
I got root access and found that in efs folder I got these files
Code:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ su
su
# pwd
pwd
/
# ls -l -a
ls -l -a
drwxrwx--x system system 2012-10-09 15:39 efs
dr-x------ root root 2012-10-10 13:27 config
drwxrwx--- system cache 2012-10-10 13:29 cache
drwxrwx--x system system 1980-01-06 01:00 persist
lrwxrwxrwx root root 2012-10-10 13:27 sdcard -> /mnt/sdcard
drwxr-xr-x root root 2012-10-10 13:27 acct
drwxrwxr-x root system 2012-10-10 13:27 mnt
lrwxrwxrwx root root 2012-10-10 13:27 vendor -> /system/vendor
lrwxrwxrwx root root 2012-10-10 13:27 d -> /sys/kernel/debug
lrwxrwxrwx root root 2012-10-10 13:27 etc -> /system/etc
-rw-r--r-- root root 5610 1970-01-01 01:00 ueventd.rc
-rw-r--r-- root root 0 1970-01-01 01:00 ueventd.goldfish.rc
drwxr-xr-x root root 2012-10-10 12:15 system
drwxr-xr-x root root 2012-10-10 13:27 sys
drwxr-x--- root root 1970-01-01 01:00 sbin
-rw-r--r-- root root 339852 1970-01-01 01:00 recovery
dr-xr-xr-x root root 1970-01-01 01:00 proc
-rw-r--r-- root root 2011 1970-01-01 01:00 lpm.rc
drwxr-xr-x root root 1970-01-01 01:00 lib
-rwxr-x--- root root 24620 1970-01-01 01:00 initlogo.rle
-rwxr-x--- root root 30518 1970-01-01 01:00 init.rc
-rwxr-x--- root root 6900 1970-01-01 01:00 init.qcom.sh
-rwxr-x--- root root 8590 1970-01-01 01:00 init.qcom.rc
-rwxr-x--- root root 1677 1970-01-01 01:00 init.goldfish.rc
-rwxr-x--- root root 106780 1970-01-01 01:00 init
-rw-r--r-- root root 118 1970-01-01 01:00 default.prop
drwxrwx--x system system 2012-10-10 13:27 data
-rw-r--r-- root root 38528 1970-01-01 01:00 charging.rle
-rw-r--r-- root root 22268 1970-01-01 01:00 ARIESVE.rle
drwx------ root root 2011-12-19 08:31 root
drwxr-xr-x root root 2012-10-10 13:35 dev
# cd efs
cd efs
# ls -l -a
ls -l -a
-rw-r--r-- system system 9 2012-10-09 15:39 cryptprop_applied_result
-rw-r--r-- root root 5 2012-10-10 10:51 cryptprop_onetimeboot
-rw-r--r-- system system 1 2012-10-09 15:39 cryptprop_essiv
drwx------ root root 1980-01-06 01:01 lost+found
drwxrwxr-x root root 1980-01-06 01:09 .files
-rw-r--r-- root root 3 2012-10-10 10:51 cryptprop_securewipedata
# cd .files
cd .files
# ls -l -a
ls -l -a
drwxrwxr-x media system 1980-01-06 01:01 .ssh01
-rw-rw-rw- radio radio 2 1980-01-06 01:09 keystr
drwxrwxr-x media system 1980-01-06 01:01 .jck12
drwxrwxr-x media system 1980-01-06 01:01 .dj550
as you can see the efs folder contain cryptprop files which are very small.
The phone works normally, it has its IMEI and connects to GSM network and WiFi network as well. (*#06# returns value 352377055840629)
I'm trying to unlock the phone myself but without nv_data.bin I'm getting nowhere...
Could someone please help me?
PS:
I have changed the stock rom (orange) to XEO rom (I9001XXKPU 2.3.6 and I9001XXKI2 2.3.4) but efs folder is the same each time.
I have checked the init.rc file in the root... ht file looks like this:
Line 56:
mkdir /efs 0771 system system
Line 131 - 135:
mount ext4 /dev/block/mmcblk0p27 /efs nosuid nodev barrier=0
insmod /lib/modules/sec_param.ko
Line 160 - 165:
#efs
chown system system /efs
chmod 0771 /efs
mkdir /efs/.files 0775
# Added for testing DIVX DRM
mkdir /efs/.files/.ssh01 0775
mkdir /efs/.files/.jck12 0775
mkdir /efs/.files/.dj550 0775
chown media system /efs/.files/.ssh01
chown media system /efs/.files/.jck12
chown media system /efs/.files/.dj550
chmod 0775 /efs/.files/.ssh01
chmod 0775 /efs/.files/.jck12
chmod 0775 /efs/.files/.dj550
This init.rc does not create the folders WiFi or Bluetooth like in other device (I checked in a galaxy SII)
The init.rc file is attached.
fcornejo said:
I 'm trying to unlock the phone,
Click to expand...
Click to collapse
It might be easier to use an app or tool from My Android Collections to unlock phone
xsenman said:
It might be easier to use an app or tool from My Android Collections to unlock phone
Click to expand...
Click to collapse
Well thanx, but all the aps and methods require the nv_data.bin file...
fcornejo said:
Well thanx, but all the aps and methods require the nv_data.bin file...
Click to expand...
Click to collapse
have a look at /persist folder.
xsenman said:
have a look at /persist folder.
Click to expand...
Click to collapse
There are files:
Code:
#
# cd persist
cd persist
# ls -l -a
ls -l -a
-rw-r--r-- root root 3468 2011-08-29 00:40 WCN1314_qcom_wlan_nv.bi
-rw-r--r-- root root 3 2011-08-29 00:40 efs_info.bin
drwxr-xr-x root root 2011-09-08 10:14 qcom
-rw-r--r-- root root 1656 2011-08-29 00:40 qcom_wlan_nv.bin
-rw-rw-rw- root root 2 2012-10-10 13:27 sd_det.bin
-rw-rw-rw- root root 1 2012-10-10 12:08 usb_sel.bin
drwxrwxr-x root root 1980-01-06 01:00 .files
-rw-rw-rw- root root 1 1980-01-06 01:00 movinand_checksum_pass
-rw-rw-rw- root root 1 1980-01-06 01:00 movinand_checksum_done

4.3 System Dump?

Anyone mind pulling the 4.3 System Dump?
adb shell
dd if=/dev/block/mmcblk0p4 of=/sdcard/system.img
exit
adb pull /sdcard/system.img
unlocked, rooted then was deleting some google apps and bloatware and now I can't get past the splash screen. Fastboot works and detects device so Im not bricked yet.
US 4.3 Sku by the way
schmeggy929 said:
US 4.3 Sku by the way
Click to expand...
Click to collapse
Ow, as I said I can do it in about 2 hours.. but I've the ww edition...
And if I remember correctly it is partition 4 not 1 (mmcblk0p4)
menollo said:
Ow, as I said I can do it in about 2 hours.. but I've the ww edition...
And if I remember correctly it is partition 4 not 1 (mmcblk0p4)
Click to expand...
Click to collapse
ok thanks I will update the thread, will the WW sku boot on a US version?
mmcblk01 used to be system on the TF700T...
Have they changed it to mmcblk04 on the TF701T?
04 was the staging partition
sbdags said:
mmcblk01 used to be system on the TF700T...
Have they changed it to mmcblk04 on the TF701T?
04 was the staging partition
Click to expand...
Click to collapse
Im not sure, still stuck on the asus splash screen. I originally thought it was mmcblk01.
Anyone wanna help a brotha out? mmcblk01 and mmcblk04, I'll fastboot both lol
Sent from my HTCONE using Tapatalk
[email protected]:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/platform/sdhci-tegra.3/by-name/ADF /ADF ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/PER /persist ext4 ro,seclabel,relatime,data=ordered 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,errors=panic,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,errors=panic,data=ordered 0 0
tmpfs /Removable tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
[email protected]:/ $ ls -l /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root root 2013-11-16 20:54 ADF -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-11-16 20:54 APD -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2013-11-16 20:54 APP -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-11-16 20:54 CAC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-11-16 20:54 CRA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-11-16 20:54 DTB -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-11-16 20:54 EKS -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-11-16 20:54 LNX -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-11-16 20:54 MDA -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-11-16 20:54 MSC -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-11-16 20:54 PER -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-11-16 20:54 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-11-16 20:54 UDA -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2013-11-16 20:54 USP -> /dev/block/mmcblk0p9
menollo said:
[email protected]:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/platform/sdhci-tegra.3/by-name/ADF /ADF ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/PER /persist ext4 ro,seclabel,relatime,data=ordered 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,errors=panic,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,errors=panic,data=ordered 0 0
tmpfs /Removable tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
[email protected]:/ $ ls -l /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root root 2013-11-16 20:54 ADF -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-11-16 20:54 APD -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2013-11-16 20:54 APP -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-11-16 20:54 CAC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-11-16 20:54 CRA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-11-16 20:54 DTB -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-11-16 20:54 EKS -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-11-16 20:54 LNX -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-11-16 20:54 MDA -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-11-16 20:54 MSC -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-11-16 20:54 PER -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-11-16 20:54 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-11-16 20:54 UDA -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2013-11-16 20:54 USP -> /dev/block/mmcblk0p9
Click to expand...
Click to collapse
First off thank you for taking the time to do this. I never created a image file, so im a clueless with what im supposed to do with this text.
menollo said:
[email protected]:/ $ mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/platform/sdhci-tegra.3/by-name/ADF /ADF ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/PER /persist ext4 ro,seclabel,relatime,data=ordered 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,seclabel,relatime,mode=700 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/platform/sdhci-tegra.3/by-name/APP /system ext4 ro,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 rw,seclabel,nosuid,nodev,noatime,discard,errors=panic,data=ordered 0 0
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,errors=panic,data=ordered 0 0
tmpfs /Removable tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
[email protected]:/ $ ls -l /dev/block/platform/sdhci-tegra.3/by-name/
lrwxrwxrwx root root 2013-11-16 20:54 ADF -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-11-16 20:54 APD -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2013-11-16 20:54 APP -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-11-16 20:54 CAC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-11-16 20:54 CRA -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-11-16 20:54 DTB -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-11-16 20:54 EKS -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-11-16 20:54 LNX -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-11-16 20:54 MDA -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-11-16 20:54 MSC -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-11-16 20:54 PER -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-11-16 20:54 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-11-16 20:54 UDA -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2013-11-16 20:54 USP -> /dev/block/mmcblk0p9
Click to expand...
Click to collapse
Thanks for confirming. Most blocks got moved for the tegra4.
Ok So I solved my little soft bricked problem. I flashed the asus firmware for 4.2.2 (10.14.1.47) and reflash CWM. Restore my backup(thank god I made a backup!). All is good. Loaded the newest firmware(10.26.1.7) and back up on 4.3.
I wasn't as smart to create a backup image of my tablet ^^
Anyway, I'm running a WW-version of this tablet, already upgraded to 4.3.
Is anyone capable of pulling a system.img off a 4.3 WW TF701?
It would be greatly appreciated.
Thanks in advance.

Watch shutting down before finish boot

Hello guys,
first of all, sorry for my bad english
now i have some strange problems too, and i need your help.
A year ago i flashed a moddet rom, but a bug has caused that the watch reboots when booting in the cradle.
finally my watch restart over and over for a whole night.
Afterwards she started to turn off randomly. Now i replaced the battery with a new one and flashed the newest stock rom and TWRP.
While in TWRP the watch keeps on and charge correctly until 100%.
When i try to boot normaly it boots up, says "Android is starting - X of 45 Apps" when all 45 Apps are done it says "Finish boot".
after that it says "Is shuting down" and switch off immediately .
After starting again, it shows the colorful loadingscreen and switch off again.
This is reproducible:
5 times shut down during colorful loadingscreen
"Updating Android" - shut down
and so on.
This is constantly repeated
I tried different stock roms, but have the same issue everytime.
Is that a Kernel or another softwareproblem? because in TWRP the Watch stay on the whole time. But right before starting the Android Mainscreen it shuts off.
Edit: one thing i recognize today:
The watch dont turn on automatically when i place it on the cradle
greetings
Stephan
Try to completely wipe the system and then flash new one from TWRP.
I mean wipe the system partition from ADB
i wiped the partition with
adb shell
rm -rf /system/*
and flashed the Rom via TWRP.
But same issue
I do not know if it is a error:
i tried to sidoload superSU in TWRP and get the error:
Failed to mount /system (no such device)
In TWRP im unable to Mount system. Its not selectable
i cant find the SYSTEM partition:
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell cat /proc/mounts
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,seclabel,relatime 0 0
pstore /sys/fs/pstore pstore rw,relatime 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
/dev/block/mmcblk0p21 /data ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk0p21 /sdcard ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/block/mmcblk0p20 /cache ext4 rw,seclabel,relatime,data=ordered 0 0
only in the mappings i can find system
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell ls -al /dev/block/platform/msm_sdcc.1/by-name
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
drwxr-xr-x 2 root root 480 Jan 1 00:00 .
drwxr-xr-x 4 root root 560 Jan 1 00:00 ..
lrwxrwxrwx 1 root root 21 Jan 1 00:00 DDR -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 Jan 1 00:00 aboot -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 20 Jan 1 00:00 abootb -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 Jan 1 00:00 boot -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 21 Jan 1 00:00 cache -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 Jan 1 00:00 grow -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 21 Jan 1 00:00 imgdata -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 Jan 1 00:00 laf -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 Jan 1 00:00 metadata -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 Jan 1 00:00 misc -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 Jan 1 00:00 persist -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 Jan 1 00:00 recovery -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 20 Jan 1 00:00 rpm -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 20 Jan 1 00:00 rpmb -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 20 Jan 1 00:00 sbl1 -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 20 Jan 1 00:00 sbl1b -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 20 Jan 1 00:00 sdi -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 Jan 1 00:00 ssd -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 Jan 1 00:00 system -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 20 Jan 1 00:00 tz -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 20 Jan 1 00:00 tzb -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 21 Jan 1 00:00 userdata -> /dev/block/mmcblk0p21
Which TWRP are you using?
robimarko said:
Which TWRP are you using?
Click to expand...
Click to collapse
twrp-3.1.0-0-lenok
Thats the issue,officiall TWRP was not working on 3.0.2 so it is probably not working on 3.1.
I use an unofficall image,if I am not mistaken this should be it
http://www.mediafire.com/download/rhfr5ps2c8ssxx5/twrp-3.0.0-0-lenok+squashfs.img
And it works
this works thanks! Mounting works
Now i will try to sideload the rom (M1D65H) again, hopefully my watch will boot
btw: M1D65H etc is the versionnr? Or does it have to fit my watch?
ARRRGH!
Still the same problem:crying:
Maybe stupid question but have you tried to wipe cache and format everything except recovery from TWRP?
robimarko said:
Maybe stupid question but have you tried to wipe cache and format everything except recovery from TWRP?
Click to expand...
Click to collapse
i make a factory reset (wipes Data, cache and dalvik) via TWRP.
if i try to wipe System with TWRP it says: Unable to wipe /system -- unknown file system "auto"
Is there another way to format everything? With adb there is no command like wipe or format
Yes,through TWRP.
In Wipe,through advanced
robimarko said:
Yes,through TWRP.
In Wipe,through advanced
Click to expand...
Click to collapse
Its unable to wipe /system
Now i have flashed the old 5.1.1 and have the same problem. Maybe a hardware problem?
Hm,I doubt it since it does not reebot in TWRP.
And not during the Android update or Upgrade process. Only when it tries to load the homescreen i think. Is there a kind of safemode like in windows?
No ideas anymore?
Blueforcer I am having the exact same issues. Since my watch is on the new read only system OS I have not been able to get my watch to boot. I am able to use fastboot and adb but once it loads it just stays on the startup screen for a few minutes and then shuts down.
Does anyone know if there is a way to wipe the entire contents and reload from a working watch? I have tried multiple boot/recovery, but believe the issue stems from inside the systems folders.
Thoughts?
hello all.
It appears I am suffering from the same or similar issues. My watch wont boot fully. It boots, and then on completion it immediately says "switching off".
I have reset it. And tried to wipe system. And im now at the same point where the system folder wont wipe properly. It errors saying "unknown filesystem 'auto'".
This to me looks like a software bug. In either twrp or the rom itself. The issue started for me when the battery ran too low. My rom was fully stock. Nothing changed.
Where can we report this to LG? My watch is well out of warranty so I am holding no hope for a fix. Seems my watch got bricked by this update to me.
EDIT: UPDATE!! Its fixed!! For now!
I used this recovery and used advanced wipe to wipe the system folder. Which resulted in no error about the filesystem. And I then sideloaded the twrp flashable factory zip.
I hope you guys can fix too!
Well it seems I'm still in the same boat. Although it's not happening immediately after bootup, my watch is still randomly shutting itself down.
Got enough time while it's booted to get a logcat, but can't see what is doing it.

Categories

Resources