I'm using CM 7.2 latest, already done partition of sd card by minitool partition (Ext4)
when i type a2sd data in terminal emulation it shows this error message, please reply me as soon as possible what this problem is all about & how can I solve it..
$ export PATH=/data/local/bin:$PATH
$ a2sd datasd
/system/bin/a2sd: line 61: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 65: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 66: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 67: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 68: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 69: /data/dta2sd.log: Permission denied
[ ] GREP: Using ROM Busybox.
[ ] REBOOT: Using ROM Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
grep: /init.rc: Permission denied
/system/bin/launcha2sd: line 296: /data/.lmdefault: Permission denied
/system/bin/launcha2sd: line 297: /data/.lmdefault: Permission denied
tee: /data/dta2sd.log: Permission denied
__ _____
tee: /data/dta2sd.log: Permission denied
| \ |
tee: /data/dta2sd.log: Permission denied
| | |
tee: /data/dta2sd.log: Permission denied
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
tee: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 1: Check for SD Card Fix and Implement.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 4: Determine Mount Point.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 5: Set Parameter Variables.
/system/bin/launcha2sd: line 373: /data/dta2sd.log: Permission denied
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 6: Insert CyanogenMod patch.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 8: Resetting Dalvik Cache Partition
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 10: Checking for existence of command parameter
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 11: Check for a2sd help command
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 12: Check for a2sd check command
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 13: Display version information.
/system/bin/launcha2sd: line 538: /data/dta2sd.log: Permission denied
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 4a
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 14: Check for filesystem support.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 15: Mount partition.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 16: Reset Dalvik if Flag File is present.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 17: Mount Swap.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 18: Display Heap Size.
[ ] Heap Size set to: 48m
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 19: Check for start parameter and launch start2sd if needed.
tee: /data/dta2sd.log: Permission denied
[ ] Launching Apps2SD Start Program with datasd
/system/bin/launcha2sd: line 820: /data/dta2sd.log: Permission denied
/system/bin/starta2sd: line 18: /data/dta2sd.log: Permission denied
[ ] Starting Darktremor Apps2SD in datasd mode
/system/bin/starta2sd: line 61: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[X] No partition available. Data move not available
/system/bin/starta2sd: line 114: /data/.nodata: Permission denied
tee: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[ ] Setting File System Ready property to 1.
/system/bin/starta2sd: line 1211: /data/dta2sd.log: Permission denied
/system/bin/launcha2sd: line 822: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 71: /data/dta2sd.log: Permission denied
Did you use the command as su or not?
It should be:
Code:
$su [ENTER]
#a2sd data [ENTER]
That's exactly how it will look in terminal. Obviously don't type the dollar or pound signs and [ENTER] just means hit enter.
Edit: Just noticed the '$' in your command there. You need to run the 'a2sd data' command as su. So follow the steps I typed above and you should be as happy as a monkey with a fresh pile of poo.
Thank for your help....
Dear thank you very very much for your help,
I'm beginner so please guide me some more, I just want to transfer my apps in SD card by using a2sd that's it. I've already partitioned my SD card from fat32 to EXT4 by using "mini tools partition wizard" now I'm having FAT32 partition & EXT4 partition in my sdcard.
I can't see EXT4 partition in my samsung galaxy gio but only can see FAT32(showing 1.2 GB) but rest of 600 MB for EXT4 is not been shown.
AFTER USING YOUR INSTRUCTIONS, I GOT THIS MESSAGE...
$ export PATH=/data/local/bin:$PATH
$ su
# a2sd data
[ ] GREP: Using ROM Busybox.
[ ] REBOOT: Using ROM Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
[-] Checkpoint 1: Check for SD Card Fix and Implement.
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[-] Checkpoint 6: Insert CyanogenMod patch.
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[-] Checkpoint 13: Display version information.
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 4a
[-] Checkpoint 14: Check for filesystem support.
[-] Checkpoint 15: Mount partition.
[-] Checkpoint 16: Reset Dalvik if Flag File is present.
[-] Checkpoint 17: Mount Swap.
[-] Checkpoint 18: Display Heap Size.
[ ] Heap Size set to: 48m
[-] Checkpoint 19: Check for start parameter and launch start2sd if needed.
[ ] Launching Apps2SD Start Program with data
[ ] Starting Darktremor Apps2SD in data mode
[X] Invalid command: data
[ ] Setting File System Ready property to 1.
#
now tell me what should I do to transfer my apps to SD card EXT4 partition that is hidden even I have tried titanium backup, still can't see my 600 MB
Well your apps data is on the ext partition.
Now try this command:
Code:
$ su [ENTER]
# /system/bin/a2sd reinstall [ENTER]
Your phone should reboot.
Now go back into terminal and type in this:
Code:
$ su [ENTER]
# /system/bin/a2sd cachesd [ENTER]
Again your phone will reboot. You should have a lot more space on your phones internal memory now. You're done.
If you want to check all this and have a GIU to control it with use THIS app.
One thing you'll notice is that it still looks like the apps are on in the internal memory - they're not. You can check that using Titanium Backup or that app I linked you too. You'll notice the internal memory has a lot more free space and the ext partition should be listed.
Waoooo!!!!!
Thank you very very much for your halp....
now I'm having free memory in internal memory, before reading your this comment I watch a video "how to partition sd card" so I partitioned my SDCARD again (don't know CWM partitioned it in EXT3 or EXT4 format as far I know EXT4 is fast) by using Clockworkrecovery to 500MB & there was also an option of SWAP partiton (didn't any idea what it's about) & I partitioned it to 64MB..
after that I got your message, did what you say & it has done well, now a2sdgui showing that apps are in SD card & delvik cache is in sd card as well
but dear tell me one more thing I've check by titanium backup the "google app" like google mail, youtube etc... are still in SD CARD I though this a2sd will transfer all these apps to SD Card's EXT partition??
By the way thank you very very much indeed for helping me
You're welcome!
For those apps go into settings>applications. There should be a tab at the top that will list what apps are on the sdcard. Click on that and check find those apps, make sure they're not check marked or selected. If they are, simply unselect them and they will be moved to the 'internal' memory (your phone thinks the ext partition is part of the internal memory basically). There are 2 types of a2sd, Google's version and the one you're using. They work very differently and those couple apps you mentioned are using Google's version.
Hopefully that helps. PM me if you have any other questions or just post them in this thread.
now I got some idea when you said (your phone think it's internal memory)
thumbs up for you & definitely if there will be any problem, i'll PM you within no time
Thanks for making me happy
Related
Hi people I am a proude owner of optimus one. but I cannot get app2sd +
work other then CyanogenMod 7 (Android 2.3.3) Beta 4.....I do not know the reason. maybe its gingerbread.
any ways after I installed CyanogenMod 7 (Android 2.3.3) Beta 4 along with darktremor beta 4 there were no problem what so ever regarding app2sdall of the app packege + devik-cache goes to sd card. btw I am using ext4 for this and ext3 for others and ext2 for some other roms.
Ya where was I? Ya rem.... I tried flashing diffrent custome rom like void-echo, prime v2, OptimusX v1, Nessy, LOL etc.....but still nothing, apps are taking quite a bit space in internal memory. example....
After you install Opera Mobile browser (a2sd + delvik-cache to sd already installed and checked by terminal) It will consume 8+mb of internal space. And I cannot get rid of the consumed space.
in CyanogenMod 7 (Android 2.3.3) Beta 4 it does the same but if I move the opera manually to sd it get rid of that consumed 8 mb. but cannot do the same with other rom.
I dont know where m i going wrong. But is there any step i am missing in order to utilize app2sd fully?
can anyone give me any advice to solve this problem with other roms that are bassed on 2.2.......????
go to terminal and type these commands:
Code:
su
a2sd
read thoroughly, press enter to scroll down.
ungaze said:
go to terminal and type these commands:
Code:
su
a2sd
read thoroughly, press enter to scroll down.
Click to expand...
Click to collapse
Please chk this link
http://forum.xda-developers.com/showpost.php?p=12620748&postcount=7
code
after su
a2sd check
Code:
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
[-] Checkpoint 1: Check for SD Card Fix and Implement.
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
[-] Checkpoint 6: Insert CyanogenMod patch.
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[ ] Starting Apps2SD Check Program.
Darktremor 2.7.5.3 Beta 4a Apps2SD Status Report
================================================================================
===
Legend: [*]=Setting is correct
[!]=Setting is correct, but not optimal.
[x]=Setting is incorrect and needs to be fixed or option is not available
ble.
================================================================================
===
Block Device - [*] /dev/block/mmcblk0p2
Mount Point - [*] /sd-ext
Support EXT2? - [*] Yes
Support EXT3? - [*] Yes
Support EXT4? - [*] Yes
Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Programs run from SD card
To run from internal storage, type a2sd remove
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Private Programs run from SD card
To run from internal storage, type a2sd remove
Dalvik Cache - [ ] Symbolically Linked.
[ ] Dalvik to SD flag file found.
[*] Dalvik runs from SD card
To run from internal storage, type a2sd nocache
To run from /cache partition, type a2sd cachepart
Data - [ ] Program Data on Internal Storage.
Swap - [ ] Partition not present or no swap support.
[*] Swap does not start.
ZipAlign - [*] Not running at boot.
To activate it, type a2sd zipalign
Dalvik Heap(MB) - [*] 32m
Low Memory
Killer Settings - [*] 2048,3072,4096,6144,7168,8192
Note: Values are in pages.
1 page = 4KB memory.
Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[*] For a list of commands that you can use with Apps2SD
Type: a2sd help
And now tell me what more shound I do??????
[*] For a list of commands that you can use with Apps2SD
Type: a2sd help
I'll jump right in and lay it out for you, when you type "a2sd check" you should get something like this:
Code:
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
Darktremor 2.7.5.2 Apps2SD Status Report
===================================================================================
Legend: [*]=Setting is correct
[!]=Setting is correct, but not optimal.
[X]=Setting is incorrect and needs to be fixed or option is not available.
===================================================================================
[B]Block Device - [*] Found
- [*] /dev/block/mmcblk0p2
EXT Partition - [*] Mounted
Mount Point - [ ] /system/sd
Partition Type - [*] EXT2
Support EXT2? - [*] Yes
Support EXT3? - [*] Yes
Support EXT4? - [*] Yes[/B]
[B]Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Programs run from SD card
To run from internal storage, type a2sd remove[/B]
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Private Programs run from SD card
To run from internal storage, type a2sd remove
[B]Dalvik Cache - [ ] Symbolically Linked.
[ ] Dalvik to SD flag file found.
[*] Dalvik runs from SD card
To run from internal storage, type a2sd nocache
To run from /cache partition, type a2sd cachepart[/B]
Swap - [ ] Partition not present or no swap support.
[*] Swap does not start.
ZipAlign - [*] Not running at boot.
To activate it, type a2sd zipalign
Dalvik Heap(MB) - [*] 40m
Low Memory
Killer Settings - [*] 1536,2048,4096,4096,5120,15360
Note: Values are in pages.
1 page = 4KB memory.
Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[â‡] For a list of commands that you can use with Apps2SD
Type: a2sd help
Notice the parts in bold? theres always a tip on the last line, check it out.
ungaze said:
[*] For a list of commands that you can use with Apps2SD
Type: a2sd help
I'll jump right in and lay it out for you, when you type "a2sd check" you should get something like this:
Code:
[ ] Apps2SD is launching...
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.2 (2010-09-30)
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[ ] Starting Apps2SD Check Program.
[ ] Checking for ext partition
Darktremor 2.7.5.2 Apps2SD Status Report
===================================================================================
Legend: [*]=Setting is correct
[!]=Setting is correct, but not optimal.
[X]=Setting is incorrect and needs to be fixed or option is not available.
===================================================================================
[B]Block Device - [*] Found
- [*] /dev/block/mmcblk0p2
EXT Partition - [*] Mounted
Mount Point - [ ] /system/sd
Partition Type - [*] EXT2
Support EXT2? - [*] Yes
Support EXT3? - [*] Yes
Support EXT4? - [*] Yes[/B]
[B]Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Programs run from SD card
To run from internal storage, type a2sd remove[/B]
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[*] Private Programs run from SD card
To run from internal storage, type a2sd remove
[B]Dalvik Cache - [ ] Symbolically Linked.
[ ] Dalvik to SD flag file found.
[*] Dalvik runs from SD card
To run from internal storage, type a2sd nocache
To run from /cache partition, type a2sd cachepart[/B]
Swap - [ ] Partition not present or no swap support.
[*] Swap does not start.
ZipAlign - [*] Not running at boot.
To activate it, type a2sd zipalign
Dalvik Heap(MB) - [*] 40m
Low Memory
Killer Settings - [*] 1536,2048,4096,4096,5120,15360
Note: Values are in pages.
1 page = 4KB memory.
Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[â‡] For a list of commands that you can use with Apps2SD
Type: a2sd help
Notice the parts in bold? theres always a tip on the last line, check it out.
Click to expand...
Click to collapse
I have done this. and show me devik-cache runs from sd..then whats the problem. and why installing opera or updating map eating internal space. Doesn't happen in gingerbread...
I'm using CM 7.2 latest, already done partition of sd card by minitool partition (Ext4)
when i type a2sd data in terminal emulation it shows this error message, please reply me as soon as possible what this problem is all about & how can I solve it..
$ export PATH=/data/local/bin:$PATH
$ a2sd datasd
/system/bin/a2sd: line 61: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 65: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 66: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 67: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 68: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 69: /data/dta2sd.log: Permission denied
[ ] GREP: Using ROM Busybox.
[ ] REBOOT: Using ROM Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
grep: /init.rc: Permission denied
/system/bin/launcha2sd: line 296: /data/.lmdefault: Permission denied
/system/bin/launcha2sd: line 297: /data/.lmdefault: Permission denied
tee: /data/dta2sd.log: Permission denied
__ _____
tee: /data/dta2sd.log: Permission denied
| \ |
tee: /data/dta2sd.log: Permission denied
| | |
tee: /data/dta2sd.log: Permission denied
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
tee: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 1: Check for SD Card Fix and Implement.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 4: Determine Mount Point.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 5: Set Parameter Variables.
/system/bin/launcha2sd: line 373: /data/dta2sd.log: Permission denied
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /sd-ext
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 6: Insert CyanogenMod patch.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 8: Resetting Dalvik Cache Partition
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 10: Checking for existence of command parameter
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 11: Check for a2sd help command
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 12: Check for a2sd check command
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 13: Display version information.
/system/bin/launcha2sd: line 538: /data/dta2sd.log: Permission denied
[ ] Starting Darktremor Apps2SD Version 2.7.5.3 Beta 4a
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 14: Check for filesystem support.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 15: Mount partition.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 16: Reset Dalvik if Flag File is present.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 17: Mount Swap.
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 18: Display Heap Size.
[ ] Heap Size set to: 48m
tee: /data/dta2sd.log: Permission denied
[-] Checkpoint 19: Check for start parameter and launch start2sd if needed.
tee: /data/dta2sd.log: Permission denied
[ ] Launching Apps2SD Start Program with datasd
/system/bin/launcha2sd: line 820: /data/dta2sd.log: Permission denied
/system/bin/starta2sd: line 18: /data/dta2sd.log: Permission denied
[ ] Starting Darktremor Apps2SD in datasd mode
/system/bin/starta2sd: line 61: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[X] No partition available. Data move not available
/system/bin/starta2sd: line 114: /data/.nodata: Permission denied
tee: /data/dta2sd.log: Permission denied
tee: /data/dta2sd.log: Permission denied
[ ] Setting File System Ready property to 1.
/system/bin/starta2sd: line 1211: /data/dta2sd.log: Permission denied
/system/bin/launcha2sd: line 822: /data/dta2sd.log: Permission denied
/system/bin/a2sd: line 71: /data/dta2sd.log: Permission denied
Moderator note: Please feel very free to move this thread to a more appropriate forum. Thanks -- kmdm
Let's correlate the failures and try to find out what's going on.
You must be using revone v0.2.1
If revone fails for you, please detail the following information (don't clutter this thread or I simply won't bother looking through it ).
revone error code / description / sympton
Your CID (fastboot getvar cid)
Your HBOOT version (fastboot getvar version-bootloader
Your software version (fastboot getvar version-main)
Your kernel version (adb shell uname -r)
If revone fails with error code (-1), the output of running this immediately after that: ./revone -P
Please feel free to include anything else that is obviously relevant but missing from the list.
(You may also post if you create and maintain a google docs spreadsheet of the information )
Thanks,
- kmdm
Hello, I am getting error code -1. Below is all my information. Also attached is the screenshot of the whole process:
CID : H3G__001
HBOOT : 1.44.0000
Software : 1.28.771.6
Kernel :3.4.10-gddcfb8c [email protected]#1 SMP PREEMPT
The output after running the -P command can be seen on the screenshot.
EDIT!!!
I just followed the very same instructions described by wideopen4ever and it worked for me too. I've been trying all day and on after the specific sequence with rebooting in that order worked for me!!!
revone failed (error code = -1)
cid: HTC__001
version-bootloader: 1.44.0000
version-main:
3.4.10-CM-g616ab68
revone successful - no need to reboot.
CID : HTC__622
HBOOT : 1.44.0000
Software : 1.29.708.4
Kernel :3.4.10-ge503309
./revone -s 0 -u
revone failed (error code = -1)
./revone -P
revone successful - no need to reboot
Flinny said:
revone failed (error code = -1)
cid: HTC__001
version-bootloader: 1.44.0000
version-main:
3.4.10-CM-g616ab68
revone successful - no need to reboot.
Click to expand...
Click to collapse
Have you guys tried to reboot after running the "revone - P" command. I notice that it said no need to reboot in cmd but revone instructions said you should reboot before running "revone -s 0 -u"
Sent from my HTC One using xda app-developers app
CID:H3G__001HBOOT:1.44.0000Software Version:1.28.771.6Kernel version:3.4.10
Code:
C:\sdk\platform-tools>adb push revone /data/local/tmp/
2851 KB/s (648208 bytes in 0.222s)
C:\sdk\platform-tools>adb shell
[email protected]:/ $ cd /data/local/tmp
cd /data/local/tmp
[email protected]:/data/local/tmp $ chmod 755 revone
chmod 755 revone
[email protected]:/data/local/tmp $ ./revone -P
./revone -P
revone v0.2.1
Gaining root access (thanks to Dan's motochopper)...[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
251|[email protected]:/data/local/tmp $
Hello.
thanks DLX support revone.
I use temproot M7_WLJ (HTC J One) revone.
>adb push revone /data/local/tmp/
>adb shell chmod 755 /datalocal/tmp/revone
>adb shell
$ ~~~~~temproot~~~~
# cd /data/local/tmp
# ./revone -P
>
...M7_WLJ is without permission reboot.
M7_WLJ info
CID:KDDI_801
HBOOT version : 1.52.0000
software : 1.05.970.1
kernel version : 3.4.10
thanks
failure on preparation step : ./revone-0.2.1 -P ==> "[-] Failed to map memory."...
After repeating "-P" command, the step succeed, but when I try "s-off & Unlock" step, I get error code -1.
I tried "-s 0 -u" commands, without reboot AND with Reboot, but same result...
A part of my cmd prompt :
Code:
251|[email protected]:/data/local/tmp $ ./revone-0.2.1 -P
./revone-0.2.1 -P
revone v0.2.1
Gaining root access (thanks to Dan's motochopper)...[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
251|[email protected]:/data/local/tmp $ ./revone-0.2.1 -P
./revone-0.2.1 -P
revone v0.2.1
Gaining root access (thanks to Dan's motochopper)...Success.
revone successful - no need to reboot.
10|[email protected]:/data/local/tmp $ ./revone-0.2.1 -s 0 -u
./revone-0.2.1 -s 0 -u
revone v0.2.1
revone failed (error code = -1)
255|[email protected]:/data/local/tmp $
CID = ORANG202
HBOOT version = 1.44.0000
version-main = 1.28.73.7
kernel version = 3.4.10-gddcfb8c [email protected]#1 SMP PREEMPT
IMPORTANT EDIT :
VICTORYYYYYYYYYY !!!!!........ between each steps with success, I reboot phone with Power off button for 15seconds (soft-reset I think)...
@ kmdm and all the Revolutionary Team ; Thanks again for the good work ......
CID: HTC_044
version bootloader: 1.44.0000
version main: 1.29.707.17
kernel: 3.4.10-g4919859
./revone -s 0 -u
Gaining root access (thanks to Dan's motochopper)...Success.
revone failed (error code = -1)
./revone -P
revone failed (error code = 2)
CID : VODAP110
HBOOT : 1.44.0000
Software : 1.29.708.4
Kernel :3.4.10-ge503309
revone successful
Here are a few things I learned after getting a some failures...
1. Update to the latest RUU availiable specificly for your variation
2. Unlock your bootloader
3. Flash recovery
4. Root (don't rely on revone built in root)
5. Disable Fast Boot in Power settings
6. Fully power down, boot back up
7. Run revone with su ( ex: su ./revone -P )
After that I have had no problems with the 10 or so I have done.
Thread closed on OP's request.
Any issues please report in the original thread
I just received my replacement Droid DNA and I'm trying to achieve S-OFF by using the Revone method. Every time I use "./revone.dna -s 0 -u" i get the following error:
C:\Users\walter>C:\platform-tools\adb.exe shell
[email protected]:/ $ cd /data/local/tmp
cd /data/local/tmp
[email protected]:/data/local/tmp $ chmod 755 revone.dna
chmod 755 revone.dna
[email protected]:/data/local/tmp $ ./revone.dna
./revone.dna
revone v0.2.1
Gaining root access (thanks to Dan's motochopper)...Success.
revone successful.
[email protected]:/data/local/tmp $
C:\Users\walter>C:\platform-tools\adb.exe shell
[email protected]:/ $ cd /data/local/tmp
cd /data/local/tmp
[email protected]:/data/local/tmp $ ./revone.dna -s 0 -u
./revone.dna -s 0 -u
revone v0.2.1
Gaining root access (thanks to Dan's motochopper)...[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
[-] Failed to map memory.
251|[email protected]:/data/local/tmp $
if someone has any advice i would greatly appreciate it. Also I've tried this on a mac and a pc.
Did you download the revone.dna package from the third post or OP? If OP, download from third post.
I also don't see where you are using the -P command... I keep seeing people say skip that, but I followed the OP step by step and had not one single error or issue.
Phaded said:
Did you download the revone.dna package from the third post or OP? If OP, download from third post.
I also don't see where you are using the -P command... I keep seeing people say skip that, but I followed the OP step by step and had not one single error or issue.
Click to expand...
Click to collapse
They left off the -P in the command.
OP, have you tried using the command with -P implemented? It took me hundreds of tries, with and without the -P to get it to finally work.
I'm having the same issue when I run ./revone.dna -P
I get failed to map memory everytime did you ever get this to work
Sent from my HTC6435LVW using XDA Premium 4 mobile app
I too got similar errors when using RevOne. I ended up using moonshine. Moonshine gave me an error about 2/3 through and said it failed. While moonshine failed to install cwm and custom moonshine hboot, it did get me s off and eng hboot so I was able to install cwm and then custom roms.
Sent from my HTC6435LVW using xda app-developers app
I can't get moonshine to do anything it just keeps prompting me to type yes/no does nothing else
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Device-info:
Phone: Sony Xperia Z1
Model number: C6903
Android version: 5.1.1
Build Number: 14.6.A.1.236
Rooted and BusyBox installed (Play Store Version!!!)
I have formatted an SD-Card to an ext4-filesystem and put another Linux on it.
After mounting the filesystem and files without problems I want to execute:
Code:
chroot /data/local/mnt /bin/bash
with /data/local/mnt is the Linux root-folder.
Execute the line above leads to the message:
Code:
chroot: can't execute '/bin/bash': Permission denied
I have checked the permission of /bin/bash and also of /data/local/mnt and remounted nearly every path which are related to that folder with exec and rw permission. So maybe you know some special rights-associated files or folders I forgot, but I think the problem is something else...
After readed that some of the Linux-on-Android project-users had some trouble with executing the init.sh because of selinux I set it to permissive:
Code:
setenforce 0
and checked it:
Code:
[email protected]:/ # getenforce
Permissive
(Of course) chroot does not work. So I checked the message buffer of the kernel for selinux-avc-deny-messages and BINGO:
Code:
[email protected]:/ # dmesg | grep denied
...
<36>[58575.652383] type=1400 audit(1470337082.042:10188): avc: denied { read } for pid=18553 comm="busybox" name="mmcblk0p23" dev="tmpfs" ino=9821 scontext=u:r:ric:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file op_res=0 ppid=4602 pcomm="ric" tgid=4602 tgcomm="ric"
<36>[58575.653740] type=1400 audit(1470337082.042:10189): avc: denied { open } for pid=18553 comm="busybox" name="mmcblk0p23" dev="tmpfs" ino=9821 scontext=u:r:ric:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file op_res=0 ppid=4602 pcomm="ric" tgid=4602 tgcomm="ric"
<36>[58575.655002] type=1400 audit(1470337082.042:10190): avc: denied { ioctl } for pid=18553 comm="busybox" path="/dev/block/mmcblk0p23" dev="tmpfs" ino=9821 scontext=u:r:ric:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file op_res=0 ppid=4602 pcomm="ric" tgid=4602 tgcomm="ric"
These are just 3. You can have some more if you want! So 1. QUESTION:
Why does selinux denies something when getenforce returns Permissive???
But I thought first that could be fixed anyway by allowing all these denied permissions with:
Code:
supolicy --live "allow source_class target_class permission_class permission"
FOR EXAMPLE:
Code:
supolicy --live "allow ric rootfs file execute_no_trans"
which returns:
Code:
Patching policy ...
-allow:ric:rootfs:file:execute_no_trans=ok
- Success
Well (of course) it did not work AND I get a denied message for the exact same case for a bunch of cases.
So 2. QUESTION:
Why does allowing policies not change policies to be allowed???
(Of course) I am not 100% sure if the denial of executing chroot is related to selinux and it would be very easy to find it out if I could just set it to permissive.... So 3. QUESTION:
How to solve this problem?
Well (Of course) I could take a hammer smash my device... I think that works well.
I appreciate your Help!