I wanna try his new kernel out but im having some difficulties.
the link to it is:
http://thedroidsector.com/roms?id=42
First difficulty is when I type in:
rwsystem
it says:
rwsystem: not found.
how can I fix this?
sorry if I posted this in wrong section. still kinda new to this =/
Some Extra Just in Case info:
REQUIREMENTS:
His New AOSP 2.1 v1.3 ROM
1. Might need to make the directories to put the ramzswap.ko and xvmalloc.ko files in.
2. If rwsystem and rosystem doesnt work try:
rwsystem alternative: mount -o rw,remount /dev/block/mtdblock3 /system
rosystem alternative: mount -o r,remount /dev/block/mtdblock3 /system
**Thanks for the Help guys**
do you runned it by root?
yokonunz said:
do you runned it by root?
Click to expand...
Click to collapse
Did I run it in root?
yes
first thing I did.
I am currently trying it on the recovery console and it doesnt work either.
Not all roms have rwsystem, the default way would be
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Is possible flash this kernel with adb?
JAguirre1231 said:
Not all roms have rwsystem, the default way would be
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Ahh ok thanks man so that does the same as rwsystem?
Macrophage001 said:
Ahh ok thanks man so that does the same as rwsystem?
Click to expand...
Click to collapse
Yep, and then when you do the rosystem just make that
[cod]mount -o r,remount -t yaffs2 /dev/block/mtdblock3 /system[/code]
JAguirre1231 said:
Yep, and then when you do the rosystem just make that
[cod]mount -o r,remount -t yaffs2 /dev/block/mtdblock3 /system[/code]
Click to expand...
Click to collapse
Thanks dude that helps a lot.
Hmm I hope he posts that up for other people that dont know like me lol.
Wouldn't the following work the same?
su
mount -o rw,remount /system
and then
mount -o ro,remount /system
ciwrl said:
Wouldn't the following work the same?
su
mount -o rw,remount /system
and then
mount -o ro,remount /system
Click to expand...
Click to collapse
It should, but the longer way is always more fun
are the instructions kind of wrong on the droid sector site...
s0mep00p said:
are the instructions kind of wrong on the droid sector site...
Click to expand...
Click to collapse
No certain roms support the rwsystem and rosystem commands...its a truncated way of doing what me and jag posted
no i mean with these two commands:
# cp -f /sdcard/ramzswap.ko /system/modules/lib/modules/2.6.29.6-king/compcache
# cp f /sdcard/xvmalloc.ko /system/modules/lib/modules/2.6.29.6-king/compcache
there are no folders that exist as "2.6.29.6-king", i looked inside the zip for 1.3 and its "2.6.29.6-jac"
crap -.- now my fone is stuck at the g1 screen. I think its cuz I flashed the boot.img.
any suggestions?
Macrophage001 said:
crap -.- now my fone is stuck at the g1 screen. I think its cuz I flashed the boot.img.
any suggestions?
Click to expand...
Click to collapse
How did you flash it?
s0mep00p said:
no i mean with these two commands:
# cp -f /sdcard/ramzswap.ko /system/modules/lib/modules/2.6.29.6-king/compcache
# cp f /sdcard/xvmalloc.ko /system/modules/lib/modules/2.6.29.6-king/compcache
there are no folders that exist as "2.6.29.6-king", i looked inside the zip for 1.3 and its "2.6.29.6-jac"
Click to expand...
Click to collapse
He probably made a mistake on the instructions. try it with -jac instead of -king
JAguirre1231 said:
How did you flash it?
Click to expand...
Click to collapse
Through terminal emulator
Macrophage001 said:
Through terminal emulator
Click to expand...
Click to collapse
Then you should be having no problems. He did say it could take a while to boot
JAguirre1231 said:
Then you should be having no problems. He did say it could take a while to boot
Click to expand...
Click to collapse
yeah true i guess im just impatient.
ima post again after about 20 minutes to say whether it worked or not...
...although I was only able to flash the boot img nothing else then I turned off and wiped everything but I dont think thats gunna affect anything...is it?
s0mep00p said:
no i mean with these two commands:
# cp -f /sdcard/ramzswap.ko /system/modules/lib/modules/2.6.29.6-king/compcache
# cp f /sdcard/xvmalloc.ko /system/modules/lib/modules/2.6.29.6-king/compcache
there are no folders that exist as "2.6.29.6-king", i looked inside the zip for 1.3 and its "2.6.29.6-jac"
Click to expand...
Click to collapse
EDIT: Huh, apparently my blind guessing is wrong. Go about your business.
THE FOLLOWING STATEMENTS ARE DEPRECATED BY THE EXPERIENCES OF OTHERS:
I'm going out on a limb and guessing that if you were to boot the new kernel, `uname -r` would expand to "2.6.29.6-king". Follow the directions, creating the folders if needed. That's where the kernel is going to go looking for its modules. Best to keep your kernels separate. If you boot the new kernel with the modules in the wrong folder, you won't have anything that's built as a module (wifi, compcache, etc.)
Related
There is an update for Terminal Emulator in the market I am wondering how you can uninstall it from JF 1.41 RC33 in order to get the update
you can use in terminal
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.android.term.apk
or navigate to system/app
rm com.android.term.apk
It will close the terminal right away for obvious reasons and then you can load the one from the market.
Just tested it and it works and doesn't seem to have any adverse affects. Mine is still working
I dont see any difference in the app to me looks the same no changes that I can tell.
savethechicken said:
you can use in terminal
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
and the navigate to system/app or you can you use
rm system/app/com.android.term.apk
It will close the terminal right away for obvious reasons and then you can load the one from the market.
Just tested it and it works and doesn't seem to have any adverse affects. Mine is still working
I dont see any difference in the app to me looks the same no changes that I can tell.
Click to expand...
Click to collapse
I keep getting permission denied
are you type su first before mounting the image to get full superuser access.
The only difference we have if your signature is right is that im running the 1.41 RC33 but i was able to remove any apks i wanted this same way when i was on RC30
Yeah I typed su and got the superuser going... Maybe I am just oo much of a noob at this I am running the new JF RC33 update too
make sure that you are not typing anything in quotes "quotes just to show spaces" this is where i had the most problems when i started using this code
su
mount "space" -o "space" rw,remount "space" -t "space" yaffs2 "space" /dev/block/mtdblock03 "space" /system
then the long way
cd system
cd app
rm com.android.term.apk
that might help
Sweet I got it working thanks a million
Is there any reason why the new version is better than the one we have already?
not a problem.
I personally dont see any difference in it but everything still seems to be working
Sorry if this has been covered,but how would I go about pushing a file by using the phone only?Is that possible to do in a terminal?And if so what commands would be used.Thanks
casperlt1 said:
Sorry if this has been covered,but how would I go about pushing a file by using the phone only?Is that possible to do in a terminal?And if so what commands would be used.Thanks
Click to expand...
Click to collapse
all you'd need to do is go into a terminal, then su, mount with rw permissions, then cp file /path/to/destination
and how do I mount with permissions?that's what I was missing,thanks
casperlt1 said:
and how do I mount with permissions?that's what I was missing,thanks
Click to expand...
Click to collapse
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Go to Market and search for SU file manager or check out http://www.androlib.com/android.application.com-protocol-su-fbs-jmwq.aspx
It's not free, but it's cheap, and has pretty much replaced all the file explorer/editor/utility-type apps I used to screw around with. For all intents and purposes, you can use it to do just about anything you'd otherwise need adb to do.
As the title states, is TypeFresh good to go on rooted 2.1 on an X10i? The huge fonts are killing me
It wouldn't reboot for me so I've just used RootExplorer instead.
It worked fine for me, both apps (Typefresh and Andexplorer) where installed from the market.
javagreen said:
As the title states, is TypeFresh good to go on rooted 2.1 on an X10i? The huge fonts are killing me
Click to expand...
Click to collapse
yer typefresh works lol
Root Explorer copipast fonts an /system
Thanks for the replies guys, I went ahead anyway and got on it -- and it worked
i m still unable to figure please help, type fresh now displays clockopia on first order, was not there on 1.6. how did u change the font then
sahil4u said:
i m still unable to figure please help, type fresh now displays clockopia on first order, was not there on 1.6. how did u change the font then
Click to expand...
Click to collapse
See the link in my sig.
XperiaX10iUser said:
See the link in my sig.
Click to expand...
Click to collapse
Thanks for all the links my friend.
I always use this method to change my fonts:
1. I pick the font I want and I copy the regular and bold version on my SD.
2. I rename the regular to DroidSans.ttf and the bold to DroidSans-Bold.ttf.
3. Then, on my phone, using a Terminal application, I type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
4. Reboot!
5. Enjoy!!
My_Immortal said:
I always use this method to change my fonts:
1. I pick the font I want and I copy the regular and bold version on my SD.
2. I rename the regular to DroidSans.ttf and the bold to DroidSans-Bold.ttf.
3. Then, on my phone, using a Terminal application, I type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
adb shell dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
adb shell dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
4. Reboot!
5. Enjoy!!
Click to expand...
Click to collapse
I tried to change it by the Terminal but it says adb not found.Please help how can I overcome this problem.
If you can't get Typefresh to reboot please try the following: Install the latest Busybox from the market. This fixed the problem for a friend of mine.
good for i think there is some problem with my root, type fresh says cannot remount system. which root method did you use. i recently updated my x10i to 2.1 global generic and rooted with one click 1.5. titanium says ok and su too working. but still i cannot wrewrite or copy paste files. help will be appreciated.
sahil4u said:
good for i think there is some problem with my root, type fresh says cannot remount system. which root method did you use. i recently updated my x10i to 2.1 global generic and rooted with one click 1.5. titanium says ok and su too working. but still i cannot wrewrite or copy paste files. help will be appreciated.
Click to expand...
Click to collapse
I used the same method. The first time you run Typefresh you have to give permission, this will cause Typefresh to 'cannot remount sytem' , when you retry it works
dvildriver said:
I tried to change it by the Terminal but it says adb not found.Please help how can I overcome this problem.
Click to expand...
Click to collapse
Ooops...! Sorry! My bad! The correct commands are:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
My_Immortal said:
Ooops...! Sorry! My bad! The correct commands are:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
Click to expand...
Click to collapse
Hi.It works like a charm.Thanks for sharing!
Or just copy and paste using RootExplorer or similar. TF can be a bit temperamental at times, was in 1.6 and is in 2.1.
works perfectly for me... running sony sketch..... no more large letters in 2.1
I personally hate the automounting CDROM image with HTC software. I know it's fairly common knowledge how to disable it but below are the commands for anyone that cares. Make sure android debugging is enabled and enter the applicable command in your computer's terminal. As with other /system edits, this will only stick if you have S-OFF. You may need your phone screen unlocked to accept the su prompt if you haven't already granted ADB root access.
Disable HTC Virtual CDROM:
Code:
adb shell su root -c "mount -o remount,rw /system /system; mv /system/etc/CDROM.ISO /system/etc/CDROM.ISO.bak; mount -o remount,ro /system /system"
Re-Enable HTC Virtual CDROM:
Code:
adb shell su root -c "mount -o remount,rw /system /system; mv /system/etc/CDROM.ISO.bak /system/etc/CDROM.ISO; mount -o remount,ro /system /system"
i didnt know
I didn't know either... thanks!:good:
Never even crossed my ind to remove that annoying "feature"
Cheers man
Any particular reason to not simply rename the file cdrom. iso.bak or just delete it?
Transmitted from the holodeck of my HTC One M8.
hgoldner said:
Any particular reason to not simply rename the file cdrom. iso.bak or just delete it?
Transmitted from the holodeck of my HTC One M8.
Click to expand...
Click to collapse
Nope, I'm in IT so I always rename and not delete for small files. Personal preference.
I had no idea. Thanks so much
Nice. So glad to get rid of that stupid thing. I wanted to do that before but couldn't find where the file was located. Worked great. Thanks alot!
Thanks, just used root explore, found the file, and just added .bak to it.
Put a bootable Linux rescue ISO in there :angel:
unfortunately, I can't find that file. it exist because the silly CD popups every time I plug my phone in, but the .iso isn't in system/etc. my phone seems to be slightly stupid when doing a search. Oh well. Good info to have. Thanks for posting the instructions. I appreciate it.
Bash 4.3.46 for Android
Safe from Shellshock
All right guys im just going to keep this real nice and simple. Purpose of thread:
I compiled this binary from source and patched it get safe from ShellShock bug. It's compiled using arm-linux-gnueabihf toolchain from Linaro (CFLAGS = "-g -Ofast -static -pipe")
[*]You Should Now Have Bash
[*]To run it just type in termial "bash" or "bash --login" if you want to load /etc/profile
Download Link
Click The Text To Download
Flashable ZIP (thanks to Primokorn)
Flashable ZIP md5sum
Shellshock Test (thanks to ronaldteune)
Code:
busybox mount -o remount,rw /
busybox ln -s /system/xbin /bin
# download from browser https://shellshocker.net/shellshock_test.sh and place it in /data
busybox chmod 777 /data/shellshock_test.sh
/data/shellshock_test.sh
rm -f /data/shellshock_test.sh
busybox rm /bin
busybox mount -o remount,ro /
Thanks For Reading :good:
P.S.#1 Bash binary always be updated
P.S.#2 to mount system rw run from terminal
Code:
mount -o remount,rw /system
P.S.#3 if you don't have root put it in /data/local/bin and add it to your PATH
3lo0sh said:
Bash 4.3.30 for Android
Safe from Shellshock
All right guys im just going to keep this real nice and simple. Purpose of thread:
I compiled this binary from source and patched it get safe from ShellShock bug. It's compiled using arm-none-linux-gnueabi toolchain from Mentor Graphics
How To Use:
Download the binary and put it into /system/xbin ( you should mount your system part (r/w)
know run from terminal "chmod 777 /system/xbin/bash"
You Should Now Have Bash
To run it just type in termial "bash" or "bash --login" if you want to load /etc/profile
Download Link
Click The Text To Download
Always lastest Bash
Source Code
Thanks For Reading :good:
P.S. Bash binary always be updated
Click to expand...
Click to collapse
I'm trying to mount my /system using the following commands in Terminal Emulator:
su
mount -rw /system
When I try and type the chmod line above, I keep getting the message:
Usage: mount [-r] [-w] [-o options] [-t type] device directory
What am I doing wrong to mount the /system file in order to perform the chmod command? I've also used ~/system, same result.....it's probably something super simple, but I'm flummoxed. Any assist would be appreciated, thanks!
Joshmccullough said:
I'm trying to mount my /system using the following commands in Terminal Emulator:
su
mount -rw /system
When I try and type the chmod line above, I keep getting the message:
Usage: mount [-r] [-w] [-o options] [-t type] device directory
What am I doing wrong to mount the /system file in order to perform the chmod command? I've also used ~/system, same result.....it's probably something super simple, but I'm flummoxed. Any assist would be appreciated, thanks!
Click to expand...
Click to collapse
The currect syntax is
mount -o remount,rw /system
?
It never even occurred to me that android is vulnerable!! I hope Google patches this in AOSP Android L!!
I have in /system/xbin an old bash file ( coming with the ROM), I must overwrite it or that's enough?
i hope the cm team will include this
nadejo said:
i hope the cm team will include this
Click to expand...
Click to collapse
I'm running CM 11 M11 and I have the bash file but it's different from this one in size.
hp420 said:
It never even occurred to me that android is vulnerable!! I hope Google patches this in AOSP Android L!!
Click to expand...
Click to collapse
Android will never be vulnerable (unless installed unpatched bash)
abidifethi said:
I have in /system/xbin an old bash file ( coming with the ROM), I must overwrite it or that's enough?
Click to expand...
Click to collapse
If the original bash is patched (no need) just copy it as bash-arm
If it's not patched (overwrite it)
nadejo said:
i hope the cm team will include this
Click to expand...
Click to collapse
I don't think they will include it
I think they will just patch theirs
@3lo0sh Getting an error like this 'unable to chmod 777 /system/xbin/bash: Read-only file system. Where i am wrong?
EDIT:- I'm sorry for that. After typing this 'mount -o remount,rw /system' command in terminal I am not getting the above error but when i issue bash command this error returns 'bash: precmd: command not found. Herewith attaching screenshot
abidifethi said:
I'm running CM 11 M11 and I have the bash file but it's different from this one in size.
Click to expand...
Click to collapse
Is it bigger ?
Trilochanaaya said:
Getting an error like this 'unable to chmod 777 /system/xbin/bash: Read-only file system.
Click to expand...
Click to collapse
dude did you read the OP
you must mount your system rw
just run from terminal
"mount -o remount,rw /system"
3lo0sh said:
Is it bigger ?
Click to expand...
Click to collapse
no t's smaller (about 417kb)
abidifethi said:
no t's smaller (about 417kb)
Click to expand...
Click to collapse
It's even include bash_history ??
Sadly it isn't import bash.bashrc by default ?
3lo0sh said:
It's even include bash_history ??
Sadly it isn't import bash.bashrc by default ?
Click to expand...
Click to collapse
So what's your advise?I overwrite it and "Maoulaha RABBI"
3lo0sh said:
dude did you read the OP
you must mount your system rw
just run from terminal
"mount -o remount,rw /system"
Click to expand...
Click to collapse
I did that pls see the post again! I have attached screenshot also.
abidifethi said:
So what's your advise?I overwrite it and "Maoulaha RABBI"
Click to expand...
Click to collapse
Overwrite it
It's smaller,lastest and patched
Trilochanaaya said:
I did that pls see the post again! I have attached screenshot also.
Click to expand...
Click to collapse
I think it's will not work in adb shell ? I am not developer so i think you should wait untel i search for patch to make it work ?
Trilochanaaya said:
I did that pls see the post again! I have attached screenshot also.
Click to expand...
Click to collapse
Pls se the picture
Add this function to your /etc/profile and do "bash --login"