Best way to use ADB Shell - cmd.exe driving me crazy - Android Q&A, Help & Troubleshooting

Hello,
Is there an alternative out there to using the windows command prompt (that's not linux...) to start ADB. The fixed width and other odd screen buffering issues drive me crazy, and I can't just ctrl-c to exit commands because it kills adb.
What do you guys use?

andrew500 said:
Hello,
Is there an alternative out there to using the windows command prompt (that's not linux...) to start ADB. The fixed width and other odd screen buffering issues drive me crazy, and I can't just ctrl-c to exit commands because it kills adb.
What do you guys use?
Click to expand...
Click to collapse
this is NOT a troll but...
the cmd.exe is what it is: a huge piece of crap.
get ubuntu in virtuabox

Off the top of my head, "take command" or console2 on sourceforge are 2 decent cmd shell replacements, but why not go via cygwin and invoke adb within its bash shell/environment ?

There's also Ansicon, but I don't think that will help with all the issues. Not sure the Cygwin route helps hugely, as the bash shell is running within & limited by cmd.exe, bicbw. There is another solution, but I can't recall the url or name: someone patched putty to allow it to act as a local terminal for precisely these reasons; probably worth seaching for... Ahh, puttycyg. It needs cygwin to run, which I'd forgotten. Works very nicely, though I'm trying Ansicon atm as it's leaner & worth a test.

cauli said:
There's also Ansicon, but I don't think that will help with all the issues. Not sure the Cygwin route helps hugely, as the bash shell is running within & limited by cmd.exe, bicbw. There is another solution, but I can't recall the url or name: someone patched putty to allow it to act as a local terminal for precisely these reasons; probably worth seaching for... Ahh, puttycyg. It needs cygwin to run, which I'd forgotten. Works very nicely, though I'm trying Ansicon atm as it's leaner & worth a test.
Click to expand...
Click to collapse
Doh! puttycyg is what I was thinking as I suggested cygwin bash

Thanks for the ansicon suggestion, finally a simple "ls -l" doesn't look like complete garbage!
I tried the puttycyg suggestion but Putty just goes "ding" when I tell it to run. I've tried running it from a cygwin shell and the same deal. I've got Cygwin 1.7.1 installed, any idea what it's problem is?
I stuck all the putty binaries into the c:\cygwin folder but no joy.

Thanks. I forgot how nice real command line tools are. Putty for me

Might have to give this a try

knightnz said:
Thanks for the ansicon suggestion, finally a simple "ls -l" doesn't look like complete garbage!
I tried the puttycyg suggestion but Putty just goes "ding" when I tell it to run. I've tried running it from a cygwin shell and the same deal. I've got Cygwin 1.7.1 installed, any idea what it's problem is?
I stuck all the putty binaries into the c:\cygwin folder but no joy.
Click to expand...
Click to collapse
I recall I had initial issues getting it to launch but I can't recall the details. It had something to do with saved profiles. IIRC (which isn't very likely I'm afraid) puttycyg.exe -cygterm would behave as you described, but if I ran puttycyg normally, created a profile which uses cygterm & then saved this as foo, puttycyg.exe -load "path to foo" worked as expected.

It's possible to interrupt a process during and ADB session without killing ADB under Windows cmd.exe by using Ctrl-] (control bracket) followed by Enter.
This apparently sends a SIGQUIT to the foreground process, without killing your adb shell session.
$ vmstat
vmstat
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
0 0 8168 48112 275200 15520 68 67 0 1 0 0 99 0 0
0 0 9656 48060 273588 15520 131 499 0 10 0 3 87 0 0
0 0 9656 48060 273588 15520 129 125 0 2 0 1 98 0 0
^\ 0 0 9656 48060 273592 15520 96 369 0 0 0 1 99 0 0 <<<< Ctrl+] outputs what's in red
^\
[1] Quit vmstat
$ $

pzenari said:
It's possible to interrupt a process during and ADB session without killing ADB under Windows cmd.exe by using Ctrl-] (control bracket) followed by Enter.
Click to expand...
Click to collapse
Nice
On german keyboards, this is Strg-#

More info to be found?
pzenari said:
It's possible to interrupt a process during and ADB session without killing ADB under Windows cmd.exe by using Ctrl-] (control bracket) followed by Enter.
This apparently sends a SIGQUIT to the foreground process, without killing your adb shell session.
$ vmstat
vmstat
procs memory system cpu
r b free mapped anon slab in cs flt us ni sy id wa ir
0 0 8168 48112 275200 15520 68 67 0 1 0 0 99 0 0
0 0 9656 48060 273588 15520 131 499 0 10 0 3 87 0 0
0 0 9656 48060 273588 15520 129 125 0 2 0 1 98 0 0
^\ 0 0 9656 48060 273592 15520 96 369 0 0 0 1 99 0 0 <<<< Ctrl+] outputs what's in red
^\
[1] Quit vmstat
$ $
Click to expand...
Click to collapse
Useful.
How did you figure this out? Are they any more interfered-with shortcuts for which alternatives commands exist? (I've only encountered Ctrl+C problems so far—which you've thankfully just solved for me)
Thanks,
kA

Related

ext partition on windows

Hi guys, I tried ext2fs and ext2fsd to see my ext2 partition on windows but I just can't see it. I tried rebooting my phone and computer but I only see the fat32 partition.
Anybody ran into it before ?
Btw, I would like to make my own rom so does anybody have any tutorial for me ?
Tutorial like : how to include your apks and saves that titanium backup does.
Btw I would like to explore my ext partition cuz some apps give me error when updating so I want to check the remaining room.
I am also seeking for the best superuser apk at the moment. Cuz for example,what the hell do I do if I prevent an app from using root access and its an error ? I mean ok I can click on the entry on Superuser but after that Superuser didnt ask me about root access and I had to reflash the rom cuz it was unusable.
(I already tried to flash a zip containing a superuser but it gave me an error at line 7 lol ... and trying to launch the apk with astro didnt work)
Thank's guyz
btw : all my recent nandroids backup fail when restoring telling me to use adb but adb just tells me files are corupted. < dead micro sd ? :// what's your opinion is it a frequent error or anything?
Mister-Tea said:
Hi guys, I tried ext2fs and ext2fsd to see my ext2 partition on windows but I just can't see it. I tried rebooting my phone and computer but I only see the fat32 partition.
Anybody ran into it before ?
Btw, I would like to make my own rom so does anybody have any tutorial for me ?
Tutorial like : how to include your apks and saves that titanium backup does.
Btw I would like to explore my ext partition cuz some apps give me error when updating so I want to check the remaining room.
I am also seeking for the best superuser apk at the moment. Cuz for example,what the hell do I do if I prevent an app from using root access and its an error ? I mean ok I can click on the entry on Superuser but after that Superuser didnt ask me about root access and I had to reflash the rom cuz it was unusable.
(I already tried to flash a zip containing a superuser but it gave me an error at line 7 lol ... and trying to launch the apk with astro didnt work)
Thank's guyz
btw : all my recent nandroids backup fail when restoring telling me to use adb but adb just tells me files are corupted. < dead micro sd ? :// what's your opinion is it a frequent error or anything?
Click to expand...
Click to collapse
You can see your ext partitions via adb shell, i forget what the mounting command is but i believe that's the only way to see it.
for ext partition:
put your card in external card reader, then you'll be able to see all partitions.
if you're using phone to read card, it will mount only fat partition, bcoz ext is in constant usage, so you have no access to ext via windows (you can get access via adb shell)
remaining space on ext you can see for example in android explorer.
questions about cooking rom
topics with tutorials how to create own rom are somewhere on this forum, use search.
and create separate topics for each problem, post title is only about ext so probably nobody will answer rest of questions. i see that are questions absolutely independent of ext part about which is this topic.
zbaracki said:
for ext partition:
put your card in external card reader, then you'll be able to see all partitions
Click to expand...
Click to collapse
That's not true and won't work - Windows cannot natively mount linux partitions. There are some tools to allow you to access them read only but not advisable.
If you want to access the ext partition, you will need to use linux so either set up a dual boot system or use a live CD.
What I think zbaracki was getting at was that you would need to remove the card from the phone to see the partition with anything other than ADB, but even then, Windows won't see it.
HTH.
Smiffy.
You could create a Linux virtual machine using VirtualBox. That would put Windows to good use!
There are ext2 plugins for Total Commander.
Free.
Easiest solution for Windows: http://www.fs-driver.org/
Others solutions: boot a Gparted LiveCD or Install Ubuntu (dual boot if not ready to be a full linux user (don't forget your phone is running on a linux kernel ))
I have done via ADB!
At android sdk/windows/tools I have "cmd exe"
and I get this:
Code:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
C:\android-sdk-windows\tools>adb shell
* daemon not running. starting it now *
* daemon started successfully *
# ls -al /data
ls -al /data
drwxrwx--x 1 1000 1000 2048 May 31 07:45 .
drwxr-xr-x 14 0 0 0 May 31 10:43 ..
drwxrwxrwx 1 0 0 2048 May 31 07:45 DxDrm
drwxrwx--x 1 1000 1000 2048 May 31 07:47 anr
lrwxrwxrwx 1 0 0 14 May 31 10:21 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 May 31 10:21 app-private -> /system/s
d/app-private
drwx------ 1 1000 1000 2048 May 31 07:52 backup
drwxrwxrwx 1 1002 1002 2048 May 31 10:45 btips
drwxrwx--x 1 1000 1000 2048 May 31 09:55 dalvik-cache
drwxrwx--x 1 1000 1000 2048 May 31 07:45 data
drwxr-x--- 1 0 1007 2048 May 31 07:45 dontpanic
lrwxrwxrwx 1 0 0 11 May 31 07:45 drm -> /data/local
drwxrwx--x 1 2000 2000 2048 May 31 07:45 local
drwxrwx--- 1 0 0 2048 May 31 07:45 lost+found
drwxrwx--t 1 1000 9998 2048 May 31 07:45 misc
drwx------ 1 0 0 2048 May 31 10:45 property
-rw-rw-rw- 1 1013 1000 2 May 31 08:11 pvcodec.txt
drwxrwxr-x 1 1000 1000 2048 May 31 10:46 system
drwxr-xr-x 1 1000 1000 2048 May 31 07:54 tombstones
drwxrwxrwx 1 1018 1018 2048 May 31 07:45 wimax
# mount
mount
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
none on /dev/cpuctl type cgroup (rw,cpu)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p2 on /system/sd type ext2 (rw,noatime,nodiratime,errors=conti
nue)
/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=
1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=is
o8859-1,shortname=mixed,utf8,errors=remount-ro)
# df -h
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.6M 0 95.6M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 149.9M 20.1M 88% /system
/dev/block/mtdblock5 165.8M 69.2M 96.6M 42% /data
/dev/block/mtdblock4 130.0M 1.1M 128.9M 1% /cache
/dev/block/mmcblk0p2 228.8M 719.0K 215.9M 0% /system/sd
/dev/block//vold/179:1
1.6G 124.0K 1.6G 0% /sdcard
#
My method:
To check whether App2SD is set up really, there are two possibilities. The first would be that you control whether the links are set correctly on the SD card. For this you start adb shell with the argument:
adb shell
And give it one in the shell:
ls-al / data
Then, the folder app, app-private (and depending on the after-A2SD also the folder version Dalvik-cache) to the SD card reference, there should therefore be read as:
app -> / system / sd / app
app-private -> / System / sd / app-private
Under certain circumstances also:
Dalvik-cache -> / system / sd / Dalvik-cache
Then Apps are stored on the SD card.
Otherwise, you can still see if enter the Ext-partition (for the apps) is properly mounted, this again in the adb shell:
Mount
Then all mounted partitions are displayed, the App2SD partition should be this:
/ Dev/block/mmcblk0p2 on / system / sd type ext2
To check how full the partition is, you give a:
df-h
Then you will see an overview, how full the partitions. The partition for App2SD you find i.d.R. here:
/dev/block/mmcblk0p2 228.8M 719.0K 215.9M 0% /system/sd

I need help from someone who has a WORKING rooted device.

Hey guys. I am working on a total recovery method for this device to assist you guys in making a Hard Bricked device work properly. I need to create a stock firmware package. I've been working my ass off trying to make this a reality.. I've downloaded 10 firmware packages with no success. So, now the only option left is to rebuild from a working device.
Currently we are missing the following partitions:
RECOVERY
DATAFS
USERFS
GANG
So, in this thread I'm asking for community help. I'll post the task and anyone can execute the commands:
1. use a terminal emulator on your phone and execute 'su' and 'mount'
2. copy-paste from the terminal emulator into the forums so we can locate the proper devices per partition
3. execute some commands to dump some partitions which will be determined by step 2
4. post the dumped partitions here.
Anyone can participate in any of these steps... Lets do this quickly!
Task1:
1. Download Terminal Emulator to your Galaxy Player
2. Type the following
Code:
su
mount
3. copypasta the results of the mount command here.
Hello, I appreciate your work! Will this be able to fix a brick no matter how screwed it is?
The reason I ask is because I believe I have messed up something concerning the pit file.
I was about to send it into samsung to repair, but if this could fix it...
iJimaniac said:
Hello, I appreciate your work! Will this be able to fix a brick no matter how screwed it is?
The reason I ask is because I believe I have messed up something concerning the pit file.
I was about to send it into samsung to repair, but if this could fix it...
Click to expand...
Click to collapse
I need this information to develop a total recovery solution.
I'm breaking this down really simple. Please don't clutter this thread. I probly should have posted in development
1. Download Terminal Emulator to your Galaxy Player
2. Type the following
Code:
su
mount
3. copy and paste the results of the mount command here.
Hope this helps
Also would you be able to create a rom for this device say ICS ?
Code:
$ export PATH=/data/local/bin:$PATH
$ su
# 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
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p13 /system rfs ro,relatime,vfat,log_off,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p10 /efs rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p16 /data rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p14 /dbdata rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p15 /cache rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/mmcblk0p9 /mnt/.lfs j4fs rw,relatime 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/block/vold/259:9 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
#
AdamOutler said:
Hey guys. I am working on a total recovery method for this device to assist you guys in making a Hard Bricked device work properly. I need to create a stock firmware package. I've been working my ass off trying to make this a reality.. I've downloaded 10 firmware packages with no success. So, now the only option left is to rebuild from a working device.
Currently we are missing the following partitions:
RECOVERY
DATAFS
USERFS
GANG
So, in this thread I'm asking for community help. I'll post the task and anyone can execute the commands:
1. use a terminal emulator on your phone and execute 'su' and 'mount'
2. copy-paste from the terminal emulator into the forums so we can locate the proper devices per partition
3. execute some commands to dump some partitions which will be determined by step 2
4. post the dumped partitions here.
Anyone can participate in any of these steps... Lets do this quickly!
Task1:
1. Download Terminal Emulator to your Galaxy Player
2. Type the following
Code:
su
mount
3. copypasta the results of the mount command here.
Click to expand...
Click to collapse
I can make this for you but do you need a US or EU version. Because I have a EU version. And for recovery it's recovery.bin? or .img?
---------- Post added at 01:16 PM ---------- Previous post was at 12:27 PM ----------
Here my mount command. Hope this helps.
Code:
$ su
su
# mount
mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/stl9 on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid/r
wx,iocharset=utf8)
/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,gid
/uid/rwx,iocharset=utf8)
/dev/block/mmcblk0p2 on /data type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=
no,gid/uid/rwx,iocharset=utf8)
/dev/block/stl10 on /dbdata type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no
,gid/uid/rwx,iocharset=utf8)
/dev/block/stl11 on /cache type rfs (rw,nosuid,nodev,relatime,vfat,llw,check=no,
gid/uid/rwx,iocharset=utf8)
/dev/block/stl6 on /mnt/.lfs type j4fs (rw,relatime)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,n
oatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codep
age=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:9 on /mnt/sdcard/external_sd type vfat (rw,dirsync,nosuid,no
dev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utim
e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro
)
/dev/block/vold/179:9 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noe
xec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,
codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/external_sd/.android_secure type tmpfs (ro,relatime,size=0k
,mode=000)
alright. Now task 2,3 and 4.. Anyone can do this.
I need a copy of working partitions from a device. You must trust me that I will perform a master clear. I will not post your personal partitions. I need a template to work with in order to get this device working.
2: execute the following code on your device
Code:
su
dd if=/dev/block/mmcblk0p16 of=/mnt/sdcard/data.rfs
dd if=/dev/block/mmcblk0p15 of=/mnt/sdcard/cache.rfs
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.rfs
3: copy the files "data.rfs", "cache.rfs" and "efs.rfs" from your SDCard. put them onto your computer and compress them to save space. They will compress down quite a bit.
4. host them somewhere and send me a PM. If you would like, I have a private FTP site at ftp://adamoutler.com and I will give you a login/password to log into my personal network attached storage and upload the zip file containing the partitions.
zaclimon said:
I can make this for you but do you need a US or EU version. Because I have a EU version. And for recovery it's recovery.bin? or .img?
Click to expand...
Click to collapse
It does not matter.. US, EU.. They're all fine. I think I can make a recovery.bin.
Rueben_ said:
Hope this helps
Also would you be able to create a rom for this device say ICS ?
Click to expand...
Click to collapse
That's possible. I don't own a device to work with, but a total recovery solution comes before any development. You have to have a way to get back to stock.
This is all that's left
2: use market app Terminal Emulator and run the following commands on the device
Code:
su
dd if=/dev/block/mmcblk0p16 of=/mnt/sdcard/data.rfs
dd if=/dev/block/mmcblk0p15 of=/mnt/sdcard/cache.rfs
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.rfs
3: copy the files "data.rfs", "cache.rfs" and "efs.rfs" from your SDCard. put them onto your computer and compress them to save space. They will compress down quite a bit.
4. host them somewhere they can be deleted... a personal mediafire account or PM me for access to my server.
I can make an Odin3 1-Click back-to-stock from there.
AdamOutler said:
This is all that's left
2: use market app Terminal Emulator and run the following commands on the device
Code:
su
dd if=/dev/block/mmcblk0p16 of=/mnt/sdcard/data.rfs
dd if=/dev/block/mmcblk0p15 of=/mnt/sdcard/cache.rfs
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.rfs
3: copy the files "data.rfs", "cache.rfs" and "efs.rfs" from your SDCard. put them onto your computer and compress them to save space. They will compress down quite a bit.
4. host them somewhere they can be deleted... a personal mediafire account or PM me for access to my server.
I can make an Odin3 1-Click back-to-stock from there.
Click to expand...
Click to collapse
I can't help you with this. I have an error which is said there is no such files or directory.
zaclimon said:
I can't help you with this. I have an error which is said there is no such files or directory.
Click to expand...
Click to collapse
You may have typed it wrong. Please try again.
Another method for those of you with Linux or any type of SSH terminal like the windows tool puTTY, is to use an app like SSHDroid then terminal in to your device and copy-paste the code block in.
This is all that's left
2: use market app Terminal Emulator and run the following commands on the device
Code:
su
dd if=/dev/block/mmcblk0p16 of=/mnt/sdcard/data.rfs
dd if=/dev/block/mmcblk0p15 of=/mnt/sdcard/cache.rfs
dd if=/dev/block/mmcblk0p10 of=/mnt/sdcard/efs.rfs
3: copy the files "data.rfs", "cache.rfs" and "efs.rfs" from your SDCard. put them onto your computer and compress them to save space. They will compress down quite a bit.
4. host them somewhere they can be deleted... a personal mediafire account or PM me for access to my server.
I can make an Odin3 1-Click back-to-stock from there.
I have the same error coming up ? :/
Error: cannot open for write: No such file or directory
Rueben_ said:
I have the same error coming up ? :/
Error: cannot open for write: No such file or directory
Click to expand...
Click to collapse
Do you have an SDCard in your device?
try the same lines with /sdcard instead of /mnt/sdcard.
Code:
su
dd if=/dev/block/mmcblk0p16 of=/sdcard/data.rfs
dd if=/dev/block/mmcblk0p15 of=/sdcard/cache.rfs
dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.rfs
AdamOutler said:
Do you have an SDCard in your device?
try the same lines with /sdcard instead of /mnt/sdcard.
Code:
su
dd if=/dev/block/mmcblk0p16 of=/sdcard/data.rfs
dd if=/dev/block/mmcblk0p15 of=/sdcard/cache.rfs
dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.rfs
Click to expand...
Click to collapse
It's not working either. I think the player don't have these blocks.
zaclimon said:
It's not working either. I think the player don't have these blocks.
Click to expand...
Click to collapse
The player has these blocks, you can't write them to the sdcard. it says can't write.
Code:
Error: cannot open for write: No such file or directory
what is the sdcard called on the filesystem?
try changing the blocksize... i belive it was 512 on this device
Code:
su
dd if=/dev/block/mmcblk0p16 of=/sdcard/data.rfs bs=512
dd if=/dev/block/mmcblk0p15 of=/sdcard/cache.rfs bs=512
dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.rfs bs=512
I can get these files directly from your device if you want to add me on google talk.. we need to get market app wireless adb installed and put your device into the DMZ on your router. *myusername* @gmail.com
AdamOutler said:
try changing the blocksize... i belive it was 512 on this device
Code:
su
dd if=/dev/block/mmcblk0p16 of=/sdcard/data.rfs bs=512
dd if=/dev/block/mmcblk0p15 of=/sdcard/cache.rfs bs=512
dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.rfs bs=512
Click to expand...
Click to collapse
I checked my mount and used the stl block instead of mmcblk0p block. Is this matter? What is DMZ? I think data will take a little more time.
Ok I have my files. What do I do now?
EDIT: My blocks and Rueben_'s are different. That's why it don't work with me.
zaclimon said:
I checked my mount and used the stl block instead of mmcblk0p block. Is this matter? What is DMZ? I think data will take a little more time.
Click to expand...
Click to collapse
DMZ on a router is where you unrestrict the IP address of a device on your network. Everything is directed to that IP. Othewise I need ports 22 and 5555 directed to the IP address of your device running adbwireless.
AdamOutler said:
DMZ on a router is where you unrestrict the IP address of a device on your network. Everything is directed to that IP. Othewise I need ports 22 and 5555 directed to the IP address of your device running adbwireless.
Click to expand...
Click to collapse
It seems difficult to configure it on my router. It would be easier to upload it no?
zaclimon said:
It seems difficult to configure it on my router. It would be easier to upload it no?
Click to expand...
Click to collapse
PM sent with my information, login and password.
I hope this works, just in case, can you ALSO get the BML blocks for this?

[Discussion] [GB1 ICS] BML vs MTD for partitions.

As hanthesolo succeeded in porting GT-I9000 GB Rom to Galaxy Player 4.0, I decided to base our ICS on teamhacksung's GT-I9000 cm9. So now I successfully modified kernel config and compiled it.
But, what I'm stucking now is the partitions. We can base on mtd, but I heard that it is dangerous and can cause hard brick. So I thought ans thought about it and finally make a thread. So devs, let's decide about it.
And if we decided to go on bml, we should modify *.rc.
Sent from my YP-GB1 using xda app-developers app
Neodymium said:
As hanthesolo succeeded in porting GT-I9000 GB Rom to Galaxy Player 4.0, I decided to base our ICS on teamhacksung's GT-I9000 cm9. So now I successfully modified kernel config and compiled it.
But, what I'm stucking now is the partitions. We can base on mtd, but I heard that it is dangerous and can cause hard brick. So I thought ans thought about it and finally make a thread. So devs, let's decide about it.
And if we decided to go on bml, we should modify init.rc.
Sent from my YP-GB1 using xda app-developers app
Click to expand...
Click to collapse
Well we already got tdmcode which based himself from team hacksung and he managed to get himself mtd/yaffs2 to the YP-G1 (for early CM7 builds)
---------- Post added at 09:22 AM ---------- Previous post was at 09:17 AM ----------
Also it's seems to be more difficult to backport things than to use them (eg the 3.0 parts into 2.6)
I concur, let's use mtd/yards for the partition table, since it's been used successfully before, and is easier (?) to implement than bml. BTW, you don't need to compile cm from source, all we need is a booting 3.xx kernel to get ICS/JB running with sgs sources (which opens up a world of options). Considering the fact that this dev community is so miniscule, I think that we should gear our efforts more towards allowing the end user to run sgs ROMs, than create cm/aosp/aokp builds ourselves, although for the devving stage, you're right, it probably easier to use a self-compiled cm image.
Then can you guys explain me about the danger of mtd? Somebody told me that mtd is dangerous. And, I know that we should flash PIT to go back to bml, then what happens? Exactly what partitions are wiped? Please tell me
Sent from my YP-GB1 using xda app-developers app
hanthesolo said:
I concur, let's use mtd/yards for the partition table, since it's been used successfully before, and is easier (?) to implement than bml. BTW, you don't need to compile cm from source, all we need is a booting 3.xx kernel to get ICS/JB running with sgs sources (which opens up a world of options). Considering the fact that this dev community is so miniscule, I think that we should gear our efforts more towards allowing the end user to run sgs ROMs, than create cm/aosp/aokp builds ourselves, although for the devving stage, you're right, it probably easier to use a self-compiled cm image.
Click to expand...
Click to collapse
We do need to build from source because of the librairies files needed (I tried once to use the nexus s librairies for GB and it didin't worked at all.)
---------- Post added at 10:06 AM ---------- Previous post was at 10:01 AM ----------
Neodymium said:
Then can you guys explain me about the danger of mtd? Somebody told me that mtd is dangerous. And, I know that we should flash PIT to go back to bml, then what happens? Exactly what partitions are wiped? Please tell me
Sent from my YP-GB1 using xda app-developers app
Click to expand...
Click to collapse
All these partitions are wiped if we go back to bml:
Code:
dir /dev/block 755 0 0
nod /dev/block/mmcblk0 644 0 0 b 179 0
nod /dev/block/mmcblk0p1 644 0 0 b 179 1
nod /dev/block/mmcblk0p2 644 0 0 b 179 2
nod /dev/block/mmcblk1 644 0 0 b 179 8
nod /dev/block/mmcblk1p1 644 0 0 b 179 9
nod /dev/block/mtdblock0 644 0 0 b 31 0
nod /dev/block/mtdblock1 644 0 0 b 31 1
nod /dev/block/mtdblock2 644 0 0 b 31 2
nod /dev/block/mtdblock3 644 0 0 b 31 3
nod /dev/block/mtdblock4 644 0 0 b 31 4
nod /dev/block/mtdblock5 644 0 0 b 31 5
nod /dev/block/mtdblock6 644 0 0 b 31 6
nod /dev/block/mtdblock7 644 0 0 b 31 7
nod /dev/block/mtdblock8 644 0 0 b 31 8
nod /dev/block/mtdblock9 644 0 0 b 31 9
dir /dev/mtd 755 0 0
nod /dev/mtd/mtd0 644 0 0 c 90 0
nod /dev/mtd/mtd0ro 644 0 0 c 90 1
nod /dev/mtd/mtd1 644 0 0 c 90 2
nod /dev/mtd/mtd1ro 644 0 0 c 90 3
nod /dev/mtd/mtd2 644 0 0 c 90 4
nod /dev/mtd/mtd2ro 644 0 0 c 90 5
nod /dev/mtd/mtd3 644 0 0 c 90 6
nod /dev/mtd/mtd3ro 644 0 0 c 90 7
nod /dev/mtd/mtd4 644 0 0 c 90 8
nod /dev/mtd/mtd4ro 644 0 0 c 90 9
nod /dev/mtd/mtd5 644 0 0 c 90 10
nod /dev/mtd/mtd5ro 644 0 0 c 90 11
nod /dev/mtd/mtd6 644 0 0 c 90 12
nod /dev/mtd/mtd6ro 644 0 0 c 90 13
nod /dev/mtd/mtd7 644 0 0 c 90 14
nod /dev/mtd/mtd7ro 644 0 0 c 90 15
nod /dev/mtd/mtd8 644 0 0 c 90 16
nod /dev/mtd/mtd8ro 644 0 0 c 90 17
nod /dev/mtd/mtd9 644 0 0 c 90 18
nod /dev/mtd/mtd9ro 644 0 0 c 90 19
Also mtd is considered dangerous in the sense of changing completly the partition type and device type (BML/STL to MTD) and (RFS/EXT4 to Yaffs2). But this is my thought and not a real statement.
So is that mean all of the partitions are wiped? Oh! So isn't there any way to go back to bml?
Sent from my YP-GB1 using xda app-developers app
Neodymium said:
So is that mean all of the partitions are wiped? Oh! So isn't there any way to go back to bml?
Sent from my YP-GB1 using xda app-developers app
Click to expand...
Click to collapse
No it means that when we are going back to bml all these mtd partitions will be wiped out.
EDIT: This is something really weird. When I flash the boot.img from CM7, I can't get to recovery but when I flash boot.img from CM9, I can get to CWM 6.0.0.7. How is that even possible??
Neodymium said:
So is that mean all of the partitions are wiped? Oh! So isn't there any way to go back to bml?
Sent from my YP-GB1 using xda app-developers app
Click to expand...
Click to collapse
You would need to flash a pit along with zaclimons full recovery and your efs backup.
Sent from my One S
zaclimon said:
No it means that when we are going back to bml all these mtd partitions will be wiped out.
EDIT: This is something really weird. When I flash the boot.img from CM7, I can't get to recovery but when I flash boot.img from CM9, I can get to CWM 6.0.0.7. How is that even possible??
Click to expand...
Click to collapse
That's really strange! Is tdmcode's cm9 kernel booting? I forget if you answered this at some point, but it would be nice if it was.
I would like to try booting mtd cm9 in near days. So please can you give me the link of bootable mtd cm7? I tried hard to find it, but I could'nt.
Sent from my YP-GB1 using xda app-developers app
hanthesolo said:
That's really strange! Is tdmcode's cm9 kernel booting? I forget if you answered this at some point, but it would be nice if it was.
Click to expand...
Click to collapse
Nope this is why I have to backport the 3.0 gadget drivers.
---------- Post added at 05:57 PM ---------- Previous post was at 05:50 PM ----------
klin1344 said:
You would need to flash a pit along with zaclimons full recovery and your efs backup.
Sent from my One S
Click to expand...
Click to collapse
It wouldn't work correctly because he have the YP-GB1 (the korean version.)

Rom Dumping

I have a touchmate M-tab running android 4.0.4 pre rooted. I am trying to create a recovery for this since one is not avaliable to port cwm onto this. Subsequently port or develop some custom roms into this.
I was a symbian developer and i am new to android. This is my only device.
While i am trying to romdump using every possible meathod i get some error. ADB, Terminal (both cat and dd), AIO Flasher (both nandroid and the secondary method doing even start up... it just says starting up the service and nothing more... i guess my device is not even recognized..)
cat /proc/mtd
/proc/mtd: No such file or directory
opening mtd table...segmentation fault
dd gives an error of missing directory.
Pls help me.
MemOoooO said:
I have the same problem . I've bought my new tablet My-pad "TM-MID850 " with ics 4.0.4 google android . I searched alot in the internet to find a way to root my tablet however I was unlucky ! I didn't find what I wanted @@ . I just want root it and install JP 4.1 rom in it . Please if anybody knows any solution for my problem , please contact me and send me a message ^^ .
Thanks with all regards .
Click to expand...
Click to collapse
Still no luck... I have tried everything.
Mine came ald rooted. But I did find a way sometime back which had supported rooting of my fw. Just google ur firmware and a software had popped up.
This will do the trick
From adb run
cat /proc/partitions
o/p:
major minor #blocks name
93 0 16384 nanda
93 8 16384 nandb
93 16 32768 nandc
93 24 524288 nandd
93 32 1048576 nande
93 40 16384 nandf
93 48 32768 nandg
93 56 262144 nandh
93 64 131072 nandi
93 72 1809408 nandj
Then exit. Then run these commands
adb kill-server
adb devices
adb shell "cat /dev/block/nanda > /mnt/extsd/nanda.img"
adb shell "cat /dev/block/nandb > /mnt/extsd/nandb.img"
adb shell "cat /dev/block/nandc > /mnt/extsd/nandc.img"
adb shell "cat /dev/block/nandd > /mnt/extsd/nandd.img"
adb shell "cat /dev/block/nande > /mnt/extsd/nande.img"
adb shell "cat /dev/block/nandf > /mnt/extsd/nandf.img"
adb shell "cat /dev/block/nandg > /mnt/extsd/nandg.img"
adb shell "cat /dev/block/nandh > /mnt/extsd/nandh.img"
adb shell "cat /dev/block/nandi > /mnt/extsd/nandi.img"
adb shell "cat /dev/block/nandj > /mnt/extsd/nandj.img"
You should have the whole dump on the sd card. Its greater than 2GB so i recommend using an empty 4GB card.

[Solved] [Q][HELP] Problems Kyocera Brigadier. Bricked? Need solutions!

Hi guys! I need help because I have a problem that I do not manage to give it to an end. I think (hope not) I bricked my phone.
I have a Kyocera Brigadier (Verizon edition), where after many attempts, I succeeded to root it with Kingroot. I was very glad that I could to customize it like the old Nexus One. I installed Xposed and some modules like Gravity... All good. I was away in vacation and I said to test it more. I installed Busybox and Super Rom Tools. I did Install in BusyBox and in the morning I did not manage to wake the phone. I did a soft reset (keeping pressed power button 20 sec.), all good until I put it on sleep. It was the sleep of death. And again I had to forcibly restart. At one point it appeared above applications the default wallpaper, and oscillate when the home screen, when default wallpaper. An error message appear after few moments: Unfortunately, the process com.android.systemui has stopped. I went into Recovery (stock) and wanted to delete the cache but mistakenly (stress and nerves) gave reset phone, meaning Restore to factory settings. Besides the fact that I lost pictures and videos from vacation, I lost all applications and settings ... I said this is it, this happens if you don´t have your head on your shoulders. I was installed Titanium but I had not done any backup yet.
I tried now to uninstall applications imposed by Verizon, and try to eliminate the annoying message "This year SIM card is from unknown source" so I deleted one by one all applications and services that belonged to Verizon and Kyocera. I must say that after factory reset, remained the root and custom boot screen. Seeing that fail to get rid of that message, I said I'll try again when I get back home from vacation. I did again reset to factory default and surprise, it no longer occurs any application from Verizon or Kyocera, all I wiped disappeared. I did reset again and nothing. The custom boot screen was put to me, but not appears the Setup Wizard of the phone. I said this is it and so I do not want them ... After setting up my Gmail account when I tried to install applications from Google Play it gives me unknown error "-110". OK, I tried from the SD card and send it to me: For security .... bla bla ... block installation of apps obtained from unknown sources , but this setting is gray and I can not to mark off. I thought it was something from the root, and I did clean root from Kingroot but gave me error and gone and application and root. In settings of the phone it says at Root status - unknown (before it said rooted or unrooted)
Now I got home, I connected the phone to the computer and try to do adb install to see if it works. Recognizes it at adb devices, but if I give adb install any app it gives me this error:
C:\Android\sdk\platform-tools>adb install kingroot.apk
3221 KB/s (6649985 bytes in 2.015s)
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.
pkg: /data/local/tmp/kingroot.apk
Failure [INSTALL_FAILED_INTERNAL_ERROR]
I tried to root it again with desktop version of Kingroot, Kingoroot, Rootgenius but no success...
What I noticed:
- all phone applications have 0.00B and at storage stays at Calculating...
- system time I think it's not correct, although it looks right it is set at 13/01/1970...
- whole system memory is read only. I cannot change anything, all apps data and settings are stored in the RAM flash not in ROM memory
I done before some roots and install custom recovery and ROMs of several phones like Nexus One, Galaxy Nexus, SII, SIII, Nexus 4, Motorola Xoom but I´m not a developer, I´m a firefighter so my knowledge of programming are limited... I just helped some friends to customize their phones and use their phone at max capacity.
So please can someone give me some solution to try? Some adb commands....
btw the bootloader is locked by Verizon
I have another friend with same phone, can I make a nand backup and flash it on my phone? How?
Thank you for your time!
Best regards!
THE SOLUTION!!!
I attach some screenshots maybe it help...
BUMP
Over 40 views and no solution to try?!
I played more today with ADB and I attach some results...
I tried to root it again with Kingroot PC version but no success...
Anyone knows how to make system read/write? Because I think this is the big problem.... If I can install apps maybe I can root it again with Kingroot apk...
In bootloader appear the sunken Android and an little 1 in the top left side and that´s all, tried fastboot oem unlock but failed, other commands like flash didn´t tried.
Please, any idea?
Best regards!
Hi,
I bought last week, the European Brigadier aka Torque KC-S701 and i had to root it but any success for now !
I read about your issue and i'm asking regarding your adb command's results :
C:\SDK\sdk\platform-tools>fastboot oem unlock
...
FAILED (status read failed (Too many links))
finished. total time: 1602.805s
1) What was your aim doing that ? Unlocking the Brigadier ?
- a) Your bootloader had to be unprotected
- b) adb reboot-bootloader
- c) Fasboot devices
???
- d) If something apeared then
fastboot oem unlock
Vol UP to select opened cadenas and Vol Down to check it
- e) Reboot with
fastboot reboot-bootloader
2) What about now with the following command "adb shell' and 'll' or 'ls -al' ? did you compare with the first time as in your txt file ?
3) Maybe an idea : 'adb reboot recovery' ?
In all the cases, the real challenge is to mount /system in rw to push the 'root files' ...
Let us know about your tries ...
If Kyocera can flash your phone from scratch, that means it's able for us/someone to do the same ... :fingers-crossed:
the adb commands working perfectly...
- adb reboot-bootloader - phone reboots in bootloader (it appear sunken android with a little 1 in top left corner and that´s all)
- adb reboot recovery - phone reboots in recovery (you have only 3 options in recovery: reboot phone, restore to factory settings clean up cache memory)
With fastboot oem unlock command nothing happened on screen. Tried some combination of Vol UP, Vol Down, power button but nothing (I thought the options was hide from user viewing)... On nexus devices and other few, at this command you´ll be asked for Bootloader unlock but in this case Verizon make something well done...
In no one screen mode (recovery, bootloader, safe mode and normal) any command adb shell, adb remount, adb fastboot which contain /system failed for write mount... read only... (maybe I didn´t write the commands well)
Kyocera can flash the phone because they have the tools... I talk with a friend which told me that there is a chance by disassemble 2 phones (mine and one working good) and make a connection on the motherboard with some special cables with Box tool but it´s a risky operation.... There is chance to brick both phones and then Kyocera Service Center cannot do anything. Beside, opening the phones it´s hard to resealing again for water protection.
The only easy chance is to unlock bootloader and flash then original or custom ROM. but...
Obsy said:
the adb commands working perfectly...
- adb reboot-bootloader - phone reboots in bootloader (it appear sunken android with a little 1 in top left corner and that´s all)
- adb reboot recovery - phone reboots in recovery (you have only 3 options in recovery: reboot phone, restore to factory settings clean up cache memory)
With fastboot oem unlock command nothing happened on screen. Tried some combination of Vol UP, Vol Down, power button but nothing (I thought the options was hide from user viewing)... On nexus devices and other few, at this command you´ll be asked for Bootloader unlock but in this case Verizon make something well done...
In no one screen mode (recovery, bootloader, safe mode and normal) any command adb shell, adb remount, adb fastboot which contain /system failed for write mount... read only... (maybe I didn´t write the commands well)
Kyocera can flash the phone because they have the tools... I talk with a friend which told me that there is a chance by disassemble 2 phones (mine and one working good) and make a connection on the motherboard with some special cables with Box tool but it´s a risky operation.... There is chance to brick both phones and then Kyocera Service Center cannot do anything. Beside, opening the phones it´s hard to resealing again for water protection.
The only easy chance is to unlock bootloader and flash then original or custom ROM. but...
Click to expand...
Click to collapse
Well, I read you and sommething seems to be intersting ... Whenyou go into recovery, you found 3 options then 'Restore to factory settings' and your will be back alive ! I suppose ... :laugh:
I think thius is the only way to 'recover' a working phone because seing your pictures ... your phone dis not respond correctly !
Give you a try ... :good:
Lol, if you didn´t observe it I did it few times - restore to factory setting but unfortunately the programs and services which I delete it was from eprom memory so now is nothing to restore. And now with the system files blocked on read only I cannot push it them back....
So, unable for you to restore but what happened when you did a : 'adb shell && ll '?
What did you see compare to your txt file ? The same or not ?
This is ADB shell from today. What's curious is that date and time are prehistorical and nothing change except the dev and data files... What should be mentioned is that system file is locked to 15.05.2015 the time when phone went crazy....
Obsy said:
This is ADB shell from today. What's curious is that date and time are prehistorical and nothing change except the dev and data files... What should be mentioned is that system file is locked to 15.05.2015 the time when phone went crazy....
Click to expand...
Click to collapse
The date are not prehistorical ... i have the same date about on my Torque KC-S701 as 1970-01-01. Which could be intersting seemed to be the different date for some directories (1970/01/01 21h36 to 1970/01/03 02h43) ... WEIRD !
Take a look on mine.txt in attachment.
So try to go on /system and make a ll to compare 'permissions' with mine.
I think you made a recovery with weird present recovery in your phone. Weird because different to the original ...
So, you told us /system was now RO, did you try to re root your phone by the same way used your first time ? This could be give you the right to put in RW that you want and to get from someone which have the same phone, the original directories which are differantly dated as your first ...
This is just an idea ... :silly:
Rood i did with Kingroot.apk but now I cannot install any app nor Play Store (error -110) neither SD card (cannot pass by unknown source)... I tried the desktop version of Kingroot but no success...
I did cd /system and here it is.
All seems to be good ...
USB debugging is active because you can use adb without any problem.
Did you try a adb shell fix_permissions ? I saw you tried to install kingroot by adb but did you try to re-ionstall kingroot.apk with adb.exe -r kingroot.apk ?
So, on your screenshots, we can see calculating place taking by apps but whitout any results ... Did tou try to see sommething by adb shell df just to see if you can see something in /data ?
So, what about adb shell mount ?
In all the cases, without root, you can't mount /system in RW !
I hope you'll get more further info to solve your issue without sending your phone for flashing to Kyocera !
....
zegoo said:
All seems to be good ...
USB debugging is active because you can use adb without any problem.
Did you try a adb shell fix_permissions ? I saw you tried to install kingroot by adb but did you try to re-ionstall kingroot.apk with adb.exe -r kingroot.apk ?
So, on your screenshots, we can see calculating place taking by apps but whitout any results ... Did tou try to see sommething by adb shell df just to see if you can see something in /data ?
So, what about adb shell mount ?
In all the cases, without root, you can't mount /system in RW !
I hope you'll get more further info to solve your issue without sending your phone for flashing to Kyocera !
Click to expand...
Click to collapse
adb.exe don´t work...
adb install -r kingroot.apk same error...
adb shell df and mount > this is the results:
C:\SDK\sdk\platform-tools>adb shell df
Filesystem Size Used Free Blksize
/dev 926.4M 132.0K 926.3M 4096
/sys/fs/cgroup 926.4M 12.0K 926.4M 4096
/mnt/asec 926.4M 0.0K 926.4M 4096
/mnt/obb 926.4M 0.0K 926.4M 4096
/system 1.4G 959.0M 515.2M 4096
/data 11.6G 352.3M 11.2G 4096
/cache 845.6M 13.6M 832.0M 4096
/persist 7.8M 4.1M 3.8M 4096
/firmware 64.0M 56.9M 7.1M 16384
/sysprop 7.8M 5.0M 2.8M 4096
/carrier 39.3M 4.0M 35.3M 4096
/mnt/shell/emulated 11.6G 352.3M 11.2G 4096
/storage/emulated/legacy 11.6G 352.3M 11.2G 4096
/data/DxDrm/fuse: Permission denied
/mnt/media_rw/sdcard1: Permission denied
/storage/sdcard1 14.8G 7.5G 7.3G 8192
C:\SDK\sdk\platform-tools>adb shell mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=948676k,nr_inodes=181731,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
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=948676k,nr_inodes=181731,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=948676k,nr_inodes=181731,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=948676k,nr_inodes=181731,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/block/platform/msm_sdcc.1/by-name/sysprop /sysprop ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/carrier /carrier ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated 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
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,relatime,user_id=1013,group_id=1000,allow_other 0 0
/dev/block/vold/179:64 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso88591,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
C:\SDK\sdk\platform-tools>
If u can understand something... o.0
Thanks!
Why did you say 'adb.exe' does not work ?
'adb' or 'adb.exe' is the same ...
So you wrote that your memory is in Read Only, i don't understand ... Were you talking about /data because /data is ReadWritable ?
I know we have not got the same phone but there is my 'mount result command' in attachment. /data is in RW as it should be and /system in RO as too.
You should compare this two files, may be you'll find something instersting to solve your issue ... So is there someone which have the same phone which could give you the same command result to compare ? :good:
adb.exe no such command
On mount beside some numbers I have this line in addition to yours
DxDrmServerIpc /data/DxDrm/fuse fuse.DxDrmServerIpc rw,nosuid,nodev,relatime,user_id=1013,group_id=100 0,allow_other 0 0
Yes, the /data is RO or corrupted
C:\SDK\sdk\platform-tools>adb shell
[email protected]:/ $ cd /system
cd /system
[email protected]:/system $ ll
ll
drwxr-xr-x root root 2015-05-18 23:45 app
drwxr-xr-x root shell 2015-05-18 23:45 bin
-rw-r--r-- root root 6120 2015-05-15 21:25 build.prop
drwxr-xr-x root root 2015-05-10 08:08 csc
drwxr-xr-x root root 2015-05-15 20:40 etc
drwxr-xr-x root root 2014-07-13 22:18 fonts
drwxr-xr-x root root 2014-07-13 22:18 framework
drwxrwx--x root root 2014-07-13 22:18 kcjprop
drwxr-xr-x root root 2014-07-13 22:18 lib
drwx------ root root 1970-01-01 02:00 lost+found
drwxr-xr-x root root 2015-05-16 22:42 media
drwxr-xr-x root root 2015-05-18 22:39 priv-app
drwxr-xr-x root root 2014-07-13 22:18 tts
drwxr-xr-x root root 2015-05-09 17:40 usr
drwxr-xr-x root shell 2014-07-13 22:18 vendor
drwxr-xr-x root shell 2015-05-18 23:45 xbin
[email protected]:/system $ cd /data
cd /data
[email protected]:/data $ ll
ll
opendir failed, Permission denied
255|[email protected]:/data $
255|[email protected]:/data $ df
df
Filesystem Size Used Free Blksize
/dev 926.4M 132.0K 926.3M 4096
/sys/fs/cgroup 926.4M 12.0K 926.4M 4096
/mnt/asec 926.4M 0.0K 926.4M 4096
/mnt/obb 926.4M 0.0K 926.4M 4096
/system 1.4G 959.0M 515.2M 4096
/data 11.6G 938.7M 10.7G 4096
/cache 845.6M 13.6M 832.0M 4096
/persist 7.8M 4.1M 3.8M 4096
/firmware 64.0M 56.9M 7.1M 16384
/sysprop 7.8M 5.0M 2.8M 4096
/carrier 39.3M 4.0M 35.3M 4096
/mnt/shell/emulated 11.6G 938.7M 10.7G 4096
/storage/emulated/legacy 11.6G 938.7M 10.7G 4096
/data/DxDrm/fuse: Permission denied
/mnt/media_rw/sdcard1: Permission denied
/storage/sdcard1 14.8G 7.5G 7.3G 8192
1|[email protected]:/data $
BTW u have LTE working on Orange?
Humm, about 'adb.exe', you are under windows and when you write 'adb' or 'adb.exe', this is the same. Juste take a look inside the directory where 'adb.exe' is located.
So, under Linux, for my mind, i wrote 'adb ' ...
Regarding your '/data', i can read:
'/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,seclabel,nosuid,nodev,relatime,noauto_da_alloc, data=ordered 0 0' in the result of your mount command, that's meaning '/data' is correctly mounted in 'RW' as it had to be.
Regarding the line(s) which is(are) different between our each 'mount command', i don't know more further ... Weird !
Regarding the 'll command' when you to see in '/data', i have exactly the same ... This is a Kyocera protection ! Sucks !
The only weird thing i saw regarding your different command are as your phone was in its first stage when you bought it that's why i have an advice ...
Try to get 'root' again ! You had to succeed to push the files needed in '/data/local/tmp' as it was done before. :good:
For LTE, your right, the Torque KC-S701 is for European market and is able regarding LTE French network aka Orange for Free network for my mind ... as it should be regarding your Brigadier if Verizon and Kyocera respected the law ... We have the same equipment, the only difference is the screen, better is yours ! Lucky guy !
Today from nothing, the "sleep of death" and "the process com.android.systemui has stopped" come back.... Clear cache from fastboot didn´t help, only restore to factory settings.....
I played with some adb commands and this is the results. If someone have time to watch it and maybe have an idea.... Thanks!
So... Hear is very clearly what u need to do. But before I tell u I want to make somethings clear.
Root access alone will not make /system rw.
You have to mount system as rw.
Apps that relay on root access will do this for u if they modify the /system which exposed would have.
Also removing/uninstalling /system apps is not ever recommend for many reasons. If there were ever an update you would not be able to apply the update.
You have titanium back up. Use the freeze option instead. This allows u to restore the app if ever needed.
Now on to your issue. Please forgive me as your OP is a bit of a run on and broken English.
From what I can understand (and with a bit of guessing) one of your xposed mods cause a FC of the system UI. Which lead u to hunt down issues in the wrong place (even if u hadnot factory reset clear cache would have done no good)
Xposed is.... OK... But has many fundamental flaws in a nut Shell it replaces a few native .jars with hooks built into them (this in of itself modified files in the /system of which the normal end user has no idea which files so right off the back you will never be able to update your system if ever and OTA comes for it)
Secondly the biggest flaw in exposed... The modules. Way to much trust is given to the creator of said module and many of the modules I inspect have modules active by default. This is a HUGE no no because say a certain aspect of this module does not work with your current rom(version of Android altered by OEM and carrier) well guess what happens... You have just created a device that when it boots it runs that module which causes the system UI to crash and now u can not access or use your phone. And because your rooted but not unlocked (bootloader not carrier unlocked) you have no custom recovery and therefore no way to restore the /system partition of your device... Welcome to your house hold another paper weight brick.
So you or any average Android "tinkerer" thinks (and rightfully so because its says EVERYWHERE a factory reset will restore my phone to like the day I got it) I can restore my phone with a reset. Well that is true to an extent. If you never touched the /system partition of your device a factory reset just erases all data in /data (user data partition) and presto phone is back to new... However the simple act of rooting a device touched the /system to place two files in there. The su binary and the supersuer apk.
Anyways. To continue on. I hope the above info enlightens you to your current issue. You need to restore your /system partiton... How do I do this you ask.. Well IF you had root you could replace every file you modified or touched or removed (with the exact same file that comes preloaded can not be a copy of an apk from the play store and another device that's "close enough")
Each file must be signed from your OEM.
OK so you say well **** I don't have root access any more.
Still not the end of the world. You could fastboot flash (or whatever means of bootloader communication Kyocera uses)
However because your bootloader is locked you can not just flash the /system with anything. It must be an image signed by OEM and or carrier.
And sense most oems do not have just a system img to flash you will need to locate the entire package they flash, and it must be for your EXACT DEVICE if you flash say an AT&T package on your vzw device you will only cause fastboot flash failures due to signing mismatch or worse.
So I leave you with this.
Google
Fastboot OEM files for (insert device name/brand/carrier)
And may I wish u the best of luck
Sent from my Nexus 6 using Tapatalk 2
Thank you too much for your time!
English isn´t my primary language.. and I don´t use Google translate.... only when i don´t remember something... The biggest mistake I did was to unroot the phone, I get an error and from then /data was corrupted
The phone worked well one week with Xposed modules until I installed Busybox. Next day the mess begin. So I blame Busybox. Now I don´t have root and any other apps installed, xposed or modules and I het again that systemui error? Why?
I can´t find any OEM files for Kyocera Brigadier... so can I get one from a functionally phone? Like I said, I had 2 friends with same phone, one rooted and one not
Which commands should I use for it? Did you see the last adb commands I used? one post before?
Thanks again!
Obsy said:
Thank you too much for your time!
English isn´t my primary language.. and I don´t use Google translate.... only when i don´t remember something... The biggest mistake I did was to unroot the phone, I get an error and from then /data was corrupted
The phone worked well one week with Xposed modules until I installed Busybox. Next day the mess begin. So I blame Busybox. Now I don´t have root and any other apps installed, xposed or modules and I het again that systemui error? Why?
I can´t find any OEM files for Kyocera Brigadier... so can I get one from a functionally phone? Like I said, I had 2 friends with same phone, one rooted and one not
Which commands should I use for it? Did you see the last adb commands I used? one post before?
Thanks again!
Click to expand...
Click to collapse
You will have xposed installed tho. Not the apk but remember the app xposed installs and replaces files inside the system.
The system UI failure is likely due to on the the apks u uninstalled via titanium backup.
To hunt the exact reason u have the UI fc preform a logcat
Boot phone...
Connect to pc
From your directory with adb open comand promnt on pc (assuming your using Windows)
Type
adb logcat > systemuifc.txt
Cause the UI to crash...
Wait 30 seconds then close the command prompt
This will create a text file of the logcat in the directory.
Look thru the logcat to find what caused the UI to crash.
U can email it to me and I can browse it
My user name at g mail dot com
Sent from my SHIELD Tablet using Tapatalk 2
---------- Post added at 02:26 PM ---------- Previous post was at 02:07 PM ----------
I thought I read somewhere... But I looked back and didn't see it. Is the su binary anywhere in /system/xbin/
Because unless u removed it manually or used some kind of app to remove it, it should still be there...
If it is. And we can find the issue for UI crash and what apps u need, I'm sure it's fixable...
But the larger issue is fixing the corrupted /data
I would preform a factory wipe in recovery, then in fastboot mode use command prompt
fastboot erase userdata
That would be the only thing I could think of to try and correct the corrupt data
Once u get the data corruption issue dealt with. You "could" pull any missing apks from your friends phone. Then push them to yours once u get your data partition fixed, and re root
Sent from my Nexus 6 using Tapatalk 2

Categories

Resources