Dump stock rom & build flashable image - Android

For those who wants to know and learn how:
Requirements.
Preparation.
Collecting Information.
Dumping.
Build Up Flashable Image.
Click to expand...
Click to collapse
​
CREDITS
I do not want to take any credit for this as it is not my work, I just have forked it from http://www.freaktab.com.
You can check the original post here
I just have simplified it.

Requirements
Requirements :​
USB Drivers Of your device installed
ADB ( Android Debugging Bridge)
romdump_v82b.zip (Android ROM dumper by Sebastian404)
Micro-USB-cable
microSD-card OR USB-Stick
Newer busybox
Click to expand...
Click to collapse
Code:
[B]* If you don't want to work with microSD-card OR USB-Stick you can use:
ADB push <from-PC-file> <to-android-file>
ADB pull <from-android-file> <to-PC-file>
(don't forget the pathes)
[/B]

Preparations
Preparations​
Setup android
Settings -> [DEVICE] USB -> Enable Connect to PC
Settings -> [PERSONAL] Security -> Enable Unknown Sources
Settings -> [SYSTEM] Developer options -> Enable USB debugging
Click to expand...
Click to collapse
Install USB-Driver
Conect Your device With computer
open device manager
right click on not recognized device
click update driver.
Click to expand...
Click to collapse
Format SD Card
copy romdump form romdump_v82b.zip to the microSD-card
make directory "rompump.out" and "dd.out"
Remove it "secure" from PC
put it into your device
Click to expand...
Click to collapse

Collecting Information
1. Starting shell via ADB
Browse to the folder where adb files are places
E.G. I have My adb files in adb folder in C: drive
Code:
cd\
cd adb
Code:
C:\adb>
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
0123456789ABCDEF device
C:\adb>adb shell
Code:
[email protected]:/ #
=> this seems to be the ideal, because it's root (SU), if you don't have the # you have to try to type su
Confirm the correct user:
[email protected]:/ # id
Code:
uid=0(root) gid=0(root)
OR
[email protected]:/ # echo $USER
Code:
root
You can find your microSD-card under the directory "/mnt"
[email protected]:/ # cd /mnt
[email protected]:/mnt # ls
Code:
asec
external_sd
obb
sdcard
secure
shell
usb_storage
[email protected]:/mnt # cd external_sd
[email protected]:/mnt/external_sd # ls
Code:
LOST.DIR
dd.out
romdump
romdump.out
for the correct busybox release
[email protected]: # cat /proc/cpuinfo
Code:
Processor : ARMv7 Processor rev 0 (v7l)
:
After you have via PC download the newer busybox (I give it the name "busybox-armv7l_1.21.1") and put it to your microSD-card, then you have to copy it to your device
[email protected]:/ # cp /mnt/external_sd/busybox-armv7l_1.21.1 /data/busybox-armv7l_1.21.1
Destination MUST BE "/data/", otherwise it isn't executable...
[email protected]: # cat /proc/mtd
Code:
dev: size erasesize name
mtd0: 00400000 00004000 "misc"
mtd1: 01000000 00004000 "kernel"
mtd2: 01000000 00004000 "boot"
mtd3: 01000000 00004000 "recovery"
mtd4: 18000000 00004000 "backup"
mtd5: 08000000 00004000 "cache"
mtd6: 80000000 00004000 "userdata"
mtd7: 00400000 00004000 "kpanic"
mtd8: 20000000 00004000 "system"
mtd9: 113400000 00004000 "user"
[email protected]: # cat /proc/partitions
Code:
major minor #blocks name
31 0 4096 mtdblock0
31 1 16384 mtdblock1
31 2 16384 mtdblock2
31 3 16384 mtdblock3
31 4 393216 mtdblock4
31 5 131072 mtdblock5
31 6 2097152 mtdblock6
31 7 4096 mtdblock7
31 8 524288 mtdblock8
31 9 4509696 mtdblock9
179 0 3941376 mmcblk0
179 1 3941344 mmcblk0p1
[email protected]:/ # ls -al /dev/block
Code:
brw------- root root 7, 0 2013-10-27 15:39 loop0
brw------- root root 7, 1 2013-10-27 15:39 loop1
brw------- root root 7, 2 2013-10-27 15:39 loop2
brw------- root root 7, 3 2013-10-27 15:39 loop3
brw------- root root 7, 4 2013-10-27 15:39 loop4
brw------- root root 7, 5 2013-10-27 15:39 loop5
brw------- root root 7, 6 2013-10-27 15:39 loop6
brw------- root root 7, 7 2013-10-27 15:39 loop7
brw------- root root 179, 0 2013-10-27 16:29 mmcblk0
brw------- root root 179, 1 2013-10-27 16:29 mmcblk0p1
drwxr-xr-x root root 2013-10-27 15:39 mtd
brw------- root root 31, 0 2013-10-27 15:39 mtdblock0
brw------- root root 31, 1 2013-10-27 15:39 mtdblock1
brw------- root root 31, 2 2013-10-27 15:39 mtdblock2
brw------- root root 31, 3 2013-10-27 15:39 mtdblock3
brw------- root root 31, 4 2013-10-27 15:39 mtdblock4
brw------- root root 31, 5 2013-10-27 15:39 mtdblock5
brw------- root root 31, 6 2013-10-27 15:39 mtdblock6
brw------- root root 31, 7 2013-10-27 15:39 mtdblock7
brw------- root root 31, 8 2013-10-27 15:39 mtdblock8
brw------- root root 31, 9 2013-10-27 15:39 mtdblock9
drwxr-xr-x root root 2013-10-27 15:39 platform
drwx------ root root 2013-10-27 15:39 vold
[email protected]:/ # ls -al /dev/block/mtd/by-name
Code:
lrwxrwxrwx root root 2013-10-27 15:39 backup -> /dev/block/mtdblock4
lrwxrwxrwx root root 2013-10-27 15:39 boot -> /dev/block/mtdblock2
lrwxrwxrwx root root 2013-10-27 15:39 cache -> /dev/block/mtdblock5
lrwxrwxrwx root root 2013-10-27 15:39 kernel -> /dev/block/mtdblock1
lrwxrwxrwx root root 2013-10-27 15:39 kpanic -> /dev/block/mtdblock7
lrwxrwxrwx root root 2013-10-27 15:39 misc -> /dev/block/mtdblock0
lrwxrwxrwx root root 2013-10-27 15:39 recovery -> /dev/block/mtdblock3
lrwxrwxrwx root root 2013-10-27 15:39 system -> /dev/block/mtdblock8
lrwxrwxrwx root root 2013-10-27 15:39 user -> /dev/block/mtdblock9
lrwxrwxrwx root root 2013-10-27 15:39 userdata -> /dev/block/mtdblock6
[email protected]:/dev # /data/busybox-armv7l_1.21.1 blkid
Code:
/dev/block/mmcblk0p1: UUID="04A7-463C"
/dev/block/vold/31:9: UUID="8269-1ED1"
/dev/block/vold/179:1: UUID="04A7-463C"
/dev/block/mtdblock9: UUID="8269-1ED1"
/dev/block/mtdblock8: LABEL="system" UUID="06bc9880-9e07-4dec-ae8d-1e59a1b88921"
/dev/block/mtdblock6: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"
/dev/block/mtdblock5: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b"

DUMPING
Dumping ROM​
Dumping (at adb shell)
1.) via dd:
dd if=/dev/block/mtdblock0 of=/mnt/external_sd/dd.out/misc.img
Code:
8192+0 records in
8192+0 records out
4194304 bytes transferred in 0.677 secs (6195426 bytes/sec)
dd if=/dev/block/mtdblock1 of=/mnt/external_sd/dd.out/kernel.img
Code:
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.734 secs (9675441 bytes/sec)
dd if=/dev/block/mtdblock2 of=/mnt/external_sd/dd.out/boot.img
Code:
32768+0 records in
32768+0 records out
16777216 bytes transferred in 2.665 secs (6295390 bytes/sec)
dd if=/dev/block/mtdblock3 of=/mnt/external_sd/dd.out/recovery.img
Code:
32768+0 records in
32768+0 records out
16777216 bytes transferred in 1.340 secs (12520310 bytes/sec)
dd if=/dev/block/mtdblock4 of=/mnt/external_sd/dd.out/backup.img
Code:
786432+0 records in
786432+0 records out
402653184 bytes transferred in 69.198 secs (5818855 bytes/sec)
dd if=/dev/block/mtdblock8 of=/mnt/external_sd/dd.out/system.img
Code:
1048576+0 records in
1048576+0 records out
536870912 bytes transferred in 57.050 secs (9410533 bytes/sec)
/data/busybox-armv7l_1.21.1 ls -ltr /mnt/external_sd/dd.out/
Code:
-rwxrwxr-x 1 1000 1015 4194304 Oct 27 21:09 misc.img
-rwxrwxr-x 1 1000 1015 16777216 Oct 27 21:12 kernel.img
-rwxrwxr-x 1 1000 1015 16777216 Oct 27 21:14 boot.img
-rwxrwxr-x 1 1000 1015 16777216 Oct 27 21:15 recovery.img
-rwxrwxr-x 1 1000 1015 402653184 Oct 27 21:17 backup.img
-rwxrwxr-x 1 1000 1015 536870912 Oct 27 21:27 system.img
?not really need?
Code:
dd if=/dev/block/mtdblock5 of=/mnt/external_sd/dd.out/cache.img
dd if=/dev/block/mtdblock6 of=/mnt/external_sd/dd.out/userdata.img
dd if=/dev/block/mtdblock7 of=/mnt/external_sd/dd.out/kpanic.img
dd if=/dev/block/mtdblock9 of=/mnt/external_sd/dd.out/user.img
2.) via "romdump":
cp /mnt/external_sd/romdump /data/romdump
/data/romdump
Code:
Android ROM dumper v0.82b
(c)2011 Sebastian404
Device : rk31sdk-eng 4.2.2 JDQ39 eng.linking.20130709.184313 test-keys
Creating required files... done.
Opening mtd table... done.
Dumping kernel config... sh: cat: /proc/config.gz: No such file or directory
done.
Dumping boot partition... done.
Dumping recovery partition... done.
Dumping system partition... done.
Creating Checksums... done.
Cleaning up... done.
All done.
ls -al /sdcard/romdump
Code:
-rwxrwxr-x system sdcard_rw 16777216 2013-10-27 22:46 boot.img
-rwxrwxr-x system sdcard_rw 275 2013-10-27 22:48 checksum.md5
-rwxrwxr-x system sdcard_rw 0 2013-10-27 22:46 config.gz
-rwxrwxr-x system sdcard_rw 16777216 2013-10-27 22:46 recovery.img
-rwxrwxr-x system sdcard_rw 1507 2013-10-27 22:46 system.info.gz
-rwxrwxr-x system sdcard_rw 373034496 2013-10-27 22:48 system.tar
cp /sdcard/romdump/boot.img /mnt/external_sd/romdump.out/boot.img
cp /sdcard/romdump/checksum.md5 /mnt/external_sd/romdump.out/checksum.md5
cp /sdcard/romdump/config.gz /mnt/external_sd/romdump.out/config.gz
cp /sdcard/romdump/recovery.img /mnt/external_sd/romdump.out/recovery.img
cp /sdcard/romdump/system.info.gz /mnt/external_sd/romdump.out/system.info.gz
cp /sdcard/romdump/system.tar /mnt/external_sd/romdump.out/system.tar
ls -al /mnt/external_sd/romdump.out
Code:
-rwxrwxr-x system sdcard_rw 16777216 2013-10-27 23:15 boot.img
-rwxrwxr-x system sdcard_rw 275 2013-10-27 23:15 checksum.md5
-rwxrwxr-x system sdcard_rw 0 2013-10-27 23:15 config.gz
-rwxrwxr-x system sdcard_rw 16777216 2013-10-27 23:15 recovery.img
-rwxrwxr-x system sdcard_rw 1507 2013-10-27 23:15 system.info.gz
-rwxrwxr-x system sdcard_rw 373034496 2013-10-27 23:16 system.tar

Build Up Flashable Image
Build Up Flashable Image​
WinHex or any other Hex-Editor who can work with large files
Rk29xx ImageTools V2.1 by wendal (I download it here at 4. (it's without "su" and "Superuser.apk"))
(Alternatively you can use RK3xxx Firmware Tools by SergioPoverony)
First check the "dd.out/backup.img" with a HexEditor to determine whether there is information in it (first 4 characters "RKAF") or only zeros (HEX "FF") what means it is empty...
If there is this information in it, you will perhaps* have the complete ROM in it, which will include the loader and parameter files and you can use "wendal tools" to extract it...
1. Put the "backup.img" into the wendal tools directory and rename it to "wendal.img"
2. Start the "Runme.bat",
2a. Select 1 + return
2b. then any key
2c. and then you have to wait.
Code:
D:\RK3066_IMG_Mod_Tool>lua rk29xx_rom_tools_tnt.lua
RK29xx Image Pack/Unpack Tools
Blog http://wendal.net
Project: https://github.com/wendal/teclast_tools
feedback: [email protected]
Pls input: 1-Unpack 2-Pack 3-Exit
1
Pls copy Image file into this folder,and rename to wendal.img
Notify any errors!
Drücken Sie eine beliebige Taste . . .
Reading file header...
File header: RKFWf
Read loader's offset
Read loader's len
Read update.img's offset
Read update.img's len
Output Loader
offset(0x66) len(0x2F8AE)
Output updata.img
offset(0x2F914) len(0x1973A804)
Unpack updata.img to Temp folder
Check file... OK
------- UNPACK ------
package-file 0x00000800 0x00000241
RK3188Loader(L)_V1.20.bin 0x00001000 0x0002F96E
parameter 0x00031000 0x00000266
Image/misc.img 0x00031800 0x0000C000
Image/kernel.img 0x0003D800 0x00846034
Image/boot.img 0x00884000 0x000FE6F1
Image/recovery.img 0x00982800 0x00B18000
Image/system.img 0x0149A800 0x16E09800
backupimage/backup.img 0x182A4000 0x01495004
update-script 0x19739800 0x000003A5
recover-script 0x1973A000 0x0000010A
Unpack firmware OK!
------ OK ------
Unpack -- All Done
Pls input: 1-Unpack 2-Pack 3-Exit

Amazing work,you should add your name at TWRP which you compiled.
Well,hats off bro.

Steps for MMC based devices
Thanks for the info. Don't know why it hadn't occur to me to use dd for taking the image.
This works great for MTD based devices but does nothing for MMC based devices.
Never fear, I found the answer in an old post from lavero.burgos on repartitioning a Nook tablet.
Turns out if you use the parted from the CM team you can acquire the partition information you need.
Here is a shorthand of the previous instructions as they apply to MMC devices:
Req:
USB Drivers for your device
ADB installed and in your path
Appropriately sized USB cable for your device
microSD card
GNU parted
a rooted device
Prep:
make directory "firmware-img" on SD Card
make directory "tools" on SD Card
copy parted to tools directory on SD Card
Remove SD Card safely from PC
put SD Card into rooted device
Collect Info:
Run the commands below (one per line)
adb shell
su (if not already root user)
cp /mnt/<sd card mount point>/tools/parted /system/bin
cat /proc/partitions
parted /dev/block/mmcblk0
print
make note of the partition number and name for the partitions you wish to dump​
quit
Dumping ROM:
Run dd as defined below each partition you wan to dump, the <partition path> will be /dev/block/mmcblk0p<partition number>.
dd if=<partition path> of=/mnt/<sd card mount point>/firmware-img/<partition name>.img
---------- Post added at 02:36 PM ---------- Previous post was at 02:21 PM ----------
I hope this helps. I'm by no means an expert on this type of thing, so if you have additions or corrections, plz feel free. I've been watching learning and gathering, now I have a chance to give back.
I've gotten this to work on Nook tablet, Atrix HD and gonna test it on my Xoom in the next few days.

I dont know much about the MMC based devices .. As I onLy Have used Mediatek devices so far, btw thanx for the information

When I tried to do cat proc/mtd I got this error
Code:
1|[email protected]:/ # cat /proc/mtd
cat /proc/mtd
sh: cat: /proc/mtd: No such file or directory
1|[email protected]:/ #

i have a question please help me if you can
i didnt find the cat /proc/mtd is working because the mtd is not found in proc so after search i used proc/mount with link
i got the system file only but i didn't got the recovery or boot
i need another way to get it to build CWM
my device is totally new and support for it at all because it is BCM 21663 broadom
i have dual core Arm 7
512 ram
8g storage
1024*600
2 sim 3g tablet
any other CWM may works? or firmware refer to this specs??
ANY EXPERT THERE???

Thank you very much for the post, it was very helpful! It's a good complement to this post:
http://forum.xda-developers.com/showthread.php?t=2450045

modify download directory
Hi. I have a problem with my lenovo A526, whenever I want to download, it says "modify thedownload directory of the ". How can I do that? Can someone help me please? Thank you.

Ruscelle23 said:
Hi. I have a problem with my lenovo A526, whenever I want to download, it says "modify thedownload directory of the ". How can I do that? Can someone help me please? Thank you.
Click to expand...
Click to collapse
Try Using any other browser like opera or UC and choose custom directory before downloading a file. Ruscelle23

hssrgh said:
i have a question please help me if you can
i didnt find the cat /proc/mtd is working because the mtd is not found in proc so after search i used proc/mount with link
i got the system file only but i didn't got the recovery or boot
i need another way to get it to build CWM
my device is totally new and support for it at all because it is BCM 21663 broadom
i have dual core Arm 7
512 ram
8g storage
1024*600
2 sim 3g tablet
any other CWM may works? or firmware refer to this specs??
ANY EXPERT THERE???
Click to expand...
Click to collapse
Use cat /proc/emmc

The original link for romdump doesn't work, so here is an alternative one.
romdump_v82b.zip | by bhiga for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com

codenation said:
The original link for romdump doesn't work, so here is an alternative one.
romdump_v82b.zip | by bhiga for Generic Device/Other
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Click to expand...
Click to collapse
Thanks a lot for that.

Related

[Q] Debian Kit for Android - 3g, etc

This is my experience with Debian Kit for Android available on the Market, and which allows Debian Linux to run side by side along the Android O/S removing many of the restrictions of chroot versions (such as Backtrack 5)
Debian Kit for Android allows Debian flavours of Linux to install on the Thrive... (from Debian Squeeze up to the latest incarnation of Ubuntu - 12.04 Precise Pangolin)...
However unlike other kinds of kits, this one is not chroot, but loads Linux alongside Android, so we have more freedom to experiment without being limited by the chroot jail constraints...
To get the gui, it uses a light version of the Windows X-System: LXDE which is accessed using Microsoft RDP... (as opposed to VNC for say BackTrack 5)
I installed Ubuntu Precise (12.04) with no major problem to an ext4fs partition on my sdcard (which the package installer formats)...
and managed to access the system via wifi from MS Remote Desktop latest version for the Mac... (unlike BT5, you are not confined only to using a disk image, but you can if you wish)...
internally you will need an Android RDP client... and it works pretty well too...
what I want to try is install the Linux driver for my Huawei usb modem, it might work... even if the devs do not mention hardware possibilities, and focus more on what is already available on Android... (maybe kernel modding will still be needed, and it is a shame we did not yet get a hold of a 3g version of the kernel/rom)...
What I like already is the reverse full browsing capability of the Thrive file system from within the Linux X-windows gui...
Check, if interested, the full instructions here:
http://sven-ola.dyndns.org/repo/debian-kit-en.html
and this is my review on SF:
I am very pleased with this kit... installed it on my Toshiba AT100-100 Thrive with no major problem... used the non-stable Ubuntu Precise Pangolin 12.04 option, on a separate partition in my external 32GB SDHC Card...
It turned out to be pretty stable for my needs...
Running the LXDE Windows X GUI was smooth using wifi RDP from the Mac with 10.6.8 and either Microsoft RDP Client or the open source Cord 0.5.6 -
Single mode (i.e. just text based) on the Android device behaves like a Ubuntu box...
I even managed to install support for 3g by installing wvdial with gnome-ppp... Huawei 1750 is properly recognised and I get a persistent blue signal which means it is connected...
Now I am trying to use this connection as an Internet sharing gateway, by having the Wifi switched off, but I need to know how to do this via the command line...
Using the gui defeats the purpose as for this one needs RDP which depends on Wifi, but I want a pure available 3g connection that I then use for the Android O/S proper through a routing gateway, so need to find a way to bind the 3g connection on Debian to localhost shared by Debian and the Android O/S...
Not as easy as it seems... especially that there does not seem to be support for iptables on the Thrive Android kernel, but the 3g connection is there established on Debian...
Info: Running Honeycomb 3.2.1 rooted Toshiba Thrive AT100-100 16GB wifi only (no 3g)
one last note: unable to run chromium-browser or firefox in LXDE - via rdp - (has propably to do with the Arm version on Ubuntu 12.04)...
however the gnome web browser Epiphany works perfectly...
Now anyone has a clue on how to create a 3g reverse Connection feature, i.e. use the 3g connected Ubuntu box as an Internet sharing Server for the Android O/S that sits alongside / slightly on top?
That will solve the problem of not having 3g on reluctant devices...
Help with Debian Kit
Yeah this kit is really good but i stumble with a problem in the second part of the installation on my Motorola Defy, maybe you can help me as you successfully installed on your tablet, i talked with Sven(the dev) too and he is trying to help me, from what i deduced of the error it gives me it seems that i don't have "/system/bin/ls" but from what i understand that file is linked by busybox on my defy these are the screen shots and the console outputs of what happens
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
# exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
MotoRolaDefyX sdcard # su DEB_DEBUG=true export DEB_DEBUG /data/local/deb/armel/busybox ash -x /data/local/deb/bootdeb
SuperSU - Copyright (C) 2012 - Chainfire
MotoRolaDefyX sdcard # cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk1p21 /system ext3 ro,relatime,nobh,data=ordered 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 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/mmcblk1p24 /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/loop7 /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
ramfs /tmp ramfs rw,relatime,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.herocraft.game.majesty-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.gameloft.android.GAND.GloftAsp6.asphalt6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/sts.dl-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/gts.td2.am.full-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/eu.vcmi-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.zynga.livepoker-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.dvidearts.earthandlegend-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.outfit7.talkingtom2free-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.rockstar.gta3-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.bigfishgames.android.nawpdroidfull-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/com.wulven.shadowera-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.hg.townsmen6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
MotoRolaDefyX sdcard # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS: 1248.46
Features: swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part: 0xc08
CPU revision : 2
Hardware: mapphone_UMTS
Revision: 0000
Serial : 0000000000000000
CPU Tier: 10
MotoRolaDefyX sdcard # cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
nodev ramfs
vfat
msdos
nodev ecryptfs
yaffs
yaffs2
nodev cifs
MotoRolaDefyX sdcard # ls -l /system /system/bin
/system:
total 37
drwxr-xr-x 2 root root 3072 May 7 22:50 app
drwxr-xr-x 3 root shell 3072 May 15 03:56 bin
drwxr-xr-x 10 root root 1024 May 7 22:16 bootmenu
-rwxrwxrwx 1 root root 5270 May 7 22:48 build.prop
-rwxrwxrwx 1 root root 4681 May 6 12:21 build.prop.bak
drwxr-xr-x 14 root root 2048 May 7 22:58 etc
drwxr-xr-x 2 root root 1024 May 7 22:16 fonts
drwxr-xr-x 2 root root 1024 May 7 22:52 framework
drwxr-xr-x 8 root root 5120 May 7 23:00 lib
drwxr-xr-x 3 root root 1024 May 7 22:17 media
drwxr-xr-x 3 root root 1024 May 7 22:17 tts
drwxr-xr-x 7 root root 1024 May 7 22:17 usr
drwxr-xr-x 2 root shell 7168 May 7 22:17 xbin
/system/bin:
total 7402
-rwxr-xr-x 1 root shell 120304 Aug 1 2008 akmd2
-rwxr-xr-x 1 root shell 191 Aug 1 2008 am
-rwxr-xr-x 1 root shell 50371 Aug 1 2008 ap_gain.bin
-rwxr-xr-x 1 root shell 27910 Aug 1 2008 ap_gain_mmul.bin
-rwxr-xr-x 1 root shell 5720 Aug 1 2008 app_process
lrwxrwxrwx 1 root root 29 May 15 03:56 ash -> /data/local/deb/armel/busybox
-rwxr-xr-x 1 root shell 9648 Aug 1 2008 audioloop
-rwxr-xr-x 1 root shell 4202 Aug 1 2008 backuptool.sh
-rwxr-xr-x 1 root shell 18080 Aug 1 2008 badblocks
-rwxr-xr-x 1 root shell 43380 Aug 1 2008 battd
-rwxr-xr-x 1 root shell 5292 Aug 1 2008 bluetoothd
-rwxr-xr-x 1 root shell 199 Aug 1 2008 bmgr
-rwxr-xr-x 1 root shell 23160 Aug 1 2008 bootanimation
-rwxr-xr-x 1 root shell 282332 Aug 1 2008 bootmenu
-rwxr-xr-x 1 root shell 1160280 Aug 1 2008 brcm_guci_drv
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 bugreport
-rwxr-xr-x 1 root shell 68420 Aug 1 2008 charge_only_mode
lrwxrwxrwx 1 root root 7 May 7 22:16 cmp -> toolbox
-rwxr-xr-x 1 root shell 1112 Aug 1 2008 compcache
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 dalvikvm
-rwxr-xr-x 1 root shell 109504 Aug 1 2008 dbus-daemon
lrwxrwxrwx 1 root root 19 May 15 03:56 deb -> /data/local/deb/deb
-rwxr-xr-x 1 root shell 22224 Aug 1 2008 debuggerd
-rwxr-xr-x 1 root shell 9796 Aug 1 2008 dexopt
-rwxr-xr-x 1 root shell 44596 Aug 1 2008 dhcpcd
-rwxr-xr-x 1 root shell 104724 Aug 1 2008 dnsmasq
-rwxr-xr-x 1 root shell 9668 Aug 1 2008 dspexec
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 dump_image
-rwxr-xr-x 1 root shell 34544 Aug 1 2008 dumpstate
-rwxr-xr-x 1 root shell 9812 Aug 1 2008 dumpsys
-rwxr-xr-x 1 root shell 5548 Aug 1 2008 dvz
-rwxr-xr-x 1 root shell 111524 Aug 1 2008 e2fsck
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 e2label
-rwxr-xr-x 1 root shell 9776 Aug 1 2008 erase_image
-rwxr-xr-x 1 root shell 14936 Aug 1 2008 fix_permissions
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 flash_image
-rwxr-xr-x 1 root shell 20540 Aug 1 2008 fmradioserver
-rwxr-xr-x 1 root shell 22640 Aug 1 2008 fsck_msdos
-rwxr-xr-x 1 root shell 5612 Aug 1 2008 gdbjithelper
-rwxr-xr-x 1 root shell 553908 Aug 1 2008 gdbserver
lrwxrwxrwx 1 root root 7 May 7 22:16 getevent -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 getprop -> toolbox
-rwxr-xr-x 1 root shell 9924 Aug 1 2008 gkisystem
-rwxr-xr-x 1 root shell 5604 Aug 1 2008 gzip
-rwxr-xr-x 1 root shell 644 Aug 1 2008 handle_compcache
-rwxr-xr-x 1 root shell 23316 Aug 1 2008 hciattach
lrwxrwxrwx 1 root root 7 May 7 22:16 hd -> toolbox
-rwxr-xr-x 1 root shell 237268 Aug 1 2008 hostap
lrwxrwxrwx 1 root root 7 May 7 22:16 iftop -> toolbox
-rwxr-xr-x 1 root shell 194 Aug 1 2008 ime
-rwxr-xr-x 1 root shell 201 Aug 1 2008 input
lrwxrwxrwx 1 root root 7 May 7 22:16 insmod -> toolbox
-rwxr-xr-x 1 root shell 22420 Aug 1 2008 installd
-rwxr-xr-x 1 root shell 9632 Aug 1 2008 io
lrwxrwxrwx 1 root root 7 May 7 22:16 ioctl -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 ionice -> toolbox
-rwxr-xr-x 1 root shell 100916 Aug 1 2008 iptables
-rwxr-xr-x 1 root shell 10112 Aug 1 2008 keystore
-rwxr-xr-x 1 root shell 6640 Aug 1 2008 keystore_cli
lrwxrwxrwx 1 root root 7 May 7 22:16 kill -> toolbox
-rwxr-xr-x 1 root shell 39416 Aug 1 2008 linker
-rwxr-xr-x 1 root shell 423620 Aug 1 2008 location
lrwxrwxrwx 1 root root 7 May 7 22:16 log -> toolbox
-rwxr-xr-x 1 root shell 13952 Aug 1 2008 logcat
lrwxrwxrwx 1 root root 8 May 7 22:16 logwrapper -> bootmenu
-rwxr-xr-x 1 root shell 63964 Aug 1 2008 logwrapper.bin
-rwxr-xr-x 1 root shell 97780 Aug 1 2008 lsof
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 mediaserver
-rwxr-xr-x 1 root shell 34864 Aug 1 2008 mke2fs
-rwxr-xr-x 1 root shell 14768 Aug 1 2008 mkyaffs2image
-rwxr-xr-x 1 root shell 1602 Aug 1 2008 modelid_cfg.sh
-rwxr-xr-x 1 root shell 205 Aug 1 2008 monkey
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 mot_boot_mode
-rwxr-xr-x 1 root shell 0 Aug 1 2008 mount_ext3.sh
-rwxr-xr-x 1 root shell 18340 Aug 1 2008 mtpd
lrwxrwxrwx 1 root root 7 May 7 22:16 nandread -> toolbox
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 ndc
-rwxr-s--- 1 root inet 5660 Aug 1 2008 netcfg
-rwxr-xr-x 1 root shell 45924 Aug 1 2008 netd
lrwxrwxrwx 1 root root 7 May 7 22:16 netstat -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 newfs_msdos -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 notify -> toolbox
-rwxr-xr-x 1 root shell 13864 Aug 1 2008 nvm_daemon
-rwxr-xr-x 1 root shell 32616 Aug 1 2008 omx_tests
-rwxr-xr-x 1 root shell 75988 Aug 1 2008 opprofdaemon
-rwxr-xr-x 1 root shell 18692 Aug 1 2008 pand
-rwxr-sr-x 1 root net_raw 26720 Aug 1 2008 ping
-rwxr-xr-x 1 root shell 191 Aug 1 2008 pm
-rwxr-xr-x 1 root shell 139540 Aug 1 2008 pppd
-rwxr-xr-x 1 root shell 1540484 Aug 1 2008 protocol_driver
lrwxrwxrwx 1 root root 7 May 7 22:16 ps -> toolbox
-rwxr-xr-x 1 root shell 8128 Aug 1 2008 pvrsrvinit
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 qemu-props
-rwxr-xr-x 1 root shell 13828 Aug 1 2008 qemud
-rwxr-xr-x 1 root shell 142516 Aug 1 2008 racoon
-rwxr-xr-x 1 root shell 5424 Aug 1 2008 radiooptions
lrwxrwxrwx 1 root root 7 May 7 22:16 reboot -> toolbox
-rwxr-xr-x 1 root shell 9912 Aug 1 2008 record
lrwxrwxrwx 1 root root 7 May 7 22:16 renice -> toolbox
-rwxr-xr-x 1 root shell 22260 Aug 1 2008 resize2fs
-rwxr-xr-x 1 root shell 5696 Aug 1 2008 rild
lrwxrwxrwx 1 root root 7 May 7 22:16 route -> toolbox
-rwsr-s--- 1 root shell 59848 Aug 1 2008 run-as
-rwxr-xr-x 1 root shell 5392 Aug 1 2008 schedtest
lrwxrwxrwx 1 root root 7 May 7 22:16 schedtop -> toolbox
-rwxr-xr-x 1 root shell 5584 Aug 1 2008 screenshot
-rwxr-xr-x 1 root shell 9748 Aug 1 2008 sdcard
-rwxr-xr-x 1 root shell 46548 Aug 1 2008 sdptool
lrwxrwxrwx 1 root root 7 May 7 22:16 sendevent -> toolbox
-rwxr-xr-x 1 root shell 9860 Aug 1 2008 service
-rwxr-xr-x 1 root shell 9940 Aug 1 2008 servicemanager
lrwxrwxrwx 1 root root 7 May 7 22:16 setconsole -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 setprop -> toolbox
-rwxr-xr-x 1 root shell 82840 Aug 1 2008 sh
-rwxr-xr-x 1 root shell 10792 Aug 1 2008 showlease
lrwxrwxrwx 1 root root 7 May 7 22:16 smd -> toolbox
-rwxr-xr-x 1 root shell 14016 Aug 1 2008 ssmgrd
-rwxr-xr-x 1 root shell 31080 Aug 1 2008 stagefright
lrwxrwxrwx 1 root root 7 May 7 22:16 start -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 stop -> toolbox
-rwxr-xr-x 1 root shell 5456 Aug 1 2008 surfaceflinger
-rwxr-xr-x 1 root shell 192 Aug 1 2008 svc
lrwxrwxrwx 1 root root 7 May 7 22:16 sync -> toolbox
-rwxr-xr-x 1 root shell 140 Aug 1 2008 sysinit
-rwxr-xr-x 1 root shell 5472 Aug 1 2008 system_server
-rwxr-xr-x 1 root shell 67956 Aug 1 2008 tc
-rwxr-xr-x 1 root shell 9712 Aug 1 2008 testid3
-rwxr-xr-x 1 root shell 174980 Aug 1 2008 tiap_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 tiap_loader
-rwxr-xr-x 1 root shell 73192 Aug 1 2008 toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 top -> toolbox
-rwxr-xr-x 1 root shell 26564 Aug 1 2008 tune2fs
-rwxr-xr-x 1 root shell 5656 Aug 1 2008 unyaffs
lrwxrwxrwx 1 root root 7 May 7 22:16 uptime -> toolbox
-rwxr-xr-x 1 root shell 18776 Aug 1 2008 usbd
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 vdc
-rwxr-xr-x 1 root shell 265 Aug 1 2008 verify_cache_partition_size.sh
lrwxrwxrwx 1 root root 7 May 7 22:16 vmstat -> toolbox
-rwxr-xr-x 1 root shell 55892 Aug 1 2008 vold
lrwxrwxrwx 1 root root 7 May 7 22:16 watchprops -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 wipe -> toolbox
-rwxr-xr-x 1 root shell 131076 Aug 1 2008 wlan_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 wlan_loader
-rwxr-xr-x 1 root shell 31268 Aug 1 2008 wpa_cli
-rwxr-xr-x 1 root shell 304372 Aug 1 2008 wpa_supplicant
MotoRolaDefyX sdcard #
really loving the idea, I'm trying it and I will hope I get further than step 8 (last time I got stuk at step 8-9) is it mayb possible to make an instruction video?
I'm reallly sorry if I'm a noob for asking.
your great
kHron0S said:
Yeah this kit is really good but i stumble with a problem in the second part of the installation on my Motorola Defy, maybe you can help me as you successfully installed on your tablet, i talked with Sven(the dev) too and he is trying to help me, from what i deduced of the error it gives me it seems that i don't have "/system/bin/ls" but from what i understand that file is linked by busybox on my defy these are the screen shots and the console outputs of what happens
View attachment 1062978
View attachment 1062979
Code:
exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
# exec sh -c "cd '/mnt/sdcard' ; exec /system/xbin/bash"
MotoRolaDefyX sdcard # su DEB_DEBUG=true export DEB_DEBUG /data/local/deb/armel/busybox ash -x /data/local/deb/bootdeb
SuperSU - Copyright (C) 2012 - Chainfire
MotoRolaDefyX sdcard # cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk1p21 /system ext3 ro,relatime,nobh,data=ordered 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 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/mmcblk1p24 /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/mmcblk1p25 /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,nobh,data=ordered 0 0
/dev/block/loop7 /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
ramfs /tmp ramfs rw,relatime,relatime 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,ioch****t=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/dm-0 /mnt/asec/com.herocraft.game.majesty-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.gameloft.android.GAND.GloftAsp6.asphalt6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/sts.dl-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/gts.td2.am.full-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/eu.vcmi-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-5 /mnt/asec/com.zynga.livepoker-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-6 /mnt/asec/com.dvidearts.earthandlegend-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-7 /mnt/asec/com.outfit7.talkingtom2free-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-8 /mnt/asec/com.rockstar.gta3-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-9 /mnt/asec/com.bigfishgames.android.nawpdroidfull-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-10 /mnt/asec/com.wulven.shadowera-2 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-11 /mnt/asec/com.hg.townsmen6-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,ioch****t=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
MotoRolaDefyX sdcard # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS: 1248.46
Features: swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part: 0xc08
CPU revision : 2
Hardware: mapphone_UMTS
Revision: 0000
Serial : 0000000000000000
CPU Tier: 10
MotoRolaDefyX sdcard # cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
nodev ramfs
vfat
msdos
nodev ecryptfs
yaffs
yaffs2
nodev cifs
MotoRolaDefyX sdcard # ls -l /system /system/bin
/system:
total 37
drwxr-xr-x 2 root root 3072 May 7 22:50 app
drwxr-xr-x 3 root shell 3072 May 15 03:56 bin
drwxr-xr-x 10 root root 1024 May 7 22:16 bootmenu
-rwxrwxrwx 1 root root 5270 May 7 22:48 build.prop
-rwxrwxrwx 1 root root 4681 May 6 12:21 build.prop.bak
drwxr-xr-x 14 root root 2048 May 7 22:58 etc
drwxr-xr-x 2 root root 1024 May 7 22:16 fonts
drwxr-xr-x 2 root root 1024 May 7 22:52 framework
drwxr-xr-x 8 root root 5120 May 7 23:00 lib
drwxr-xr-x 3 root root 1024 May 7 22:17 media
drwxr-xr-x 3 root root 1024 May 7 22:17 tts
drwxr-xr-x 7 root root 1024 May 7 22:17 usr
drwxr-xr-x 2 root shell 7168 May 7 22:17 xbin
/system/bin:
total 7402
-rwxr-xr-x 1 root shell 120304 Aug 1 2008 akmd2
-rwxr-xr-x 1 root shell 191 Aug 1 2008 am
-rwxr-xr-x 1 root shell 50371 Aug 1 2008 ap_gain.bin
-rwxr-xr-x 1 root shell 27910 Aug 1 2008 ap_gain_mmul.bin
-rwxr-xr-x 1 root shell 5720 Aug 1 2008 app_process
lrwxrwxrwx 1 root root 29 May 15 03:56 ash -> /data/local/deb/armel/busybox
-rwxr-xr-x 1 root shell 9648 Aug 1 2008 audioloop
-rwxr-xr-x 1 root shell 4202 Aug 1 2008 backuptool.sh
-rwxr-xr-x 1 root shell 18080 Aug 1 2008 badblocks
-rwxr-xr-x 1 root shell 43380 Aug 1 2008 battd
-rwxr-xr-x 1 root shell 5292 Aug 1 2008 bluetoothd
-rwxr-xr-x 1 root shell 199 Aug 1 2008 bmgr
-rwxr-xr-x 1 root shell 23160 Aug 1 2008 bootanimation
-rwxr-xr-x 1 root shell 282332 Aug 1 2008 bootmenu
-rwxr-xr-x 1 root shell 1160280 Aug 1 2008 brcm_guci_drv
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 bugreport
-rwxr-xr-x 1 root shell 68420 Aug 1 2008 charge_only_mode
lrwxrwxrwx 1 root root 7 May 7 22:16 cmp -> toolbox
-rwxr-xr-x 1 root shell 1112 Aug 1 2008 compcache
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 dalvikvm
-rwxr-xr-x 1 root shell 109504 Aug 1 2008 dbus-daemon
lrwxrwxrwx 1 root root 19 May 15 03:56 deb -> /data/local/deb/deb
-rwxr-xr-x 1 root shell 22224 Aug 1 2008 debuggerd
-rwxr-xr-x 1 root shell 9796 Aug 1 2008 dexopt
-rwxr-xr-x 1 root shell 44596 Aug 1 2008 dhcpcd
-rwxr-xr-x 1 root shell 104724 Aug 1 2008 dnsmasq
-rwxr-xr-x 1 root shell 9668 Aug 1 2008 dspexec
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 dump_image
-rwxr-xr-x 1 root shell 34544 Aug 1 2008 dumpstate
-rwxr-xr-x 1 root shell 9812 Aug 1 2008 dumpsys
-rwxr-xr-x 1 root shell 5548 Aug 1 2008 dvz
-rwxr-xr-x 1 root shell 111524 Aug 1 2008 e2fsck
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 e2label
-rwxr-xr-x 1 root shell 9776 Aug 1 2008 erase_image
-rwxr-xr-x 1 root shell 14936 Aug 1 2008 fix_permissions
-rwxr-xr-x 1 root shell 13968 Aug 1 2008 flash_image
-rwxr-xr-x 1 root shell 20540 Aug 1 2008 fmradioserver
-rwxr-xr-x 1 root shell 22640 Aug 1 2008 fsck_msdos
-rwxr-xr-x 1 root shell 5612 Aug 1 2008 gdbjithelper
-rwxr-xr-x 1 root shell 553908 Aug 1 2008 gdbserver
lrwxrwxrwx 1 root root 7 May 7 22:16 getevent -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 getprop -> toolbox
-rwxr-xr-x 1 root shell 9924 Aug 1 2008 gkisystem
-rwxr-xr-x 1 root shell 5604 Aug 1 2008 gzip
-rwxr-xr-x 1 root shell 644 Aug 1 2008 handle_compcache
-rwxr-xr-x 1 root shell 23316 Aug 1 2008 hciattach
lrwxrwxrwx 1 root root 7 May 7 22:16 hd -> toolbox
-rwxr-xr-x 1 root shell 237268 Aug 1 2008 hostap
lrwxrwxrwx 1 root root 7 May 7 22:16 iftop -> toolbox
-rwxr-xr-x 1 root shell 194 Aug 1 2008 ime
-rwxr-xr-x 1 root shell 201 Aug 1 2008 input
lrwxrwxrwx 1 root root 7 May 7 22:16 insmod -> toolbox
-rwxr-xr-x 1 root shell 22420 Aug 1 2008 installd
-rwxr-xr-x 1 root shell 9632 Aug 1 2008 io
lrwxrwxrwx 1 root root 7 May 7 22:16 ioctl -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 ionice -> toolbox
-rwxr-xr-x 1 root shell 100916 Aug 1 2008 iptables
-rwxr-xr-x 1 root shell 10112 Aug 1 2008 keystore
-rwxr-xr-x 1 root shell 6640 Aug 1 2008 keystore_cli
lrwxrwxrwx 1 root root 7 May 7 22:16 kill -> toolbox
-rwxr-xr-x 1 root shell 39416 Aug 1 2008 linker
-rwxr-xr-x 1 root shell 423620 Aug 1 2008 location
lrwxrwxrwx 1 root root 7 May 7 22:16 log -> toolbox
-rwxr-xr-x 1 root shell 13952 Aug 1 2008 logcat
lrwxrwxrwx 1 root root 8 May 7 22:16 logwrapper -> bootmenu
-rwxr-xr-x 1 root shell 63964 Aug 1 2008 logwrapper.bin
-rwxr-xr-x 1 root shell 97780 Aug 1 2008 lsof
-rwxr-xr-x 1 root shell 5504 Aug 1 2008 mediaserver
-rwxr-xr-x 1 root shell 34864 Aug 1 2008 mke2fs
-rwxr-xr-x 1 root shell 14768 Aug 1 2008 mkyaffs2image
-rwxr-xr-x 1 root shell 1602 Aug 1 2008 modelid_cfg.sh
-rwxr-xr-x 1 root shell 205 Aug 1 2008 monkey
-rwxr-xr-x 1 root shell 5556 Aug 1 2008 mot_boot_mode
-rwxr-xr-x 1 root shell 0 Aug 1 2008 mount_ext3.sh
-rwxr-xr-x 1 root shell 18340 Aug 1 2008 mtpd
lrwxrwxrwx 1 root root 7 May 7 22:16 nandread -> toolbox
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 ndc
-rwxr-s--- 1 root inet 5660 Aug 1 2008 netcfg
-rwxr-xr-x 1 root shell 45924 Aug 1 2008 netd
lrwxrwxrwx 1 root root 7 May 7 22:16 netstat -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 newfs_msdos -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 notify -> toolbox
-rwxr-xr-x 1 root shell 13864 Aug 1 2008 nvm_daemon
-rwxr-xr-x 1 root shell 32616 Aug 1 2008 omx_tests
-rwxr-xr-x 1 root shell 75988 Aug 1 2008 opprofdaemon
-rwxr-xr-x 1 root shell 18692 Aug 1 2008 pand
-rwxr-sr-x 1 root net_raw 26720 Aug 1 2008 ping
-rwxr-xr-x 1 root shell 191 Aug 1 2008 pm
-rwxr-xr-x 1 root shell 139540 Aug 1 2008 pppd
-rwxr-xr-x 1 root shell 1540484 Aug 1 2008 protocol_driver
lrwxrwxrwx 1 root root 7 May 7 22:16 ps -> toolbox
-rwxr-xr-x 1 root shell 8128 Aug 1 2008 pvrsrvinit
-rwxr-xr-x 1 root shell 5520 Aug 1 2008 qemu-props
-rwxr-xr-x 1 root shell 13828 Aug 1 2008 qemud
-rwxr-xr-x 1 root shell 142516 Aug 1 2008 racoon
-rwxr-xr-x 1 root shell 5424 Aug 1 2008 radiooptions
lrwxrwxrwx 1 root root 7 May 7 22:16 reboot -> toolbox
-rwxr-xr-x 1 root shell 9912 Aug 1 2008 record
lrwxrwxrwx 1 root root 7 May 7 22:16 renice -> toolbox
-rwxr-xr-x 1 root shell 22260 Aug 1 2008 resize2fs
-rwxr-xr-x 1 root shell 5696 Aug 1 2008 rild
lrwxrwxrwx 1 root root 7 May 7 22:16 route -> toolbox
-rwsr-s--- 1 root shell 59848 Aug 1 2008 run-as
-rwxr-xr-x 1 root shell 5392 Aug 1 2008 schedtest
lrwxrwxrwx 1 root root 7 May 7 22:16 schedtop -> toolbox
-rwxr-xr-x 1 root shell 5584 Aug 1 2008 screenshot
-rwxr-xr-x 1 root shell 9748 Aug 1 2008 sdcard
-rwxr-xr-x 1 root shell 46548 Aug 1 2008 sdptool
lrwxrwxrwx 1 root root 7 May 7 22:16 sendevent -> toolbox
-rwxr-xr-x 1 root shell 9860 Aug 1 2008 service
-rwxr-xr-x 1 root shell 9940 Aug 1 2008 servicemanager
lrwxrwxrwx 1 root root 7 May 7 22:16 setconsole -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 setprop -> toolbox
-rwxr-xr-x 1 root shell 82840 Aug 1 2008 sh
-rwxr-xr-x 1 root shell 10792 Aug 1 2008 showlease
lrwxrwxrwx 1 root root 7 May 7 22:16 smd -> toolbox
-rwxr-xr-x 1 root shell 14016 Aug 1 2008 ssmgrd
-rwxr-xr-x 1 root shell 31080 Aug 1 2008 stagefright
lrwxrwxrwx 1 root root 7 May 7 22:16 start -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 stop -> toolbox
-rwxr-xr-x 1 root shell 5456 Aug 1 2008 surfaceflinger
-rwxr-xr-x 1 root shell 192 Aug 1 2008 svc
lrwxrwxrwx 1 root root 7 May 7 22:16 sync -> toolbox
-rwxr-xr-x 1 root shell 140 Aug 1 2008 sysinit
-rwxr-xr-x 1 root shell 5472 Aug 1 2008 system_server
-rwxr-xr-x 1 root shell 67956 Aug 1 2008 tc
-rwxr-xr-x 1 root shell 9712 Aug 1 2008 testid3
-rwxr-xr-x 1 root shell 174980 Aug 1 2008 tiap_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 tiap_loader
-rwxr-xr-x 1 root shell 73192 Aug 1 2008 toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 top -> toolbox
-rwxr-xr-x 1 root shell 26564 Aug 1 2008 tune2fs
-rwxr-xr-x 1 root shell 5656 Aug 1 2008 unyaffs
lrwxrwxrwx 1 root root 7 May 7 22:16 uptime -> toolbox
-rwxr-xr-x 1 root shell 18776 Aug 1 2008 usbd
-rwxr-xr-x 1 root shell 5552 Aug 1 2008 vdc
-rwxr-xr-x 1 root shell 265 Aug 1 2008 verify_cache_partition_size.sh
lrwxrwxrwx 1 root root 7 May 7 22:16 vmstat -> toolbox
-rwxr-xr-x 1 root shell 55892 Aug 1 2008 vold
lrwxrwxrwx 1 root root 7 May 7 22:16 watchprops -> toolbox
lrwxrwxrwx 1 root root 7 May 7 22:16 wipe -> toolbox
-rwxr-xr-x 1 root shell 131076 Aug 1 2008 wlan_cu
-rwxr-xr-x 1 root shell 9716 Aug 1 2008 wlan_loader
-rwxr-xr-x 1 root shell 31268 Aug 1 2008 wpa_cli
-rwxr-xr-x 1 root shell 304372 Aug 1 2008 wpa_supplicant
MotoRolaDefyX sdcard #
Click to expand...
Click to collapse
For the first part where the screenshot shows errors on "Valid SU" and "debian kit", just install Busybox 1.20. Use Busybox Installer for that. While installing, change install location to /system/bin instead of /system/xbin. That will take care of those 2 problems, however after typing deb in console it gives the same error, complaining about tmp resource busy and ofcourse segmentation fault. Segmentation fault occurred on just about every chroot and linux install I encountered. I even compiled custom version of debian img and its still there. Using Motorola Milestone 1 btw, with CM6.
I too receive those errors, segmentation faults and resource busy, usually when installing anything but Debian using this kit. Been working hard on figuring it out and writing about it too, but so far Lenny and Ubuntu don't install completely on some devices; Debian though has yet to fail me so long as I've a good internet connection and nothing else running when it's downloading and installing.
Hope some of it helps ya and if not you can always check the guide I've been compiling to see if I've answered your issues, links in my signature
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
resolution settings
Hi, my phone, (THL T200 octo core 1.7 ghz 2gb ram 32gb android 4.2.2 and 1280x720 6" display) debian-kit install went smooth but, the resolution in the gui is too high. How do I change the resolution? Everything is tiny on the desktop.
frz1 said:
Hi, my phone, (THL T200 octo core 1.7 ghz 2gb ram 32gb android 4.2.2 and 1280x720 6" display) debian-kit install went smooth but, the resolution in the gui is too high. How do I change the resolution? Everything is tiny on the desktop.
Click to expand...
Click to collapse
If you are using the "deb x" command to start xrdp then use the Android rdp app to change the resolution. If you're using vnc then you'll want to add "-g <width>x<height>" to the vnc server start command. I prefer rdp because then I'm not restarting vnc services ever time I connect with a different screen.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
S0AndS0 said:
If you are using the "deb x" command to start xrdp then use the Android rdp app to change the resolution. If you're using vnc then you'll want to add "-g <width>x<height>" to the vnc server start command. I prefer rdp because then I'm not restarting vnc services ever time I connect with a different screen.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Click to expand...
Click to collapse
Thanks fort the reply. Before this though, I tried to reconfigure the rdp settings by deleting the connection and starting a new one with a another resolution, right after I finally got my favorite app, "keepnote" to install. Now I have a new problem. When I start deb x, I get the error, [xrdprunning in daemon mode with no access to pid files, quitting sesman] and cannot connect anymore to the gui. I just want to use this on my phone btw. I'm not trying to connect to my pc or any other external screen. Thanks
VNC works
leaving rdp for another day. I just googled vnc and found this site, [http://news.metaparadigma.de/linux-setting-up-a-debian-vnc-server-237/]. I setup VNC which seems to be working pretty well right now so I'm going to stick with that for now. Its only in landscape mode which I like better anyway so, i'm ok with it.
frz1 said:
Thanks fort the reply. Before this though, I tried to reconfigure the rdp settings by deleting the connection and starting a new one with a another resolution, right after I finally got my favorite app, "keepnote" to install. Now I have a new problem. When I start deb x, I get the error, [xrdprunning in daemon mode with no access to pid files, quitting sesman] and cannot connect anymore to the gui. I just want to use this on my phone btw. I'm not trying to connect to my pc or any other external screen. Thanks
Click to expand...
Click to collapse
Welcome and sorry you're having issues. I'd try running "apt-get purge andromize-lxde" and then "apt-get install andromize-lxde" to uninstall and reinstall the rdp gui. I've had similar issues when installing packages that then remove something that rdp was using; usually when I install something not mint to be in my distro by modding the source lists.
Glad you got vnc working :thumbup: but like ya said it isn't as feature rich as rdp.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Loop1 is full
My loop1 device, 2g, is now full, preventing me from doing the apt-get purge andromize-lxde you mentioned. I don't think I've seen a solution to that somewhere, maybe if I continue googling around I'll figure it out eventually. How do I increase my storage here on the loop file? I have the space on my sdcard, internal and external. I figured I ran out of space after install libra office, synaptic and keepnote which I consider essential besides system packages.
There's a few ways to increase your Linux OS space. I've seen some that have modified their existing image but every time I've tried it's turned out corrupted; usually I'll pop out the SD card and set up a partition with gParted for installing to. Another option would be to add system links (see Debian Kit's source code) and link your SDcards free space to a directory in Linux' system but doing that'll cause permission denied errors if not running as Linux root user when running software or scripts.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
S0AndS0 said:
There's a few ways to increase your Linux OS space. I've seen some that have modified their existing image but every time I've tried it's turned out corrupted; usually I'll pop out the SD card and set up a partition with gParted for installing to. Another option would be to add system links (see Debian Kit's source code) and link your SDcards free space to a directory in Linux' system but doing that'll cause permission denied errors if not running as Linux root user when running software or scripts.
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/DonationLinks.txt
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
Click to expand...
Click to collapse
According to this website, [ http://www.tehfear.com/2007/10/08/resize-loop-disk-image/] changing the image size should be the same as how it was made. I haven't tried to get into that yet. My skills are not that good...
Like I said I have the space. Could you make another image file with the same debain-large but at least a 5gb loop that would leave room to install additional packages? Or is there a way I could choose the size of my loop file during installation?
http://www.timelesssky.com/blog/running-debian-armhf-alongside-android
It took some digging through my bookmarks but above is a guide (really amazing guide) to modify Debian Kit's source code for increasing the loop disk file size and how to run hard float Linux I too have yet to mess around with moding the loop disk much as setting up partitions is just easier. That and I've had my time devoted to making a new Crypto currency for our phones. Do you have a removable sdcard or is your device without that feature?
Sent from either my SPH-D700 or myTouch3gs or M470BSA
Guide for running Linux on Android that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Yeah, I have a removable 32gb sdcard.
frz1 said:
Yeah, I have a removable 32gb sdcard.
Click to expand...
Click to collapse
Supper. If you're planning to use/re-install Debian Kit a lot then pop that sdcard out, back it up, and partition it (see the guide on xda in my sig for how to) with a size that you do want, then move your backed up info back to the first readable partition so Android can still see it, then reinstall Linux to the partition by running the mkdeb script and pointing it at the correct UUID. So long as you either note the UUID or don't reflash your device you can reinstall Linux to your hearts content on the partition instead of a loop disk file. This is what I did on my myTouch and when I do re-install Linux I just have to tell it to format the existing partition and it happily gives me 5+ gigs to play with. Note though that the second partition will be invisible to Android until Debian Kit has mounted it.
Sent from either my SPH-D700 or myTouch3gs or M470BSA
Guide for running Linux on Android that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
root ssh and xserver
Here is where I am now. I partitioned my sdcard to put 5gb aside for this install. Proceeded with the manual install after step 4 when I followed your guide here, [http://www.timelesssky.com/blog/running-debian-armhf-alongside-android ] to modified the mk-debain script and tried to do the larger loop file first. That was going fine until it turned out the 5120mb setting I did was too large still, the highest possible I guess on a fat32 system is 4gb. I then decided to just go with the partition setup. I install wheezy and everything seems ok. The problem I am having now is with the ssh login and the xserver you recommended at the end of your guide. Idk if its the order that I install things or what but, I am unable to elevate to root during ssh login and the xserver app, well, I'm not getting how it work. Do I have to create all those scripts you mention here, [http://www.timelesssky.com/blog/android-x-server ] to get it running? If so, when I create the scripts where do I put/save them to? Thanks
manaul install small
Beside what I already mentioned in above post, it seems like the manual install only install the core packages. I'm guessing that may be a cause of the issues that I'm having.
Update: I was right. I wasn't able to elevate to root because sudo wasnt installed due to the minimal install. Done. Now that I have taken care of that I just need to figure out the xserver. from what I saw on the app video on google play, the person has the device connected to a pc thats communicating the xserver. If thats the case then I rather skip it and stay with rdp and or vnc. I need the desktop environment to be executed and run on my device.
Update 2: I figured the Xserver xdsl. I can lunch the commands from the terminal on my device and it will appear on the running xserver app, (e.g: env DISPLAY=10.0.0.16.0 iceweasel). Its not perfect but, it works. Thanks
frz1 said:
Here is where I am now. I partitioned my sdcard to put 5gb aside for this install. Proceeded with the manual install after step 4 when I followed your guide here, [http://www.timelesssky.com/blog/running-debian-armhf-alongside-android ] to modified the mk-debain script and tried to do the larger loop file first. That was going fine until it turned out the 5120mb setting I did was too large still, the highest possible I guess on a fat32 system is 4gb. I then decided to just go with the partition setup. I install wheezy and everything seems ok. The problem I am having now is with the ssh login and the xserver you recommended at the end of your guide. Idk if its the order that I install things or what but, I am unable to elevate to root during ssh login and the xserver app, well, I'm not getting how it work. Do I have to create all those scripts you mention here, [http://www.timelesssky.com/blog/android-x-server ] to get it running? If so, when I create the scripts where do I put/save them to? Thanks
Click to expand...
Click to collapse
Well first off that's not my guide, just one I suggested, links in my sig are guides and scripts I've written. If you check Sky's guide though it'll state that the reason that 4+ gig loop disk file size worked is because the device was not on vfat file system... I'm not sure on your other questions quoted here as I use other methods than Sky such as using openssh and rdp for connections instead...
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
frz1 said:
Beside what I already mentioned in above post, it seems like the manual install only install the core packages. I'm guessing that may be a cause of the issues that I'm having.
Update: I was right. I wasn't able to elevate to root because sudo wasnt installed due to the minimal install. Done. Now that I have taken care of that I just need to figure out the xserver. from what I saw on the app video on google play, the person has the device connected to a pc thats communicating the xserver. If thats the case then I rather skip it and stay with rdp and or vnc. I need the desktop environment to be executed and run on my device.
Update 2: I figured the Xserver xdsl. I can lunch the commands from the terminal on my device and it will appear on the running xserver app, (e.g: env DISPLAY=10.0.0.16.0 iceweasel). Its not perfect but, it works. Thanks
Click to expand...
Click to collapse
Ah very cool I'm glad you got it working :thumbup: which is something I've yet to do so you're blazing new trails on that front.
If you're feeling adventurous you can set an old device to mine crypto-currencies now without an android app; just got to be careful with any task that uses lots of resources. Or setup a Bramble/MPI system that shares resource load. Or setup a Android development environment for making apps or mods to your system... the options are endless....
Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.

Assembling system.img for the models on the processor Samsung Snapdragon &Exynos Octa

Assembling system.img for the models on the processor Samsung Snapdragon &Exynos Octa
Assembling sewn images (img) for the models on the processor Samsung Exynos Octa (S4-GT9500; Note-3 SM-N900, etc..)
What's needed to build their own ROM images: Preferably installed natively (live, not to Wirth., Machine) operating system based on Linux (UBUNTU, Linux Mint) and always 64 bit version.​
Configure the system to use in building firmware:
Code:
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.8-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline6-dev gcc-multilib g++-multilib libc6-dev x11proto-core-dev libx11-dev libz-dev gawk texinfo automake libtool cvs libsdl-dev
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ raring partner"
sudo apt-get update
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-jdk7-installer
Code:
sudo apt-get update
sudo apt-get install ia32-libs
Collect firmware:
1. - We will need to complete the assembly binaries Downloading this file
View attachment ext4_utils.zip
On versions of UBUNTU 13.04 and above may experience problems when you use these binaries, the way to solve:
http://forum.xda-developers.com/showpost.php?p=13834882&postcount=1
2. - Unpack the archive in your home directory, which is desirable in any folder you created previously, for example util
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. - Extract to the same folder from the downloaded firmware zip or in other formats, depending on where you get it. Prior to the status of individual images as below:
4. - Go to the folder in the terminal:
Code:
cd utils
We carry out the same in the terminal
Code:
ext4_utils/simg2img ./system.img ./system.raw.img
Code:
mkdir system
Code:
sudo mount -t ext4 -o loop system.raw.img system
Here, the terminal will be prompted to enter your administrator password, enter.
Here's what happened in the folder utils
5. - All our image system.img safely disassembled and placed in a folder for editing system (DO NOT close the terminal after these teams, if something else is needed to perform open another copy of the terminal) Next, go to the folder under administrator privileges (as root) and make the necessary changes. I've been using for these purposes Krusader, it is possible and usual file manager (as root)
For example:
Code:
sudo nautilus
But it more difficult to edit the permissions on files of modified, shorter than an amateur))
6. - After making the changes need to raise the image back to this continuing in the same place at the terminal where they made the disassembly:
Code:
ext4_utils/ext2simg -v system.raw.img system_new.img
Wait for the end of the process, and then:
Code:
ext4_utils/sgs4ext4fs --bloat system_new.img notesystem.img
Wait for the end of the process, and then:
Code:
chmod 0644 notesystem.img
7. - All our way safely assembled and ready after a subsequent packaging tar.md5 for flashing. Before packing firmware tar.md5 change the name of the new image notesystem.img on system.img simple renaming. Everything! Can clean the folder for the following assemblies, and unmount the mounted folder system
Code:
sudo umount system
Automated build process and edit images​ ----------------------------------​ --------------------​ ------------​ V
View attachment 2431367​
Special Thanks
Chainfire
A.S._id
Does this differ for SM-N9005?
Sent from my SM-N9005 using xda app-developers app
danieljamie said:
Does this differ for SM-N9005?
Sent from my SM-N9005 using xda app-developers app
Click to expand...
Click to collapse
Many of the other image format.
alexyuh said:
Many of the other image format.
Click to expand...
Click to collapse
help image I9505 Android 4.3
Help me the format image system.img.ext4, the working as above way and the result ODIN flash failed
thinh182009 said:
help image I9505 Android 4.3
But flash odin fail
Click to expand...
Click to collapse
Assembling sewn images (img) for the models on the processor Samsung Exynos Octa (S4-GT9500; Note-3 SM-N900, etc..)
alexyuh said:
Assembling sewn images (img) for the models on the processor Samsung Exynos Octa (S4-GT9500; Note-3 SM-N900, etc..)
Click to expand...
Click to collapse
Thank you for this tutorial. I did successfully I9500 version 4.3. You are asked to do all Note3 are successfully using this method. Thank you very much
Please SP all Qualcomm Snapdragon & Exynos 5 Octa
Thank you very much
Do you want a manual for Qualcomm Snapdragon?
Give me a log of commands from a terminal emulator.
Code:
cat /proc/partitions
and
Code:
cd dev/block/platform/dw_mmc.0/by-name
*************************************************************
or if does not work
*************************************************************
cd dev/block/platform/msm_sdcc.1/by-name
Code:
ls-l
alexyuh said:
Do you want a manual for Qualcomm Snapdragon?
Give me a log of commands from a terminal emulator.
Code:
cat /proc/partitions
and
Code:
cd dev/block/platform/dw_mmc.0/by-name
*************************************************************
or if does not work
*************************************************************
cd dev/block/platform/msm_sdcc.1/by-name
Code:
ls-l
Click to expand...
Click to collapse
Code:
[email protected]:/dev/block/platform/msm_sdcc.1/by-name # cat /proc/partitions
cat /proc/partitions
major minor #blocks name
253 0 512000 zram0
179 0 15388672 mmcblk0
179 1 12772 mmcblk0p1
179 2 52764 mmcblk0p2
179 3 128 mmcblk0p3
179 4 256 mmcblk0p4
179 5 512 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 16896 mmcblk0p9
179 10 13952 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 3072 mmcblk0p12
179 13 780 mmcblk0p13
179 14 780 mmcblk0p14
179 15 780 mmcblk0p15
179 16 2826240 mmcblk0p16
179 17 8192 mmcblk0p17
179 18 2119680 mmcblk0p18
179 19 6144 mmcblk0p19
179 20 10240 mmcblk0p20
179 21 10240 mmcblk0p21
179 22 10240 mmcblk0p22
179 23 6144 mmcblk0p23
179 24 3072 mmcblk0p24
179 25 8 mmcblk0p25
179 26 9216 mmcblk0p26
179 27 512000 mmcblk0p27
179 28 20480 mmcblk0p28
179 29 9728000 mmcblk0p
su-mksh: cd: /dev/block/platform/msm_sdcc.1/by-name/dev/block/platform/msm_sdcc.1/by-name: No such file or directory
2|[email protected]:/dev/block/platform/msm_sdcc.1/by-name # ls -l
ls -l
lrwxrwxrwx root root 1970-04-05 13:01 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 1970-04-05 13:01 apnhlos -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 1970-04-05 13:01 backup -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 1970-04-05 13:01 boot -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 1970-04-05 13:01 cache -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 1970-04-05 13:01 carrier -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 1970-04-05 13:01 efs -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 1970-04-05 13:01 fota -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 1970-04-05 13:01 fsg -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 1970-04-05 13:01 hidden -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 1970-04-05 13:01 m9kefs1 -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 1970-04-05 13:01 m9kefs2 -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 1970-04-05 13:01 m9kefs3 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 1970-04-05 13:01 mdm -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 1970-04-05 13:01 modemst1 -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 1970-04-05 13:01 modemst2 -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 1970-04-05 13:01 pad -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 1970-04-05 13:01 param -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 1970-04-05 13:01 persdata -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 1970-04-05 13:01 persist -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 1970-04-05 13:01 recovery -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 1970-04-05 13:01 rpm -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 1970-04-05 13:01 sbl1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 1970-04-05 13:01 sbl2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 1970-04-05 13:01 sbl3 -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 1970-04-05 13:01 ssd -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 1970-04-05 13:01 system -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 1970-04-05 13:01 tz -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 1970-04-05 13:01 userdata -> /dev/block/mmcblk0p29
[email protected]:/dev/block/platform/msm_sdcc.1/by-name #
Please Slution. Thanks you very much:good:
---------- Post added at 11:29 AM ---------- Previous post was at 11:01 AM ----------
I was dumb to succeed, but I want you to open and close a tutorial of the original file system
You can collect an image directly on phone.
It will be flash.
Will contain already only regional part of csc. Thus I remade custom rom. For example
http://forum.xda-developers.com/showthread.php?t=2511167
Collected image internal sd to the card. It should be packed into tar.md5
Flashing Odin3
I will write the instruction for the personal computer later.
Okta
su
make_ext4fs -s -l 2436890624B -a system /sdcard/system.img /system
Snap
su
make_ext4fs -s -l 2894069760B -a system /sdcard/system.img.ext4 /system
Sent from my SM-N900 using xda app-developers app
alexyuh said:
You can collect an image directly on phone.
It will be flash.
Will contain already only regional part of csc. Thus I remade custom rom. For example
http://forum.xda-developers.com/showthread.php?t=2511167
Collected image internal sd to the card. It should be packed into tar.md5
Flashing Odin3
I will write the instruction for the personal computer later.
Okta
su
make_ext4fs -s -l 2436890624B -a system /sdcard/system.img /system
Snap
su
make_ext4fs -s -l 2894069760B -a system /sdcard/system.img.ext4 /system
Sent from my SM-N900 using xda app-developers app
Click to expand...
Click to collapse
Hi alexyuh! Requirements of thinh182009 want your phone to run guide build Qualcomm Snapdragon chip by means of
which you have given above.
Please guide thinh182009. I trust you to do this Thank you very much.
FAQ
Repacker Exynos Okta
Made for themselves.
Before use, configure OS UBUNTU as stated in 1 of the theme topic
VIDEO: PUSH
TOOL: PUSH
Good luck!
Refinement welcome! :fingers-crossed:
To build on Snap:
http://forum.xda-developers.com/showpost.php?p=46906278&postcount=1
In one of the points have been a topic change:
4 -> After unpacking the firmware from zip -> Change the name on system.img.ext system.img, simply renaming the image.
Code:
mv system.img.ext system.img
And mount as indicated:
Code:
ext4_utils/simg2img ./system.img ./system.raw.img
Code:
mkdir system
Code:
sudo mount -t ext4 -o loop system.raw.img system
6-> Assembly:
Code:
sudo ./make_ext4fs -s -l 2894069760B -a system system_new.img system
Code:
sudo chown 1000.1000 system_new.img
Code:
rm -f system.img
Code:
mv system_new.img system.img.ext
Code:
sudo umount system
Code:
rm -r system
Code:
rm *.raw.img
Pack into the firmware tar.md5
To assemble the need to add this folder ext4_utils binary.
View attachment make_ext4fs.zip <-- Unpack the zip of a folder and add ext4_utils
alexyuh said:
Repacker Exynos Okta
Made for themselves.
Before use, configure OS UBUNTU as stated in 1 of the theme topic
VIDEO: PUSH
TOOL: PUSH
Good luck!
Refinement welcome! :fingers-crossed:
Click to expand...
Click to collapse
Thanks you very much
very professional:good:
alexyuh said:
Repacker Exynos Okta
Made for themselves.
Before use, configure OS UBUNTU as stated in 1 of the theme topic
VIDEO: PUSH
TOOL: PUSH
Good luck!
Refinement welcome! :fingers-crossed:
Click to expand...
Click to collapse
Thank you. You do a very professional.
You can create for me simg2img make_ext4fs adnroid version 4.4_r1 (https://android.googlesource.com/platform/system/extras/).
I really believe you do this. Thank you very much.
[/COLOR]
linhbs said:
Thank you. You do a very professional.
You can create for me simg2img make_ext4fs adnroid version 4.4_r1 (https://android.googlesource.com/platform/system/extras/).
I really believe you do this. Thank you very much.
Click to expand...
Click to collapse
Yes, show for us the master class, and will you make Makefile android-4.4_r1.2 brunch well, or even android-4.3_r2? we are trusting in you...
A.S._id said:
[/COLOR]
Yes, show for us the master class, and will you make Makefile android-4.4_r1.2 brunch well, or even android-4.3_r2? we are trusting in you...
Click to expand...
Click to collapse
Thank you. You can create makefile from https://android.googlesource.com/platform/system/extras/+/refs/heads/master/ext4_utils/ help me.
I want to get Make_ext4fs. If you create make_ext4fs help me. I believe you do this. Thank you very much.
Automated build process and edit images​ ----------------------------------​ --------------------​ ------------​ V
View attachment 2431377​
ext4_utils_4.3
1- Download folder on your computer and unzip
2- Open the folder ext4_utils in the terminal
3- Execute the command
Code:
make
4-Enjoy :laugh:
https://mega.co.nz/#!DwIjyRTY!a9Ega2UnJwDg_E__QV0GVSXqWVUl9IudzdsvNUkTGDU
dell

[Q] Strange behavior with ext4 mount (root can see but apps cannot)

Hi all,
I'm just hacking at my rk3188 box, and trying to get XBMC to read my ext4 external hard drive.
However when the hard drive is mounted, XBMC only sees an empty directory!
Also, in the terminal, "su'ing" as an app user, the directory appears empty also.
This worked perfectly with android 4.2, 4.4 seems be more troublesome.
Code:
[email protected]_872xu:/ # ls -ailrt /mnt/usb_storage/usb/
3222 dr-xr-xr-x 3 media 1023 60 Sep 9 11:32 ..
10959 -rw-rw-rw- 1 root root 0 Sep 9 11:35 testing
8841 drwxrwxrwx 2 media root 60 Sep 9 14:18 .
[email protected]_872xu:/ # mount -t ext4 /dev/block/sda1 /mnt/usb_storage/usb
[email protected]_872xu:/ # ls -l /mnt/usb_storage/usb/backup/
-rwxrwxr-x 1 root root 2147483648 Sep 9 11:20 arch.img
drwxrwxrwx 2 root root 4096 Sep 7 17:30 init.d
[email protected]_872xu:/ # su - app_65
[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb/backup/
/mnt/usb_storage/usb/backup/: No such file or directory
1|[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb
-rw-rw-rw- root root 0 2014-09-09 11:35 testing
dmarkey said:
Hi all,
I'm just hacking at my rk3188 box, and trying to get XBMC to read my ext4 external hard drive.
However when the hard drive is mounted, XBMC only sees an empty directory!
Also, in the terminal, "su'ing" as an app user, the directory appears empty also.
This worked perfectly with android 4.2, 4.4 seems be more troublesome.
Code:
[email protected]_872xu:/ # ls -ailrt /mnt/usb_storage/usb/
3222 dr-xr-xr-x 3 media 1023 60 Sep 9 11:32 ..
10959 -rw-rw-rw- 1 root root 0 Sep 9 11:35 testing
8841 drwxrwxrwx 2 media root 60 Sep 9 14:18 .
[email protected]_872xu:/ # mount -t ext4 /dev/block/sda1 /mnt/usb_storage/usb
[email protected]_872xu:/ # ls -l /mnt/usb_storage/usb/backup/
-rwxrwxr-x 1 root root 2147483648 Sep 9 11:20 arch.img
drwxrwxrwx 2 root root 4096 Sep 7 17:30 init.d
[email protected]_872xu:/ # su - app_65
[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb/backup/
/mnt/usb_storage/usb/backup/: No such file or directory
1|[email protected]_872xu:/ $ ls -l /mnt/usb_storage/usb
-rw-rw-rw- root root 0 2014-09-09 11:35 testing
Click to expand...
Click to collapse
No ideas?

Going crazy with permissions on SD card internal/external can not as root set 777

First I'm on 7.1.1 LineageOS v20, I have my SD card formated using ext2 since I need 4+ GB files for TWRP backups. This works and I can create files and folder ..., however I've found that if I pull the SD card and on a computer set the permission to say 777 all is fine, but on the Phone, I can for instance create a directory using root-explorer, but can not set permission or copy files into it. If I create the folder on the computer I can copy files into it however. Next say I backup using Ti-backup to the external SDcard it works fine, but of I install a new ROm I can not access the previous backup files. I can not change the permissions on the file to 777 either from a terminal.
Really this is what upsets me, as root in a terminal I can not set permissions on a file as it does nothing, for instance on /storage/emulated/0 I have:
h918:/storage/emulated/0 # ls
drwxrwx--x 3 root sdcard_r 4096 Mar 14 19:35 .rr
-rw-rw---- 1 root sdcard_r 1369542927 Apr 1 22:28 01update.zip
-rw-rw---- 1 root sdcard_r 884357956 Apr 1 22:34 02update.zip
-rw-rw---- 1 root sdcard_r 1057588047 Apr 1 22:41 03update.zip
drwxrwx--x 2 root sdcard_r 4096 Mar 9 23:06 3DMarkAndroid
drwxrwx--x 2 root sdcard_r 4096 Mar 4 18:20 Alarms
....
as root I execute:
h918:/storage/emulated/0 # chmod 777 *.zip
h918:/storage/emulated/0 # chmod 777 *.zip
h918:/storage/emulated/0 # ls -al
drwxrwx--x 43 root sdcard_r 4096 Apr 1 22:35 .
drwx--x--x 4 root sdcard_r 4096 Jan 1 2016 ..
-rw-rw---- 1 root sdcard_r 2557 Apr 1 20:20 .bash_history
drwxrwx--x 3 root sdcard_r 4096 Mar 14 19:35 .rr
-rw-rw---- 1 root sdcard_r 1369542927 Apr 1 22:28 01update.zip
-rw-rw---- 1 root sdcard_r 884357956 Apr 1 22:34 02update.zip
-rw-rw---- 1 root sdcard_r 1057588047 Apr 1 22:41 03update.zip
drwxrwx--x 2 root sdcard_r 4096 Mar 9 23:06 3DMarkAndroid
drwxrwx--x 2 root sdcard_r 4096 Mar 4 18:20 Alarms
...
The permissions remain unchanged, why I'm root I should be able to change permissions.
looking at mount the options are:
/dev/fuse on /storage/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/emulated type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
The SD card looks similar:
/dev/fuse on /storage/ea8c26be-fcbc-4773-b799-5e64ef33f641 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/read/ea8c26be-fcbc-4773-b799-5e64ef33f641 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/fuse on /mnt/runtime/write/ea8c26be-fcbc-4773-b799-5e64ef33f641 type fuse (rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other)
Nothing here should block ROOT from change the permissions. I simply want as root or as any root application to be able to create a directory change file permission and access data written as another root app, all of which make it possible to use the phone and backup/restore safely.
I can only assume something is blocking me form using the device the way I want and operating on files, since pulling the card to a computer allows setting 777 and then it works as I want, what I want is to set the umask to 777 for everything, as for security that can be damned as I need to be able to backup and restore safely first, something I can not do now as Tibackup can not access it's own files on restore unless I first pull the card and set the permissions on a computer, which is unacceptable.
Files created on the phone have permissions 700 or something similar, even though on the phone they are listed as having more, this explains the issue as it is not for instance: -rw-rw---- but -rw-------, however root should still be able to access the file and can not, nor can root change the settings.
ERIC

OEM partition readonly

I'm trying to flash lineageOS on my Moto Z/XT1650 however it aborts with 'E2001: Failed to update vendor image.' and leaves the system in an unbootable state (which i have then to fix by restoring the stock image from backups) After having a closer look the error seems to originate from the updater script when it tries to patch the vendor/oem partition (/dev/block/bootdevice/by-name/oem or /dev/block/sdc9) because the partition is readonly.
Code:
block_image_update("/dev/block/bootdevice/by-name/oem", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") ||
abort("E2001: Failed to update vendor image.");
I also failed to mount the partition rw via adb shell.
Code:
~ # mount -w /dev/block/sdc9 /oem
~ # ls -al /oem
drwxr-xr-x 6 root root 4096 Jan 1 1970 .
drwxrwxrwt 31 root root 1040 Jul 26 09:25 ..
drwxr-xr-x 6 root root 4096 Sep 25 2018 app
drwxr-xr-x 6 root root 4096 Sep 25 2018 etc
drwx------ 2 root root 4096 Jan 1 1970 lost+found
-rw-r--r-- 1 root root 146 Sep 25 2018 oem.prop
drwxr-xr-x 4 root root 4096 Sep 25 2018 priv-app
~ # touch /oem/test
touch: /oem/test: Read-only file system
How do i make the partition rw so that twrp/lineage installer can patch it?
Never mind, i found the solution: Booting directly into twrp causes these issues. Flash the twrp/recovery image and boot into recovery mode instead

Categories

Resources