[KERNEL][32B]cm-kernel 2.6.29-bfs with BFS-302 - myTouch 3G, Magic Android Development

I built a cm-kernel from Cyanogen's git repository for you to use. For now it is just a boot.img and wlan.ko, but I am going to make an update.zip for you as soon as I have time
Thanks to: cyanogen, rikupw, bcrook and Radix
This boot.img is only tested on CyanogenMod 4.1.11.1 and might work with older versions. But not on non-CyanogenMod roms!
I've also made some instructions for you to use if you want to build your own kernel: http://ostebaronen.dk/?p=210
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Get the two files here:
BFS-300:
http://ostebaronen.dk/android/cm-kernel-2.6.29-bfs300/boot.img
http://ostebaronen.dk/android/cm-kernel-2.6.29-bfs300/wlan.ko
BFS-302:
http://ostebaronen.dk/android/cm-kernel-2.6.29-bfs302/boot.img
http://ostebaronen.dk/android/cm-kernel-2.6.29-bfs302/wlan.ko
To put it on your phone do as follows.
Code:
adb shell mount -o rw,remount /system
adb push wlan.ko /system/lib/modules
adb push boot.img /sdcard
adb shell
cat /dev/zero > /dev/mtd/mtd2
ignore no space left error.
flash_image boot /sdcard/boot.img
ignore read all-zero errors.
DISCLAIMER: I take no responsibility of bricking your phone, remember always to do nandroid backups! I will try to answer questions you ask here, off-topic questions will be ignored.

Lemme know if you need any help making a kernel update.zip. I would be happy to help out.

Oste
Thanks again! worked 100% well for me

i thing this kernel work for 32b

Very nice information. How about a guide for the pre build?

eViL D: said:
Very nice information. How about a guide for the pre build?
Click to expand...
Click to collapse
What do you mean, for making the boot.img?

I've found out compcache doesn't work, going to look at it.

Or wait, module works fine if I load it myself. So compcache can be enabled with.
Code:
modprobe ramzswap
/system/bin/rzscontrol /dev/block/ramzswap0 --init
swapon /dev/block/ramzswap0
Strange though, because the a2sd script should do this for us...

I know why compcache isn't working for you
Kernel versions and modules are intrinsicly linked by 'uname -r'
Cyanogen's kernel uses 2.6.29-cm41 and you've changed the name with yours to be different - so it's not going to load the modules automagically.
Those modules are slightly hidden from view too - they're in modules.sqf which is a squash4 volume that is mounted on boot.
Good job on documenting the git commands to track cyanogen's builds tho - this is what I need!

cat: write error: No space left on device
????

kchau said:
cat: write error: No space left on device
????
Click to expand...
Click to collapse
i get the same thing

i skipped cat zero
and it hangs at the mytouch screen:
K:\>adb logcat
I//system/bin/sh( 51): /system/bin/sh: Can't open /system/bin/a2sd
I/logwrapper( 51): /system/bin/sh terminated by exit(2)
on dwangs 1.6 rom, never had a2sd to begin with

OK, going to rebuild it for you with the correct uname. Lets see if that solves the modules problems, after that I will look at putting it inside a update.zip. bcrook gave me some guidance so it should be fairly easy

Updated kernel recompiled with the correct uname!

kchau said:
cat: write error: No space left on device
????
Click to expand...
Click to collapse
This is because cat continues filling the device with zeroes until the device is full. So you are ought to get the error No worries. Though this command is not necessary, but good to do since you are sure that nothing is left on it.

OK, for some reason no matter what I do on my phone it will not activate compcache automatically. I tried wiping and installing stock cm4.1.11.1 it didn't work there aswell. So I am sure it is not the kernels fault.
Could someone please confirm compcache is working for them?

will i still have the same a2sd hang on the mytouch screen now?

kchau said:
will i still have the same a2sd hang on the mytouch screen now?
Click to expand...
Click to collapse
What do you mean?
UPDATE:
Ok compcache is working. It seems the a2sd script does not like it when you dont have partitioned your SDcard. If you need help setting it up, ask away!

So what is the difference between the BFS in this kernel & the BFS is cm4.1.11.1? Is this one faster?
Edit: You just stated compcache is working if the sdcard is partitioned... so if we are already partitioned, we shouldn't have any problems, correct? Or do we have to reformat?

Cheesebaron said:
What do you mean?
UPDATE:
Ok compcache is working. It seems the a2sd script does not like it when you dont have partitioned your SDcard. If you need help setting it up, ask away!
Click to expand...
Click to collapse
when im on dwangs rom, it hangs at the mytouch screen, and adb logcat has this message
K:\>adb logcat
I//system/bin/sh( 51): /system/bin/sh: Can't open /system/bin/a2sd
I/logwrapper( 51): /system/bin/sh terminated by exit(2)
i dont think dwang's rom is a rom with a2sd, and i dont have it partitioned in my sd either.
however, when im on 4.0.4, and still dont have a partitioned sdcard, everything works fine

Related

How To Tethering - New Improved with Gui - Open Sourced

Thanks to Harry_m!
The project is hosted on google-codes:
http://code.google.com/p/android-wifi-tether/
(Screenshot available)
http://forum.xda-developers.com/showthread.php?t=486767
Can one of the admins remove my tether sticky and make this thread a sticky...
Thanks
wow...thx to all involved in this -- looks great
Cool little app. Just installed and it works great. Wish there was an easy way to change the SSID.
Remove old
i installed this the other day and this is great.
Works 100% perfect.
the only question is how do i remove the old Tether1.6
I have been looking around but i cant figure out how to uninstall/remove the old setup
Thanks again
Great job. Open source ftw
Awesome ap and well done. Thanks!!!
To echo memphis, will installing this conflict in any way with tether 1.6? Does this overwrite Tether 1.6?
working flawlessly
now, if only T mobile would roll out 3g in my market
q1 2009, my foot
I just deleted tether 1.6 from my sd & installed this tether and it works flawlessly, no conflicts at all.
Awesome. Tethering can't get easier than this.
This is brilliant. Getting the best transfer speeds for any tethering program yet. Getting about 1200kbps over 3g!
yes thats work great man good job
Mine doesnt work
Mine does not work
"Your Phone is currently in an unknown state - try to reboot"
"Configuring iptables...
Could not open socke to kernel:
Operation not permitted
Starting dnsmasq ...
dnsmasq: failed to bind DHCP server socket:
Permission denied
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now because I'm a neat freak, I have to ask:
How does one go about "uninstalling" the tetherv1.6 package?
I have to chime in here just to emphasize how amazing this app is. It includes security and it's free! I can't see this app getting any better than it already is!!!
Many thanks to the developer for this amazing app =)
netbums said:
Mine does not work
"Your Phone is currently in an unknown state - try to reboot"
"Configuring iptables...
Could not open socke to kernel:
Operation not permitted
Starting dnsmasq ...
dnsmasq: failed to bind DHCP server socket:
Permission denied
Click to expand...
Click to collapse
Are you using a mod to run application from sd-card? If yes, this might be the problem ...
Take a look here:
http://forum.xda-developers.com/showthread.php?p=3388491#post3388491
and here:
http://forum.xda-developers.com/showthread.php?p=3389170#post3389170
Harry
echoing others, is it necessary to uninstall tether1.6, and if so how? thx
rjlan82 said:
echoing others, is it necessary to uninstall tether1.6, and if so how? thx
Click to expand...
Click to collapse
You can just leave it, or manually delete each of the files...
From a terminal session (adb shell or terminal on the phone) type:
su
rm /data/local/dnsmasq.conf
rm /data/local/dnsmasq.conf-secure
rm /data/local/dnsmasq.leases
rm /data/local/tiwlan.ini
rm /data/local/bin/tether
rm /data/local/bin/iptables
rm /data/local/bin/dnsmasq
There ya go...
works great! thanks
parrothd said:
You can just leave it, or manually delete each of the files...
From a terminal session (adb shell or terminal on the phone) type:
su
rm /data/local/dnsmasq.conf
rm /data/local/dnsmasq.conf-secure
rm /data/local/dnsmasq.leases
rm /data/local/tiwlan.ini
rm /data/local/bin/tether
rm /data/local/bin/iptables
rm /data/local/bin/dnsmasq
There ya go...
Click to expand...
Click to collapse
I still see dnsmasq.pid in that folder. Should I delete? (I also see bin and tmp, don't think those should be deleted correct?)
-----
Nevermind, bin is a folder. Which is now empty. tmp is also an empty folder. The question remains, what to do w/ dnsmasq.pid? It's not hurting anything so far, so I'm not touching.

32A Cyanogen's Recovery 1.3.1

Ported From:
http://forum.xda-developers.com/showthread.php?t=523558
Was playing around with my sdcard trying to make ext3 partition so i decided to port this recovery for 32A...
ofcourse i had to change the kernel.
Code:
http://rapidshare.com/files/258628289/cm-recovery-1.3.1-32A.img
credit to Cyanogen who is the author.
Would you port this to 32B please?
Thank you!
yukkio said:
Would you port this to 32B please?
Thank you!
Click to expand...
Click to collapse
I'm pretty sure the original recovery for the dream will work for 32B
just download it from the original thread and
"fastboot boot cm-recovery-1.3.1.img"
Sure? I'm scared about my magic dies :S
Ok, It seems It works. fastboot boot image to test it
Thanks
yukkio said:
Sure? I'm scared about my magic dies :S
Ok, It seems It works. fastboot boot image to test it
Thanks
Click to expand...
Click to collapse
The original from cyanogen works on 32b parted my sd with this one
how is this different to Amon_RA's recovery image?
Working on 32B magic with original file of HTC G1.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How would you replaced Cynogen's recovery image permanently? Is it the same way Amon_RA explained in his thread?
Goog1e Phone said:
How would you replaced Cynogen's recovery image permanently? Is it the same way Amon_RA explained in his thread?
Click to expand...
Click to collapse
Yeah the same way...
it's different because it has a few shell command that very usefull, apps2sd, parted,...etc
sorry, but i have no idea wat to do.
I'm run the image and did a 'repair ext filesystems'
anyone can advise wat am i suppose to do after that?
There's no app2sd option and when i hit 'go to console', my magic just freezes.
am i missing something?
thanks in advance.
@star1977: no don't hit console... you need adb on your computer which is provided by download the sdk..
after you go into recovery wait for 30 seconds thats when adb will pickup the device...
"adb shell"
then the rest of the stuff are explained here http://forum.xda-developers.com/showthread.php?t=534479 under "formatting your sdcard"
k4r1m said:
@star1977: no don't hit console... you need adb on your computer which is provided by download the sdk..
after you go into recovery wait for 30 seconds thats when adb will pickup the device...
"adb shell"
then the rest of the stuff are explained here http://forum.xda-developers.com/showthread.php?t=534479 under "formatting your sdcard"
Click to expand...
Click to collapse
thanks.
i did a #upgrade_fs.
after reboot, i notice apps downloaded from market is still being stored on my phone memory and not sd card.
did i missed something?
star1977 said:
thanks.
i did a #upgrade_fs.
after reboot, i notice apps downloaded from market is still being stored on my phone memory and not sd card.
did i missed something?
Click to expand...
Click to collapse
after you do "upgrade_fs" try "apps2sd" or "a2sd" and reboot because sometimes the script doesn't get executed so u have to run it manually...
if those command dont work from recovery, run "a2sd" when you are not in the recovery.
k4r1m said:
after you do "upgrade_fs" try "apps2sd" or "a2sd" and reboot because sometimes the script doesn't get executed so u have to run it manually...
if those command dont work from recovery, run "a2sd" when you are not in the recovery.
Click to expand...
Click to collapse
i notice after the 1st time i did apps2sd, my phone memory increases.
so i guess the apps probably went to the sdcard.
Thus i went to try install another app. but it went into the phone memory.
do I have to keep running apps2sd to trf the apps to my sdcard?
I guess so, it should be getting called by the init.rc i don't know why it doesn't get called... i will see if i can fix it, your using my jacheroski port right?
k4r1m said:
I guess so, it should be getting called by the init.rc i don't know why it doesn't get called... i will see if i can fix it, your using my jacheroski port right?
Click to expand...
Click to collapse
yup. using your jacheroski r2 rom
k4r1m, could you also port the latest Cyanogen recovery (I think it's 1.4) to 32A?
Thanks!
S.
siancu said:
k4r1m, could you also port the latest Cyanogen recovery (I think it's 1.4) to 32A?
Thanks!
S.
Click to expand...
Click to collapse
it was ported here http://forum.xda-developers.com/showthread.php?t=541818 by MagicDK
Would anyone happen to know if CM's recovery will work on a non rooted (obviously) MT3G?

[ROM] Stock Donut (Android-1.6_r1) w/o Google Apps

I got bored so I decided to compile the latest Donut source.
Please make a Nandroid backup before you flash any of this! Just in case.
To add Google apps, check out the Google Stuffer, or similar scripts.
Features:
- Latest Donut source compiled for the HTC-Dream
- Stock (No Google apps whatsoever)
- Otherwise fully working (report bugs if you find any though)
Bugs
- Home key and Phone key not working (I'll try to get them to work)
Instructions
Code:
Unzip "Android-1.6_r1.zip"
fastboot erase userdata
fastboot flash system system.img
fastboot flash boot boot.img
fastboot reboot
Only the system.img and boot.img is needed for the flashing procedure, but I included the other images just in case someone wants to take a look at them.
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download
http://www.mediafire.com/?ntdmo0ulxdr
Enjoy~
Is this a root rom?
Great job now we proved to Google that we don't need them
This does not affect the recovery.img. So if you have Cyanogen's 1.4 recovery.img you will still have root.
Although you won't have apps like SuperUser, since it's Stock.
Good Job!
I want to try this, but I dont ADB (yet) can this be flashed thru recovery??
I used Tmobile contacts backup, so I can see if it will restore my contacts.
Chevy
chevycowboyusa said:
I want to try this, but I dont ADB (yet) can this be flashed thru recovery??
I used Tmobile contacts backup, so I can see if it will restore my contacts.
Chevy
Click to expand...
Click to collapse
Yes you can use the recovery console.
Move the files to the root of your sdcard first though.
Code:
mount sdcard [enter]
mount system [enter]
flash_image system /sdcard/system.img [enter]
flash_image boot /sdcard/boot.img [enter]
reboot
any way you could make this a update.zip. so we can just use cyan recovery to flash the zip?
Only things that I noticed to be not working are the home key and phone key.
I'll investigate further.
is this experimental
i feel i shouldnt be looking at this. its so naked
Yes this is experimental since it's compiled from a non-finalized source.
I know this ROM is naked. But since Google is taking action against the distribution of their closed-source apps, everyone has to release Stock ROMs now.
Bavilo said:
Yes this is experimental since it's compiled from a non-finalized source.
I know this ROM is naked. But since Google is taking action against the distribution of their closed-source apps, everyone has to release Stock ROMs now.
Click to expand...
Click to collapse
i know i know its just so different from what were used to seeing.. but this is the new standard now(unless google changes! ..) so might as well get used to it =/
this looks very interesting. i will probably wait to use this until i see that it works with a few of the scripts that are being developed.
DavidChill said:
this looks very interesting. i will probably wait to use this until i see that it works with a few of the scripts that are being developed.
Click to expand...
Click to collapse
I'm sure someone will create a script that's compatible with Donut. Since we have all of the proprietary files necessary.
Script makers, do your magic please ;D
Weird
I keep getting an invalid argument when trying to mount the system in recovery terminal.
i typed
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
and
#mount -o remount,rw /dev/block/mtdblock3 /system
and
#mount -o remount,rw /dev/block/mmcblk0p2 /system
I seem to b having a brain fart.
Can i flash thru terminal emulator? edit: [I figured this one out.... NOPE!]
Chevy
It was VERY hard on my eyes to see an actual "bare bones" ROM already. Use to all the bells and whistles. I guess this is what we will have to work with right now till something is figured out. I really like this idea. Has ANYONE tested this yet with any google apps script. I really dont wanna try this until I know that we can get everything. I'll keep my eye on this though. Thanks for coming up with something so quickly
chevycowboyusa said:
I keep getting an invalid argument when trying to mount the system in recovery terminal.
i typed
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
and
#mount -o remount,rw /dev/block/mtdblock3 /system
and
#mount -o remount,rw /dev/block/mmcblk0p2 /system
I seem to b having a brain fart.
Can i flash thru terminal emulator? edit: [I figured this one out.... NOPE!]
Chevy
Click to expand...
Click to collapse
To mount anything in the recovery console you just need to type "mount system" for instance...or mount sdcard.
wow.. this is the start of more freedom... Rebenga!!!!
Weird things
Wow.... Something must have been messed up....
I wiped and reflashed cm 4.1.11.1... then I went to recovery terminal (after booting)
was able to [mount system] [mount sdcard] flashed system and boot imgs.
Rebooted and went thru g1 screen, then black, and then another g1 screen, then automatically went back to recovery.... {Weird!!!}
any advice?
chevycowboyusa said:
Wow.... Something must have been messed up....
I wiped and reflashed cm 4.1.11.1... then I went to recovery terminal (after booting)
was able to [mount system] [mount sdcard] flashed system and boot imgs.
Rebooted and went thru g1 screen, then black, and then another g1 screen, then automatically went back to recovery.... {Weird!!!}
any advice?
Click to expand...
Click to collapse
Yea that is weird. I only tried flashing the images with fastboot, and erasing the userdata.
I'm working on fixing the home and phone key atm.

[DEV][UPDATE] Backtrack 5 - Multi-Device Linux Chroot Solution - Debdroid Beta V2

Mods: I'm not sure where this thread belongs as it has evolved to support all Android Devices, please move accordingly.
Debdroid is a fully functional Linux-Android chroot solution. With the ability to set what img file is looped, you are able to run any distro built for ARM.
Update 05/14/11
Backtrack 5 Support!
Backtrack 5 on Android - http://www.youtube.com/watch?v=nYShFr0foS8
Debdroid supports any Android device with loopback devices and ext2.
Succesfully tested on Motorola Atrix, HTC EVO, HTC Incredible.
Release Page: http://gititbit.ch/bt5
All mirrors are provided by gitbrew.org, check out http://gitbrew.org/android/ for more android mirrors. Please contact me if you would like free secure file-hosting.
very interesting!!! i'll give it a shot tomorrow.
Tight work.....finally something fun to play with.
Lol "open sores community" that can't be a typo..........lmao, if it was sorry..hehe
Swyped from a galaxy far far away......
I love sniffing. This means free wifi on my EVO from my EVO hacking abilities.
Here is a song for this hack.
They see me sniffin';
They hatin'.
Patrollin'
And tryin. to catch me sniffin dirty.
catch me sniffin dirty.
Jimdog420 said:
Tight work.....finally something fun to play with.
Lol "open sores community" that can't be a typo..........lmao, if it was sorry..hehe
Swyped from a galaxy far far away......
Click to expand...
Click to collapse
I've already checked my post for spelling mistakes.
and thanks everyone!
It's good to finally see a dev who cares to do a project like this. I wish I had the time to contribute. Maybe after I'm done with univ and fail at trying to find a job I will. Thanks for all the hard work anyways.
So I'm running CM7...
sh debian.sh seemed to complete just fine. (I even went step by step to confirm since there's a 'clear' in there).
but...
sh debdroid gives me:
# debdroid
function: not found
modprobe: chdir(2.6.37-cyanogenmod-01174-gaa3cf65): No such file or directory
debdroid: 47: Syntax error: "}" unexpected
#
I'm decent with linux but a noob with bash (or any coding). It seems like a function is missing (or I did something wrong).
Any help would be appreciated. Thanks.
Do I see gentoo around ther corner?
Sent from my PC36100 using XDA App
easy1600, from the way your output is, it looks like you're not in a bash shell, but just the su sh shell. exec the command bash then exec debdroid. Thank you for trying it out.
As for Gentoo, I've been using Debian for years and never messed about too much in other distros other than arch. Though if you can get an ARM Gentoo img this method can be tweaked to work with any ARM img really.
Update: Here's a WIP of the Debtop software which will allow basically the same functionality of the Motorola Atrix Webtop software.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This vnc session is all through USB with no interaction over the wlan though it has the ability to work with vnc over ssh tunnel.
Sweet! It works and I get tab completion in android (that bugged the hell out of me). Thanks!
easy1600 said:
So I'm running CM7...
sh debian.sh seemed to complete just fine. (I even went step by step to confirm since there's a 'clear' in there).
but...
sh debdroid gives me:
# debdroid
function: not found
modprobe: chdir(2.6.37-cyanogenmod-01174-gaa3cf65): No such file or directory
debdroid: 47: Syntax error: "}" unexpected
#
I'm decent with linux but a noob with bash (or any coding). It seems like a function is missing (or I did something wrong).
Any help would be appreciated. Thanks.
Click to expand...
Click to collapse
Same exact problem here. =/
Aerodynamix: Type 'bash' then try again.
OP: What is the simplest way to copy a .cap file from debian to anywhere I can access it from my laptop? If I can just get it to android /sdcard/ I'm golden. Or if I can just send it anywhere that I can reach it...
Well, you can utilize the unionfs script which is supposed to mount the sdcard and debdroid or you can open up a file manager on your phone like astro and nav to /data/local/debian while debdroid is running.
The problem i am having is that when I type Bash im getting "bash: not found"
grzzer2 said:
The problem i am having is that when I type Bash im getting "bash: not found"
Click to expand...
Click to collapse
Do you have bash installed?
easy1600 said:
It's good to finally see a dev who cares to do a project like this. I wish I had the time to contribute. Maybe after I'm done with univ and fail at trying to find a job I will. Thanks for all the hard work anyways.
Click to expand...
Click to collapse
dasmoover said:
Do you have bash installed?
Click to expand...
Click to collapse
No I dont think I do, is it in the market. Sry I am a noob with Linux
You should grab the BusyBox tools from the market if you haven't already, I'm almost positive it comes with bash.
Yes I just installed busybox from the market on my phone and still getting the "bash: not found"
I got everything working, thank you for your help
dasmoover said:
Well, you can utilize the unionfs script which is supposed to mount the sdcard and debdroid or you can open up a file manager on your phone like astro and nav to /data/local/debian while debdroid is running.
Click to expand...
Click to collapse
My /data/ directory is empty (debian is running). Unionft script doesn't seem to work at all.
I got it done by running /sbin/sshd and using winscp though. Thanks, I got lots to play with now!

How To Guide [GUIDE] How to make your System RW / Super R/W read/write-able

Welcome to the one and only, the original, universal
SystemRW / SuperRW feat. MakeRW / ro2rw by lebigmac​
This script removes the read-only lock of all partitions embedded in the super partition of your stock firmware.
This allows you to mount your device as R/W and fully debloat your device and customize your MIUI experience to make it run as smooth as silk!
MIUI 12 is great but it has a little bit too much bloatware.
Be very careful and make lots of backups before messing with your System ! One small error could cause irreversible bootloop!
Enjoy debloating and customizing your fully read/write-able Android device!
NOTE: Before launching this script make sure you've got full read/write (rw) access to the /data partition by first decrypting and then mounting /data partition as r/w !
Visit official project thread​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PS C:\adb> adb shell "ls -Alg /dev/block/by-name | grep 'super'"
lrwxrwxrwx 1 root 16 1970-02-02 16:40 super -> /dev/block/sda23
POCO X3 pro
/
so does this work on x3 pro?
edit, it didnt. threw some devblock warnings about not mounting
@gsser Yes it works! Try latest version! Good luck!
lebigmac said:
@gsser it can work depending on how much effort you decide to put into it.
Click to expand...
Click to collapse
well if it is like that, then why is there even a non complete script when it can be done by the owner...
And since you have already asked how it is on x3 pro im saying it doesnt work.
"I'm looking forward to hearing from the Poco X3 Pro users how the script performs on your device."
It is mostly because of current recoveries for x3 pro doesnt support /data yet, but the script can use sdcard rather than internal storage.
@gsser Thanks for the screenshot and feedback. Please download latest v1.32
Feel free to send me your log files if you get any errors and I'll take a look. Thanks.
lebigmac said:
@gsser Thanks for the screenshot and feedback. Please download latest v1.31 that I uploaded today. And feel free to edit the script with your favorite text editor and change the super image dump path in line #333 to this. Then save file.
Code:
sDumpTarget="/sdcard/super_original.bin"
Feel free to send me your log files if you get any errors so I can take a look. Thanks.
Click to expand...
Click to collapse
Only lines i could find about data were these and i edited the path to my sdcard, flashed it.
Edit just seen you edited your reply. Ill try
I'm not 100% sure if your changes will work properly. Feel free to give it a try.
Keep in mind if you change variables the script might not work as expected.
The reason why the script is installed to /data/local/tmp is because in /scard path you don't have execution permission. That's why it's better to launch script from /data/local/tmp
Poco x3 pro recovery don't have full r/w access to /data/local/tmp ?! That's crazy!
You can try launch script directly from android and it should work as expected.
lebigmac said:
I'm not 100% sure if your changes will work properly. Feel free to give it a try.
You can also use /sdcard path it should be the same thing as what you wrote. Good luck.
Please report back any errors thanks.
Keep in mind if you change LOC variable you must also copy the whole script folder to that new location.
The reason why the script is installed to /data/local/tmp is because in /scard path you don't have execution permission. Is better to launch script from /data/local/path
You don't have full access to /data/local/path in poco x3 pro?
Click to expand...
Click to collapse
This is how the folder looks rightnow. Do i need to do anything about it? Also what is LOC :c
Edit nvm, lol im blind
Not sure what you're trying to do but that path is totally messed up
Just run script in android operating system as described in the instructions if you don't have full read write access to /data/local/tmp from custom recovery
Have you tried manually mounting /data partition in orange fox? Maybe it's not mounted and that's why /data/local/tmp is unavailable.
lebigmac said:
Not sure what you're trying to do but that path is totally messed up
Click to expand...
Click to collapse
Yeah ill just change than only line
lebigmac said:
Not sure what you're trying to do but that path is totally messed up
Just run script in android operating system as described in the instructions if you don't have full read write access to /data/local/tmp from custom recovery
Have you tried manually mounting /data partition in orange fox? Maybe it's not mounted and that's why /data/local/tmp is unavailable.
Click to expand...
Click to collapse
All available recoveries have issue mounting data, some cant even mount mtp.
Ill try android one and see what happens.
If your /data partition is not mounted then you can try manually mounting /data partition before running script.
mount /data
lebigmac said:
LOC is a safety path check feature I had to implement because some folks were launching the script from God knows where and overwriting God knows what with dd lol.
Did you try manually mounting /data partition before running script?
mount -o remount,rw /data
Click to expand...
Click to collapse
Yeah, ill try android version then flash it with fastboot but im a bit confused. Do i execute this command or do i need to do other things? Sorry im a noob at these things
./makesysrw.sh in=./files/super/super_original.bin out=./custom/path/super_fixed.bin size=50
Actually ill stop here since i dont get the whole thing, i dont understand at all :/ once i tried to use linux and it was not fun for me... Im bad with command lines and scripts
After copying script folder into /data/local/tmp/
open command prompt and type this
Bash:
adb shell
su
cd /data/local/tmp/systemrw_1.32
chmod +x ./systemrw.sh
./systemrw.sh size=50
lebigmac said:
After installing script folder into /data/local/tmp/
open command prompt and type this
Bash:
adb shell
su
cd /data/local/tmp/makesysrw_1.31
chmod +x ./makesysrw.sh
./makesysrw.sh size=25
Click to expand...
Click to collapse
now this is what i like
are you sure your bootloader is unlocked?
now do i need to flash the super_fixed.bin in script folder's files folder in fastboot? original super is approx. 8gb and fixed one is nearly half of it

Categories

Resources