Related
I have an Archos 7 Home Tablet running Android 1.5 Cupcake
Thanks to the one click root development happening for the N1 right now, it is possible to root stock roms. i.e. Without flashing a custom rom etc (though these are also available).
Due to the fact that /system is on a cramfs filesystem, it isn't possible to root permanently, but only for a session.
In any case, the thing I need most is increased app storage.
Here is some info on the current config:
Code:
# mount
rootfs / rootfs rw 0 0
/dev/root / cramfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock4 /system cramfs ro 0 0
/dev/block/mtdblock7 /data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock6 /cache ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock9 /data/data ext3 rw,nosuid,nodev,errors=continue,data=ordered 0 0
/dev/block/mtdblock4 /sqlite_stmt_journals/sys_bin_orig cramfs ro 0 0
tmpfs /system/bin tmpfs rw,size=4096k 0 0
/dev/block//vold/31:8 /flash vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0111,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0
The default roms also seem to have busybox (v 1.11) builtin.
What I want to do is either increase /data and /data/data (to approx 256 mb each) or implement some form of apps2sd which puts apps on the internal flash memory.
Can anyone point me in the right direction? Or give me some advice?
I run linux on my PC.
I've been playing with this for a couple days. This is where I'm at:
With adb
I pushed psneuter to /etc/
chmod 777 /etc/psnerter
adb shell
/etc/psneuter
At this point I get the # sign in CMD on win xp. Shell root?
But I do not have root on the tablet. Something in the mess below is the key but I am not sure where. Any help would be greatly a[[appreciated.
Thanks
cat /proc/mounts
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,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
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /proc/bus/usb usbfs rw,relatime,devmode=666 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /data ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered
0 0
/dev/block/mmcblk0p2 /cache ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered
0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,u
id=1000,gid=1015,fmask=0702,dmask=0702,allow_utime =0020,codepage=cp437,iocharset
=utf8,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relat
ime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_ utime=0020,codepage=cp437,ioch
arset=utf8,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/vold/179:9 /mnt/extsd vfat rw,dirsync,nosuid,nodev,noexec,relatime,ui
d=1000,gid=1015,fmask=0702,dmask=0702,allow_utime= 0020,codepage=cp437,iocharset=
utf8,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-0 /mnt/asec/com.rovio.angrybirdsrio-1 vfat ro,dirsync,nosuid,nodev
,noexec,relatime,uid=1000,fmask=0222,dmask=0222,co depage=cp437,iocharset=utf8,sh
ortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.rovio.angrybirdsseasons-1 vfat ro,dirsync,nosuid,n
odev,noexec,relatime,uid=1000,fmask=0222,dmask=022 2,codepage=cp437,iocharset=utf
8,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.rovio.angrybirds-1 vfat ro,dirsync,nosuid,nodev,no
exec,relatime,uid=1000,fmask=0222,dmask=0222,codep age=cp437,iocharset=utf8,short
name=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.quoord.tapatalkat.activity-1 vfat ro,dirsync,nosui
d,nodev,noexec,relatime,uid=1000,fmask=0222,dmask= 0222,codepage=cp437,iocharset=
utf8,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/com.scannerradio-1 vfat ro,dirsync,nosuid,nodev,noexec
,relatime,uid=1000,fmask=0222,dmask=0222,codepage= cp437,iocharset=utf8,shortname
=mixed,utf8,errors=remount-ro 0 0
#
for whats its worth i ran the z4 thingy and it says im rooted.. dont see the su icon tho..
and i tried in the TE and it wont let me SU.. so <<< fail.
I'm wondering if its su not installing? I installed superuser from market but that may not be the way to go.
Thanks
Something else I noticed is in the /proc/mounts listed above I do not see mmcblk0p4 although it is on my tablet under /dev/block. Is this normal?
Got it, thanks
z4root should do it, it did for me.
i rooted my M10, and a Coby Kyros with it 1 time and done.
Hi, i just got the Mid7024 today. Have anyone found out a way to root the device? I'm very new to this, step by step instructions would be appreciated, thanks.
Yes, I did figure out how to root the MID7024 and posted on another site. Not sure if I'm allowed to link to that site but you can google androidtablets to locate it.
Boot Mod Made By Me
REMEMBER TO BACK UP YOUR ROM FIRST
information
as you all no data/media is linked to /sdcard so with my mod you can swap sdcard for external sdcard so downloads camera pictures and game data all go to extrnal sdcard the phone still shows internal as 10gb and as I use a 16gb card it shows 16gb
as you can see the phone still this storage/sdcard0 is still linked to /sdcard
Code:
[email protected]:/ $ su
/system/bin/sh: su: not found
127|[email protected]:/ $ mu
/system/bin/sh: mu: not found
127|[email protected]:/ $ su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p13 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,relatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.rockstar.gta3-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:17 /storage/extSdCard 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
[email protected]:/ #
with my mod you get
extSdCard linked to /sdcard and mnt/sdcard
your intrnal sdcard is still linked to storage/sdcard0
init.d is enabled
this is for stock 4.1.2
downloads
uploading now
rickwyatt said:
Boot Mod Made By Me
information
as you all no data/media is linked to /sdcard so with my mod you can swap sdcard for external sdcard so downloads camera pictures and game data all go to extrnal sdcard the phone still shows internal as 10gb and as I use a 16gb card it shows 16gb
as you can see the phone still this storage/sdcard0 is still linked to /sdcard
Code:
[email protected]:/ $ su
/system/bin/sh: su: not found
127|[email protected]:/ $ mu
/system/bin/sh: mu: not found
127|[email protected]:/ $ su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p13 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,relatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.rockstar.gta3-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:17 /storage/extSdCard 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
[email protected]:/ #
with my mod you get
extSdCard linked to /sdcard and mnt/sdcard
your intrnal sdcard is still linked to storage/sdcard0
init.d is enabled
this is for stock 4.1.2
downloads
uploading now
Click to expand...
Click to collapse
Great! I need extSdCard, go outside 32GB SDCard as internal SDCard
This mod is slightly different top the earlier one I used as the earlier swapped internal for external.
This one is better for my needs. Thanks a lot
swap internal for external and init.d
We flash through CWM ? Am i correct ?
I have problem with photo gallery, after installation, I can not watch pictures. And without SD card I can not use camera.
How to uninstall your mod?
HOW TO INSTALL ??? [MOD]Boot mod by RickWyatt swap internal for external and init.d
rickwyatt said:
boot mod made by me
remember to back up your rom first
information
as you all no data/media is linked to /sdcard so with my mod you can swap sdcard for external sdcard so downloads camera pictures and game data all go to extrnal sdcard the phone still shows internal as 10gb and as i use a 16gb card it shows 16gb
as you can see the phone still this storage/sdcard0 is still linked to /sdcard
Code:
[email protected]:/ $ su
/system/bin/sh: Su: Not found
127|[email protected]:/ $ mu
/system/bin/sh: Mu: Not found
127|[email protected]:/ $ su
[email protected]:/ # mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p3 /efs ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p12 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered 0 0
/dev/block/mmcblk0p13 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p16 /data ext4 rw,nosuid,nodev,noatime,barrier=1,journal_async_commit,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/mmcblk0p10 /firmware vfat ro,relatime,fmask=0133,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p11 /tombstones ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /storage/sdcard0 fuse rw,nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/dm-0 /mnt/asec/com.rockstar.gta3-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/dm-1 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,nosuid,nodev,noatime,barrier=1 0 0
/dev/block/vold/179:17 /storage/extsdcard 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
[email protected]:/ #
with my mod you get
extsdcard linked to /sdcard and mnt/sdcard
your intrnal sdcard is still linked to storage/sdcard0
init.d is enabled
this is for stock 4.1.2
downloads
uploading now
Click to expand...
Click to collapse
how do i install please ???
smaberg said:
This mod is slightly different top the earlier one I used as the earlier swapped internal for external.
This one is better for my needs. Thanks a lot
Click to expand...
Click to collapse
Can this be incorporated into your rom Smaberg? Would be great if it could (assuming the original dev was ok with that)
hi sir!
i like this mod! can you please show to us how did you do this? do we have to modify the kernel or just make an init.d script?
thanks a lost sir!
Hi,
I want to create a back-to-stock zip that I can flash in CWM recovery that makes my phone 100% stock again. I haven't done this before.
The phone is a ZTE T81 which is an Australian version of the ZTE Avid, so there are no back-to-stock images on the internet. It's Android 4.04, 100% stock not rooted. At the moment there is nothing on the phone worth keeping (no SMS, photos, contacts etc), I have only got through the initial setup, haven't even added a SIM or my Google account.
From what I have read I think I need to create a boot, system and recovery images. I tried "adb pull /" but it only did half a job so I guess I need to root and create the images with dd. In the mounts below there is a system partition but no obvious boot or recovery partitions. So...
1) What would the boot and recovery partitions be under?
2) Do I need to image any other partitions?
3) Once I create the 3 images, how do I make the CWM back-to-stock zip?
Code:
1|[email protected]:/ $ mount
mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,noauto_da_alloc 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/tombstones /tombstones ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
re: back-to-stock zip?
from zte site (us or ch?)
ZTE_Avid_4G_SD_Card_Upgrade_-_ZIP_-_304MB - it is a zip file (name of file exact from download + .zip). there's also a pdf how to install but basic. it is the stock rom metropcs don't know if same is au just google or go to zte or if need i can upload
As an experimentation, I'm trying to take a full ROM backup of my Karbonn A35 (a little known MTK based phone) using this method. However, I'm unable to find the "by-name" folder inside /dev/block/platform. There is only one folder there called mtk-msdc.0. This is the output when I run cat /proc/partitions from the adb shell:
Code:
major minor #blocks name
7 0 5920 loop0
179 0 3845120 mmcblk0
179 1 1 mmcblk0p1
179 2 10240 mmcblk0p2
179 3 10240 mmcblk0p3
179 4 665600 mmcblk0p4
179 5 385024 mmcblk0p5
179 6 1355776 mmcblk0p6
179 7 1382144 mmcblk0p7
179 64 2048 mmcblk0boot1
179 32 2048 mmcblk0boot0
And here is the output of cat /proc/mounts
Code:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/secure tmpfs rw,relatime,mode=700 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
/[email protected] /system ext4 ro,noatime,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected] /data ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/[email protected] /cache ext4 rw,nosuid,nodev,noatime,noauto_da_alloc,data=ordered 0 0
/[email protected]_f /protect_f ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0
/[email protected]_s /protect_s ext4 rw,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered 0 0
/dev/block/loop0 /mnt/cd-rom iso9660 ro,relatime 0 0
/dev/block/vold/179:7 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:7 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
Is there any easy way to backup the ROM using dd command from inside the shell?
The reason I want to backup the ROM is that later on I want to root and install CWM, CyanogenMod, etc. The said phone (Karbonn A35) is I think a rebranded version of HTC FairPhone First Edition because that's what it says in the lsusb.