busybox and custom roms - Hero, G2 Touch Q&A, Help & Troubleshooting

Hi,
since a few days I have my first andriod mobile the HTC Hero. I have rooted it and everything works fine.
However, I found several interesting images for the G1 (JesusFreke or CyanogenMOD and so on). I suppose that they will not run on the HTC Hero :-( (yet). Sombody know if there is someone working on it? A google search is not that easy because the most roms are based on the HTC Hero sence and so you can easy find 100 hits with hero but all roms are not for the hero itself.
Does somebody have busybox running on the hero? I searched for a while but found nothing Hero specific. My first try to use a exiting manual for G1 did not work without problems. The most manuals are old and suggest to use a custom rom which include busybox.
Maybe someone has a hint for me
I want to test debian but the istaller use cp and so on. So busybox is a good starting point.
Cheers
Visios

download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system

enlightener said:
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
tx for your info and the extracted busybox bin. It worked without any problem.
Do you have tried to use busybox install and export the path ?

enlightener said:
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
when i type adb shell it says
adb permission denied..
Help please

Yeah, I could google it but I'll just ask here instead, busybox - what's it good for?

It provides a lot of the standard Linux/Unix utilities - such as cp, rm, df, ls, ps, grep, etc. The toolbox program provided in the HTC ROM is a "crippled" replacement for busybox and doesn't have some of the functionality. For example, Market Enabler doesn't work with the stock ROM because toolbox doesn't provide the grep utility.

BlueHawk said:
It provides a lot of the standard Linux/Unix utilities - such as cp, rm, df, ls, ps, grep, etc. The toolbox program provided in the HTC ROM is a "crippled" replacement for busybox and doesn't have some of the functionality. For example, Market Enabler doesn't work with the stock ROM because toolbox doesn't provide the grep utility.
Click to expand...
Click to collapse
Oh, I see. Well explained, sir!

Busybox 1.15.3 for android for anyone interrested:
Code:
[URL="http://www.mediafire.com/?wcknmnhtin0"]http://www.mediafire.com/?wcknmnhtin0[/URL]

Does anybody know what version of Busybox is in the original post?
And if I want to upgrade, should I just follow the instructions over again with the newer version?

enlightener said:
download the attachment (busybox taken from cyanogen's rom), extract busybox and copy it to sdcard, then (if you have root):
Code:
adb shell
su
mount -o remount,rw /dev/block/mtdblock3 /system
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mount -o remount,ro /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Sorry for the newb question but... where do I type this stuff?

jpmi23 said:
Sorry for the newb question but... where do I type this stuff?
Click to expand...
Click to collapse
on a command line on your pc. this is not the right place to start for you, get a guide on how to setup adb on your pc first.

Wow. "abd". That's a new term now isn't it.
Ok. I'll skip it. Just looking to control my Samsung Moment on my PC like I was able to with my WM phones.
I'll keep looking around. Thanks for the help.

Related

Superuser.apk

I have successfully installed a Superuser.apk but it does not seem to be working properly. Titanium reports that Su does not elevate to root.
I have debugging enabled and I have connected through adb shell but nothing seems to work.
Anyone have any success? If so, which version did you use?
Here is my method
I download 2nd link from here :
http://forum.xda-developers.com/showthread.php?t=682828
After unzip (E:\Android\ROOT\step4\ directory for my example) :
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push E:\Android\ROOT\step4\system\bin\su /system/bin/su
adb shell chmod 6777 /system/bin/su
adb install E:\Android\ROOT\step4\system\app\Superuser.apk
adb reboot
trying this now, will report
thanks a lot works like a charm..
i can confirm this works perfect
very good... spread 30min to install it yesterday night...
Will be included in new version. Sorry just forgotten
Regards
Bin4ry
You make very good job so no problem for that
Thank a lot for your hard work !
gibou13 said:
Here is my method
I download 2nd link from here :
http://forum.xda-developers.com/showthread.php?t=682828
After unzip (E:\Android\ROOT\step4\ directory for my example) :
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push E:\Android\ROOT\step4\system\bin\su /system/bin/su
adb shell chmod 6777 /system/bin/su
adb install E:\Android\ROOT\step4\system\app\Superuser.apk
adb reboot
Click to expand...
Click to collapse
I am trying to do same thing with mediascape , but I get error
"Failure [INSTALL_FAILED_DEXOPT]", I am reading on google that its something related to the .odex file, how can I install/or whatever I have to do in order to be able to put mediascape back.
I know I just could restore and than root again and remove rm command for mediascape from ch file, but I am trying to remove more branding apps of telenor firmware and flash and root again with clean system.
PS: Messing with my phone as I don't have any knowledge in programming...just google.
Thx
Hi
You can try to do this :
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
cd /system/app
cp /sdcard/apps/mediascape* .
cp /sdcard/apps/MediascapePluginManager* .
reboot
gibou13 said:
Hi
You can try to do this :
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
cd /system/app
cp /sdcard/apps/mediascape* .
cp /sdcard/apps/MediascapePluginManager* .
reboot
Click to expand...
Click to collapse
never mind guys Jerpelea posted how to do it.
jerpelea said:
restore mediascape (from step4 folder)
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb shell dd if=/sdcard/apps/MediascapePluginManager.apk of=/system/app/MediascapePluginManager.apk
adb shell dd if=/sdcard/apps/MediascapePluginManager.odex of=/system/app/MediascapePluginManager.odex
adb shell chmod 644 /system/app/MediascapePluginManager*
adb shell dd if=/sdcard/apps/mediascape.apk of=/system/app/mediascape.apk
adb shell dd if=/sdcard/apps/mediascape.odex of=/system/app/mediascape.odex
adb shell chmod 644 /system/app/mediascape*
adb shell reboot
Click to expand...
Click to collapse
I got mediascape back as I did't find better media explorer.
One thing can anyone explain what this lines of code mean(Jerpelea's mediascape restore), each separate if u can, I am trying to understand. As I said I am no programmer but I like to learn.
Thanks.
I've tried doing this 4 times... and it's not working ^^;;
Is it missing a step? Or is this all that I need to do?
I get no errors when doing it yet the program isn't working a shown in the screens realunited... ^^;
taye look into the second post of the guide thread -- it has all the info necessary, else: poke me on irc
gibou13 said:
Here is my method
I download 2nd link from here :
http://forum.xda-developers.com/showthread.php?t=682828
After unzip (E:\Android\ROOT\step4\ directory for my example) :
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push E:\Android\ROOT\step4\system\bin\su /system/bin/su
adb shell chmod 6777 /system/bin/su
adb install E:\Android\ROOT\step4\system\app\Superuser.apk
adb reboot
Click to expand...
Click to collapse
sorry for this very very noob question...
where i try this command?
at windows?
or at my android device with better terminal?
done...
i trying it my self..
sorry for my noob question...
anyway i still don't know how to use superuser lol....
greatermushasi said:
sorry for this very very noob question...
where i try this command?
at windows?
or at my android device with better terminal?
done...
i trying it my self..
sorry for my noob question...
anyway i still don't know how to use superuser lol....
Click to expand...
Click to collapse
It's done from a windows dos prompt. In windows, click on START > RUN > then enter CMD. Next do as mentioned. Happy entering
Confirmed... works for me as well.

[Alpha Release] xWildFireMini 2.1 v0.2b

Hello,
This is the my port of the Wildfire 2.1 Eclair Rom for the Mini.
I chose Eclair because the drivers will probably be easier to find like this, you can expect a 2.2 Sense rom to come once the 2.2 AOSP is done.
[Download v0.2a Here]
[Download v0.2b Update]
Flash them is this order.
The Work's
Apps2SD
ADB
Booting
Display
xRecovery
Touch
SD-Card
OpenGL
Ext4 for Apps2SD
OMX (proper video playback)
Sound
The Won't 's
Charging [It says it's charging but it's not!]
GSM/3G
WiFi
USB mounting
Bluetooth
LED Flash & Light
Camera
YouTube Video showing installation.
YouTube Video in high quality by maxaan
Developer Notes:
Developer Notes:
Any Dev interested for testing all my future releases for the mini?
I ask developers for help to try out finding how to get the drivers for the non-working hardware parts to work. Simply said, you need to copy drivers from the SE 2.1 build to this build and report if it worked and which files were used.
Changelog:
v0.2a is up! Prepared the system for future drivers, little faster, ext4 support for apps2sd. Also for the mini fixed xrecovery thanks to peetr_
v0.2 Alpha is up! Fixed a lot: SD, Touchscreen, xRecovery, OpenGL
v0.1 Technical Preview / Pre-Alpha released for developers.
dang you are using same device..
i did try same thing but with clean wildfire [didn't get very far tho] [becouse work on kitchen] ... will download this too and see...
Problems on boot.
Or better no boot at all.
I made a full wipe, flashed the .zip and then these commands:
PHP:
adb shell
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin
./busybox --install -s /system/bin
After that reboot and stuck on Sony Ericsson white letters.
tried the mount command too but still no luck
PS: Something weird though. Xrecovery still working on me!
DaRk_dOg said:
Problems on boot.
Or better no boot at all.
I made a full wipe, flashed the .zip and then these commands:
PHP:
adb shell
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin
./busybox --install -s /system/bin
After that reboot and stuck on Sony Ericsson white letters.
tried the mount command too but still no luck
PS: Something weird though. Xrecovery still working on me!
Click to expand...
Click to collapse
Thanks for the info! This means I have to rebuild the ramdisk to have it work on the x10 mini. Oh one thing I forgot to state is that this NEEDS an ext2 partition on the sdcard (apps2sd not removed yet) and that the first boot will take ages stuck on the bootscreen since it's copying all apps over.
Could you adb pull system/bin/chargemon, open the file in notepad and send the content to me? Of the installed rom, that is.
In the update.zip package there is both an chargemon and chargemon~ file left over from text editing it with Ubuntu. Problem is that I can't acces the file through Nautilus (Ubuntu's version of Windows Explorer)
Hi, i also tried your work and i have the the same state as DarkDog with xRecovery working.
Tried the "logcat" :
sh-3.2# /system/bin/chmod 755 /system/bin/busybox
/system/bin/chmod 755 /system/bin/busybox
Unable to chmod /system/bin/busybox: Read-only file system
sh-3.2# mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
sh-3.2# cd /system/bin
cd /system/bin
sh-3.2# /system/bin/chmod 755 busybox
/system/bin/chmod 755 busybox
sh-3.2# ./busybox --install -s /system/xbin
./busybox --install -s /system/xbin
sh-3.2# ./busybox --install -s /system/bin
./busybox --install -s /system/bin
sh-3.2# logcat
logcat
I/checkabortedflash( 1065): [110] Latest flash seems OK.
E/logwrapper( 1499): executing /system/xbin/busybox failed: Permission denied
I/logwrapper( 1493): /system/xbin/busybox terminated by exit(255)
Click to expand...
Click to collapse
Seems like something goes really wrong here....
Mby because the wrong ramdisk or something.
@peetr try to give the "mount" and "ls /system/xbin" commands, mby found something..
peetr_ said:
Hi, i also tried your work and i have the the same state as DarkDog with xRecovery working.
Tried the "logcat" :
Click to expand...
Click to collapse
Ah yes.. I'll update the commands, you need to
PHP:
adb shell
cd /system/xbin
mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
/system/bin/chmod 755 busybox
cd /system/bin
/system/bin/chmod 755 busybox
./busybox --install -s /system/xbin
./busybox --install -s /system/bin
Can you see if that works?
Good job ! Up and running
Linpack - 2,3 MFLOPS
But looks nice.
peetr_ said:
Good job ! Up and running
Linpack - 2,3 MFLOPS
But looks nice.
Click to expand...
Click to collapse
Huh? You mean touchscreen works on the mini?!
Yes it works.
peetr_ said:
Yes it works.
Click to expand...
Click to collapse
That's odd, it doesn't on the Pro
u10a init.rc
Mikevhl
attached is the init.rc you requested, it is from u10a USA version. hope it helps. Thank you for for effort.
strykme said:
Mikevhl
attached is the init.rc you requested, it is from u10a USA version. hope it helps. Thank you for for effort.
Click to expand...
Click to collapse
Thanks, but I understand that it's booting now on the mini?
The commands that you have to run after installing are updated, would you mind giving it a try?
I think you can write in the first post, that its working on mini. And that we have to install busybox before leaving xrecovery.
But i must say again, it is too slow in this alpha version. Hope it can be faster in later versions.
peetr_ said:
I think you can write in the first post, that its working on mini. And that we have to install busybox before leaving xrecovery.
But i must say again, it is too slow in this alpha version. Hope it can be faster in later versions.
Click to expand...
Click to collapse
Try out the Alpha please, should be a tad faster since I've fixed openGL
Well i wait for some updates, then I'm gonna try it
Nice work tho, keep it up !
can you please remove the app2sd so i am able to test it because right now i have an ext3 on my sd card and i am missing my adapter!!! Or at least someone provide a method convert to ext2 mounted from the device e.g. from ubuntu?? Can i do it this way???
First thing, you have to change chargemon to event1 for mini

Farsi/arabic support (connecting the arabic letters together)

Froyo can show arabic letters but they are not connected ,any APK to support Arabic letters and connect the letters together ?
thanx in advance
I second this...
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Jattal, Have you got a link to the arabic scripter?
how do u patch?
jattal said:
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Click to expand...
Click to collapse
a step by step guide will be helpful
thanks.
here you go
http://arstreak.com/2011/03/20/dell-streak-froyo-2-2-2-build-345-with-arabic-how-to-for-all/
http://arstreak.com/
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
amcolian said:
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
Click to expand...
Click to collapse
Can this be done via root explorer thanks.
Unfortunately it cannot because your device will shutdown on changing the files and it won't be able to boot. The reason why the above commands work is that they freeze your phone in current state while the files are copied and deleted.
However as some adb commands do not run on android 2.2, you need busybox.
Sorry for the late reply, but I wasn't available for a while.
amcolian said:
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
Click to expand...
Click to collapse
Hello
thanks for the reply, i would like to ask you if this method could work for all android devices OR only Dell Streak?
as i have Xperia X10 and i just installed Miui ROM and the letters are not connected... what should i do?
thanks in advanced
LOOK HERE
maan1976 said:
Froyo can show arabic letters but they are not connected ,any APK to support Arabic letters and connect the letters together ?
thanx in advance
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=834683
does work for non rooted devices
jattal said:
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Click to expand...
Click to collapse
hello man
does this method work for non rooted device
my device is still new
is there any other way for non rooted?
and please tell me what is the easiest way to root the device
thaaaaaank u sooooo much
regards

WORK AROUND - Scripting help for Android and my DX2!

All right... I guess it's time to "ask the experts". My linux background has not been very much help here... ARGH!
Okay, I have two script that I have written that are supposed to mount /system as RO and RW respectively. Very simple:
To mount rw:
Code:
#!/system/bin/sh
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
To mount ro:
Code:
#!/system/bin/sh
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
I manually ran the mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system command and adb pushed them to /system/xbin as mountro and mountrw and chmod both to 755.
In ADB I try to execute:
Code:
/system/xbin/mountrw
and get an error stating:
Code:
/system/xbin/mountrw: not found
I even try:
Code:
/system/bin/sh /system/xbin/mountrw
and I get this error:
Code:
mount: No such file or directory
Okay, so I figured out that it is having a problem trying to find the mount command, so I modify the script to:
Code:
#!/system/bin/sh
/system/bin/mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
I then re-run this:
Code:
/system/bin/sh /system/xbin/mountrw
and I'm still getting this friggin' error message!
Code:
mount: No such file or directory
When I run it through Script Manager I get the same error:
Code:
mount: No such file or directory
This should just friggin' work damn it! (Sorry, very frustrated.)
Also, it would be nice NOT to have to type the path to the script. I can run ZepplinRox V6_SuperCharger script from the ADB command line just by typing from the directory I have it in:
Code:
sh V6_SuperCharger_for_Android-update9_RC3.2.sh
No absolute path, no ./ path... WTF? ARGH!
Okay, I KNOW this is friggin' possible just by the fact that I can run Zep's script in ADB...
So, any takers? Thanks in advanced...
Friggin' Ciao.
[EDIT]
Okay, I figured out a work around for this... I probably should not work on this after working at work all day... But, that is another story...
I have heavily modified the script files I have created. They are still called mountrw and mountro and the contents are as follows:
mountrw:
Code:
#!/system/bin/sh
# This mounts the /system file system as Read Write in order to modify or add
# files to the /system file system.
busybox mount -o remount,rw / 2>/dev/null
busybox mount -o remount,rw rootfs 2>/dev/null
busybox mount -o remount,rw /system 2>/dev/null
mountro:
Code:
#!/system/bin/sh
# This mounts the /system file system as Read Only which is the default when
# Android is booted.
busybox mount -o remount,ro / 2>/dev/null
busybox mount -o remount,ro rootfs 2>/dev/null
busybox mount -o remount,ro /system 2>/dev/null
So, after poking around in ZepplinRox's V6_SuperCharger script, I found those values repeated several times, so that helped point me in the right direction. The next problem I had was getting the scripts to "run from anywhere". I still haven't figured that one out yet, and the VERY MESSY solution to that is to put the two scripts in /. I know, I know, I know... that is the most dangerous place to put it.
So, when I first log into the ADB shell all I have to type is
Code:
sh mountrw
and when I'm done, type
Code:
sh mountro
So, As the work around, this works. I really don't recommend anyone else doing this because of the data security risks that you open your phone up to... Yes, I'm aware of them and that is why I am asking now for some help in having the ability to run a script globally, from anywhere in the android file structure. I don't mind typing the "sh" in front of the script since I sometimes must do that in linux. I have noticed that the $PATH of Android doesn't allow scripts to be executed unless you type the absolute path to the script, or are in the same directory as the script.
Okay, so again to ask: Is there any way to execute a script without having to type the absolute path to it? Thanks!
Ciao! (MUCH calmer now then when I first wrote this post...)
[/EDIT]
I don't use adb much at all.
Usually I move stuff around with root explorer and use terminal emulator a lot.
I assume you ran everything as superuser as I sometimes forget to type su first
Maybe the sh command work on the supercharger script because it has the .sh extention.
You can try typing "bash mountrw" since that works when I install the script to /system/xbin/V6
But after reading your post I looked and saw I forgot about permissions so I did chmod 755 and now this works...
su
V6
heh..
I don't have tp type "bash V6" anymore
zeppelinrox said:
I don't use adb much at all.
Usually I move stuff around with root explorer and use terminal emulator a lot.
I assume you ran everything as superuser as I sometimes forget to type su first
Maybe the sh command work on the supercharger script because it has the .sh extention.
You can try typing "bash mountrw" since that works when I install the script to /system/xbin/V6
But after reading your post I looked and saw I forgot about permissions so I did chmod 755 and now this works...
su
V6
heh..
I don't have tp type "bash V6" anymore
Click to expand...
Click to collapse
Yes, I ran everything as su. (I'm a linux admin guy, so su and sudo is next to natural for me...)
Okay, so you put the mountrw script in /system/xbin/V6/ ??
Also, it is an sh script. I identify that in the first line of
Code:
#!/system/bin/sh
I have changed it to bash and same problem. Oh well. I think I can live with the scripts at /
Thanks though!
Ciao!

[Q] Root for Acer A210 nearly working but /system doesn't mount

I have an Acer A210 and have modified the boot.img to have ro.secure=0 and ADB root. Then I had to mount the /system partition but that is not so easy:
Code:
C:\>adb shell
[email protected]:/ # mount -o remount,rw /system
mount -o remount,rw /system
mount: Operation not permitted
C:\>adb push busybox /data/local/tmp
1065 KB/s (777216 bytes in 0.712s)
126|[email protected]:/data/local/tmp # chmod 755 busybox
chmod 755 busybox
[email protected]:/data/local/tmp # ./busybox mount -o remount,rw /system
./busybox mount -o remount,rw /system
mount: permission denied (are you root?)
Currently the only way to mount /system rw is this:
Code:
cd /system/xbin/
mount -o remount,rw /dev/block/platform/sdhci-tegra.3/by-name/APP /system/
So now I have root (pushed su and busybox from A510 and installed SuperUser from ChainsDD) but installed applications that want to mount /system rw cannot do that. I think because of the mounting problem. Also a custom CWM 6.0.1.4 cannot mount /sdcard but it works with ADB.
Thanks for help with that!
MaluNoPeleke said:
So now I have root (pushed su and busybox from A510 and installed SuperUser from ChainsDD) but installed applications that want to mount /system rw cannot do that. I think because of the mounting problem. Also a custom CWM 6.0.1.4 cannot mount /sdcard but it works with ADB.
Thanks for help with that!
Click to expand...
Click to collapse
Acer implemented in kernel "system RW protection" (I don't know how to call that)- kernel prohibits such operations. Only workaround is compiling a custom kernel with this feature disabled.
As for recovery- check /etc/fstab if sdcard mountpoint (stored in init.rc or init.[device name].rc) matches the one recovery uses (/etc/fstab)
Thanks for that! Is it hard to disable the system rw security in the kernel? I haven't done that before. Is there a tutorial from another Acer tablet?
How can I check the fstab content in the recovery? It was built by the recovery builder.
Thanks!
MaluNoPeleke said:
Thanks for that! Is it hard to disable the system rw security in the kernel? I haven't done that before. Is there a tutorial from another Acer tablet?
Click to expand...
Click to collapse
It's a kernel config option only, for a510 it's CONFIG_ACER_SECURE_MOUNT and it is accessible in menuconfig or by hand- in .config change "CONFIG_ACER_SECURE_MOUNT=yes" to "# CONFIG_ACER_SECURE_MOUNT is not set" (as for kernel compilation- there are many tutorials floating around)
MaluNoPeleke said:
How can I check the fstab content in the recovery? It was built by the recovery builder.
Click to expand...
Click to collapse
Start recovery and just
Code:
adb shell
cat /etc/fstab
or
Code:
adb pull /etc/fstab [path on your pc]
I've never used any recovery builder but kernel and ramdisk/initramfs (where recovery is placed) are separate files, you can unpack boot.img and just modify what you need (note- linux machine required, virtual one will do)
Is it already disabled in the source code?
Code:
[email protected] ~/Dokumente/kernel $ grep -R -i 'CONFIG_ACER_SECURE_MOUNT*' ./*
./arch/arm/configs/picasso_mf_defconfig:# CONFIG_ACER_SECURE_MOUNT is not set
./arch/arm/configs/picasso_m_defconfig:# CONFIG_ACER_SECURE_MOUNT is not set
./arch/arm/configs/picasso_e_defconfig:# CONFIG_ACER_SECURE_MOUNT is not set
./arch/arm/configs/picasso_e2_defconfig:# CONFIG_ACER_SECURE_MOUNT is not set
./arch/arm/configs/picasso2_defconfig:# CONFIG_ACER_SECURE_MOUNT is not set
./fs/Makefile:ifeq ($(CONFIG_ACER_SECURE_MOUNT),y)
It seems that it's disabled.
Is there a zip file for Acer 210 tablet now 4/2013
dobie62 said:
Is there a zip file for Acer 210 tablet now 4/2013
Click to expand...
Click to collapse
There is a real lot available for A210:
Pure root (German)
CWM recovery (German)
Custom Kernel
CM 10.1 like ROM
What are you looking for?
regards Uwe
This is it but in English please.
A210
Are the A210 and the A510 similar enough to use the same kernel, ROM's or Recovery?

Categories

Resources