Help people know what this ROM is true - Flipout and Charm General

Today on the Internet found a genuine hereby ME511 help the ROM I do not know good English translation of this is Google results
2.3ROM NAME:SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
2.3ROM:u.115.com/file/bh5xqdw9
SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
RSD LITE display parameters
Filename: SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
Creation Date: 06/29/2011 06:11:37
File size: 162933349
RAM DL Version: v0x009078
Bootloader Version: -------------
Platform: 4G OMAP
HAB Type: Signed Production

564996476 said:
Today on the Internet found a genuine hereby ME511 help the ROM I do not know good English translation of this is Google results
2.3ROM NAME:SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
2.3ROM:u.115.com/file/bh5xqdw9
SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
RSD LITE display parameters
Filename: SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
Creation Date: 06/29/2011 06:11:37
File size: 162933349
RAM DL Version: v0x009078
Bootloader Version: -------------
Platform: 4G OMAP
HAB Type: Signed Production
Click to expand...
Click to collapse
where did you read it's 2.3 ?
did you try flashing it ?
I'm downloading it now (clicked on TELECOM DOWNLOAD link after I translated u.115.com/file/bh5xqdw9 to english)

suoko said:
where did you read it's 2.3 ?
did you try flashing it ?
I'm downloading it now (clicked on TELECOM DOWNLOAD link after I translated u.115.com/file/bh5xqdw9 to english)
Click to expand...
Click to collapse
Resources from
bbs.gfan.com/viewthread.php?tid=1763834&extra=pageD1&page=1
"European version and the landlord said the Hong Kong version of the high success rate that
RSD procedures must be in English
After the test, please tell me the result thanks
Above all from the Google translation of the text

before flashing it I'm trying examining it
don't want a bricked phone after 1 week I bought it
# sbf_flash -x SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
this returns:
CG31.img CG34.img CG36.img CG40.img CG45.img CG53.img RDL03.img
CG33.img CG35.img CG39.img CG42.img CG47.img CG61.img
mounting img files:
#mkdir ./CG31
#sudo mount -o loop -t sysfs ./CG31.img CG31/
#cd tmp
#mkdir ./CG33
#sudo mount -o loop -t sysfs ./CG33.img CG33/
#cd tmp
and so on

suoko said:
before flashing it I'm trying examining it
don't want a bricked phone after 1 week I bought it
# sbf_flash -x SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
this returns:
CG31.img CG34.img CG36.img CG40.img CG45.img CG53.img RDL03.img
CG33.img CG35.img CG39.img CG42.img CG47.img CG61.img
mounting img files:
#mkdir ./CG31
#sudo mount -o loop -t sysfs ./CG31.img CG31/
#cd tmp
#mkdir ./CG33
#sudo mount -o loop -t sysfs ./CG33.img CG33/
#cd tmp
and so on
Click to expand...
Click to collapse
Do you mean that this ROM is fake?
I tried but failed to ask the way, made ​​up

564996476 said:
Do you mean that this ROM is fake?
I tried but failed to ask the way, made ​​up
Click to expand...
Click to collapse
It is a milestone not brush the generation of ROM

suoko said:
before flashing it I'm trying examining it
don't want a bricked phone after 1 week I bought it
# sbf_flash -x SHOLS_U2_02.31.0_UCASHLSMR2EMEAB1B805C.0R_PDS003_ME511_USA_SHLS00RTINT_P012_A011_HWp2a_Service1FF.sbf
this returns:
CG31.img CG34.img CG36.img CG40.img CG45.img CG53.img RDL03.img
CG33.img CG35.img CG39.img CG42.img CG47.img CG61.img
mounting img files:
#mkdir ./CG31
#sudo mount -o loop -t sysfs ./CG31.img CG31/
#cd tmp
#mkdir ./CG33
#sudo mount -o loop -t sysfs ./CG33.img CG33/
#cd tmp
and so on
Click to expand...
Click to collapse
FAKE ROM, please delete this post moderator

What is brush? Do they mean blur?
Sent from my MB511 using XDA App

suoko said:
What is brush? Do they mean blur?
Sent from my MB511 using XDA App
Click to expand...
Click to collapse
Maybe it means flash

Related

need write to /system or something EXEC path

I was the first person I know on the internet to compile nmap for android and this guy ( http://wjholden.com/nmap/ ) took it to the next level got a new phone ( CM6 with OC ) nbow it does not work
* can't write to /system even with rw remount
* if I boot recovery I can' write to /systm but its just a temp fs so failsause ...
* can't ADB shell (read below ) to find out where system is really mounted OR mount the real /system my self ..
* remouted / but anything I add gets wipped on reboot ...
* onlything that works is remount / , copy nmap and then add PATH hackery to EXEC nmap ... on EVERY reboot ...
NOTES BELOW:
Code:
http://forum.xda-developers.com/showthread.php?t=701589&page=4
I think its because /system is protected in CM5+ ? even with remount
command... ?
let me know what I need to copy where in recovery mode to /system to
get yours to run properly :/
you could also have your installer check for this and have notes etc ..
# uname -a
Linux localhost 2.6.29.6-cyanogenmod #1 PREEMPT Fri Sep 17 16:05:39
PDT 2010 arm v6l GNU/Linux
# ls
ls
NMAP FOR ANDROID CROSS COMPILE ARM.html
NMAP.zip
nmap
nmap-4.01-1.spec
nmap-mac-prefixes
nmap-os-fingerprints
nmap-protocols
nmap-rpc
nmap-service-probes
nmap-services
# cp * /system/bin
cp * /system/bin
cp: can't create '/system/bin/NMAP FOR ANDROID CROSS COMPILE ARM.html': Out of m
emory
cp: can't create '/system/bin/NMAP.zip': Out of memory
cp: can't create '/system/bin/nmap': Out of memory
cp: can't create '/system/bin/nmap-4.01-1.spec': Out of memory
cp: can't create '/system/bin/nmap-mac-prefixes': Out of memory
cp: can't create '/system/bin/nmap-os-fingerprints': Out of memory
cp: can't create '/system/bin/nmap-protocols': Out of memory
cp: can't create '/system/bin/nmap-rpc': Out of memory
cp: can't create '/system/bin/nmap-service-probes': Out of memory
cp: can't create '/system/bin/nmap-services': Out of memory
# df /system
df /system
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/mtdblock3 245760 240824 4936 98% /system
# mount
mount
...
/dev/block/mtdblock3 on /system type yaffs2 (rw)
Code:
mount -o rw,remount -t yaffs2 /
rm -Rf /nmap
mkdir /nmap
echo 'export PATH=$PATH:/nmap' > path
cd /nmap
wget http://rmccurdy.com/stuff/G1/BINS/NMAP/NMAP.zip
unzip NMAP.zip
chmod 777 /nmap/*
export PATH=$PATH:/nmap
echo run /nmap/path before you start nmap
nmap -vvv 127.0.0.1
rmccurdy.com/nmap.sh (tested on CM6 / mytouch slide )
in normal mode ..
Code:
bash
localhost / # mount -o rw,remount -t yaffs2 /system
mount -o rw,remount -t yaffs2 /system
localhost / # cd /system
cd /system
localhost system # for i in `ls` ;do mkdir $i\\nmap ;done
for i in `ls` ;do mkdir $i\\nmap ;done
mkdir: can't create directory 'app\nmap': Out of memory
mkdir: can't create directory 'bin\nmap': Out of memory
mkdir: can't create directory 'build.prop\nmap': Out of memory
mkdir: can't create directory 'etc\nmap': Out of memory
mkdir: can't create directory 'fonts\nmap': Out of memory
mkdir: can't create directory 'framework\nmap': Out of memory
mkdir: can't create directory 'lib\nmap': Out of memory
mkdir: can't create directory 'lost+found\nmap': Out of memory
mkdir: can't create directory 'media\nmap': Out of memory
mkdir: can't create directory 'usr\nmap': Out of memory
mkdir: can't create directory 'xbin\nmap': Out of memory
in "Android system recovery (2e)" :
( note: /system is also a vfs I think .. I adb push to it and reboot and the file is gone ... )
Code:
C:\Documents and Settings\Administrator\nmap>adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -
C:\Documents and Settings\Administrator\nmap>
You can't write in /system in normal boot mode as security is on (s-on), remounting rw does you no good.
In recovery you will need to mount /system from clockwork before you can do anything.
I do have Clockwork Recovery 2.5.0.1 but I am not sure how to get to a shell and or find /system mount path as I can't adb shell ( read above ) so I can't remount or mount /system
rmccurdy.com/nmap.sh * this is what I am using for nmap as of now ..
Usage:
bash -x /sdcard/nmap.sh localhost
etc ...
There's an option in clockwork under partitions to allow you to mount the system. I'm not sure why but a lot of people have an issue getting into su with adb when they are in recovery, the constant /system/bin/sh error is annoying. Also, if I remember right, yaffs2 is not what you use to mount the system when using that command. It's mtdblock3 or something like that if I'm thinking along the correct lines here.
Maybe you should try putting it in a zip file as a script and running it that way since you use a different command (and much easier) to mount the system and write to it. Then again, I'm not sure what you're trying to so so I could just be talking out of my a$$
I can't do anything usefull in recovery ... reboot and apply update.zip but I dont how how nor do I really want to make a .zip / script to mount system etc .. do you know a zip I can work from as an example
rmccurdy said:
I can't do anything usefull in recovery ... reboot and apply update.zip but I dont how how nor do I really want to make a .zip / script to mount system etc .. do you know a zip I can work from as an example
Click to expand...
Click to collapse
The slide doesn't have S-Off, most HTC phones have them now...So you have to wait for Alpharev 2.0 to be released.
Ace42 said:
The slide doesn't have S-Off, most HTC phones have them now...So you have to wait for Alpharev 2.0 to be released.
Click to expand...
Click to collapse
Yes, but in recovery we can mount the system and write to it. Phones with s-off can do that while booted normally because the NAND is unlocked and the system is no longer protected.
You can do it one of two ways. This one is easiest if you know linux commands but are unfamiliar with update-script format. Make an update script and put this in there:
Code:
show_progress 0.5 0
run_program PACKAGE:example.sh
show_progress 0.5 10
You don't have to use the show_progress line, it's just for aesthetics.
Make a .sh script, name it whatever you want and put the linux commands you want to execute in the script. For example:
Code:
#!/sbin/sh
#
##############################################
mount /system;
rm -rf /nmap
mkdir /nmap
echo 'export PATH=$PATH:/nmap' > path
cd /nmap
wget http://rmccurdy.com/stuff/G1/BINS/NMAP/NMAP.zip
unzip NMAP.zip
chmod 777 /nmap/*
export PATH=$PATH:/nmap
echo run /nmap/path before you start nmap
nmap -vvv 127.0.0.1
exit 0;
Or what ever you're trying to get done. I'll upload an example file of all this since hands on is always better. Looking at this though, you may want to have the files in the zip (in the directories they will be installed to) because wget probably wont work since the radio is off while in recovery.
interesting thanks ! ... do you have to resign it and all or can you just edit and rezip it ?
rmccurdy said:
interesting thanks ! ... do you have to resign it and all or can you just edit and rezip it ?
Click to expand...
Click to collapse
As long as you're using clockwork you just edit and zip. Might be easier to use an archive explorer to open (without uzipping it) then drag and drop, but do what's easiest for you.

How to Run(Chroot) Linux(Ubuntu/Debian,etc.) in your Milestone 2

Chrooting Linux on Android is a very popular topic, and you can find many tutorials online. I am not going to post a detailed how to here.. but, I will explain the generalized steps for the process! If anyone have any questions or need help, feel free to ask!
Get Root Access on your phone
There are many ways to get root access; Easiest will be using z4root or SuperOneClick ! Rooting is mandatory because: You need to install Busybox; Need to mount file system, etc..​
Install SuperUser App from the Market
This application allows you to grant Root access to other applications (when needed). Depending on how you rooted your phone, superuser.apk may be already installed on your phone.​
Install Busybox App from the Market
Depending on how you rooted your phone, Busybox may be already installed on your phone. In any case install this app from the market and update your busybox to the latest version. Busybox is a set of commonly used linux commands, which are not available in android by default. Eg: cp, chroot, etc.​
Install Connectbot from Android market
Connect bot is a terminal client application for android. There are other alternatives but, I recommend Connectbot! Also Connectbot has SSH support, so if you are installing an SSH server on your Ubuntu, you can connect to it using connectbot and you may totally skip the VNC for GUI. Anyway, note that you need a terminal app to start the chroot daemon!​
Install AndroidVNCViewer from Android market
With androidVNCViewer we can get GUI access to our ubuntu! This App works so fine in my Milestone 2 with Ubuntu; It even supports mouse pointer!​
Download/build a Linux rootfs for your flavour of linux
Now, you need the Ubuntu/Debian/Other linux file system for your Phone's processor. Like most of the Android phones, Milestone 2 uses an ARM processor. And Ubuntu offers full support for ARM processors. It is so easy to build ubuntu for ARM(OMAP) platform using rootstock/bootstrap method. I used rootstock method for Ubuntu as explained here.
PS: For your first time, make sure you build, "Ubuntu Lucid" (just use the --seed/-s parameter of rootstock command. I was not able to use 11.04(Natty). Once you get Lucid to work, you can surely try yourself for the other versions! )​
Create a mountable .img file with a size suited for you
From rootstock, you will get a .tgz file! You will need to convert this to a mountable .img file.
In order to create an empty ubuntu.img file, use the followed command in your ubuntu-desktop's terminal; the last arguement (2048) specifies size of the Ubuntu rootfs (If you need much disk space when you are in ubuntu, use a large value here. Normally 2GB will be sufficient for you; even with GUI/VNC).
Code:
dd if=/dev/zero of=ubuntu.img bs=1MB count=0 seek=2048
Next, format our empty ubuntu.img with a suitable ext2/ext3/ext4 file system!
For Milestone 2, you should use ext3 (I think it does not support ext2). ext4 is supported only in Gingerbird+. So, you should use the appropriate command based on your mobile
Code:
mkfs.ext2 -F ubuntu.img
mkfs.ext3 -F ubuntu.img
mkfs.ext4 -F ubuntu.img
You can find out the suitable file system by opening Connectbot in your mobile and entering the followed command. In the output, look for words ext2/ext3/ext4!
Code:
su
mount
Once you format ubuntu.img with appropriate file system. We should temporarily mount the ubuntu.img in a somewhere and we should extract the armel-rootfs-xx.tgz to it. You can use these commands
Code:
sudo mount -o loop ubuntu.img /mnt
sudo tar -C /mnt -zxf armel-rootfs--xx.tgz
sudo umount /mnt
Download(and modify) or create a Shell script for automatically mounting your Chroot image
This is the most important part, we have to run a set of commands in our android shell to get into the ubuntu. To make things easier, we will write these command-sequence in a shell script, and whenever we need we simple call this script. Cool isn't it?. Basically this is what this script should do:
Code:
1. Check if there exists an ubuntu.img file as we specify in command line
2. Create a loop device with the ubuntu.img - ie. Make android(linux) believe that ubuntu.img is a mountable device.
3. Mount the newly created loop device to a folder. My script mounts the image to /data/local/chrootos
4. Set some environment variables in the shell
5. Mount the [I]devpts, proc, sysfs[/I] for the ubuntu!
6. Run the Chroot command. This command actually changes the root of file system to a new directory we specify. ie. we fake [B]/data/local/chrootos[/B] as the rootfs![B]/[/B]
Create a folder in your Phone's SD Card and copy one or more(If you want to choose between: Debian/Ubuntu/Puppy/etc) .img files and your shell script for booting linux into it.
Create a folder named .chroot in your SD Card. If you have a "." as the first character, this folder will be hidden in the Android File Browser. And will avoid you accidentally modifying these files.​
Get into your Phone's Shell through ConnectBot / USB-ADB / Terminal Emulator
Enter su in the terminal to get root access
Remount your Android filesystem to get write access to your phones
By default, the android file system is read only. So in order to write to the files sytem, we have to remount it with the following command.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Copy your bootscript to /system/bin so that you can easily start your LinuxIf you have downloaded my bootscript, the file name will be bl - short for boot linux. So, once you copied you will have your shell script at /system/bin/bl. Once we copy the shell script to the bin directory, it will work as a shell command.​
Start your linux and customize it
If you have done everything correctly so far, you can now boot into your ubuntu.img with the following command. Note that you do not need to specify the full file name "ubuntu.img".
Code:
bl ubuntu
Start your linux and customize it
If Chroot was a success, you will see the ubuntu shell prompt. And then you can start installing more stuff, etc. [email protected]:​
Downloads & Screenshots
Screenshots: http://goo.gl/PzVI0
My Shell Script for starting linux: http://goo.gl/il3nJ
My ubuntu.img: Coming Soon​Password
Code:
arunraj.in
Common Errors
The most common error will be when we are dealing with the "loop device". Because, according to the apps installed in your device, there may not be a free loop device available. If you are facing errors, feel free to ask me and I will try and help!​
Thanks, man! When I have time I'm gonna try it out.
Sent from my Milestone 2 XDA App
thanks for tutorial. will try this soon
Script didn't work :/
Gongui20 said:
Script didn't work :/
Click to expand...
Click to collapse
Do you get any error message?
Thanks !
It's very interesting.I will try it when I have some free time.
echo "Linux Chrooter: Chroot!"
chroot $mnt /bin/bash
Click to expand...
Click to collapse
/bin/bash didnt exist or something like that.
Gongui20 said:
/bin/bash didnt exist or something like that.
Click to expand...
Click to collapse
I think there was no free loop device available for mounting the image.
could run these commands as root and send me the output(the txt files created)?
Code:
mount > mount-list.txt
losetup -f > losetup1.txt
losetup /dev/block/loop1 /sdcard/.chroot/ubuntu.img > losetup2.txt
losetup1.txt
/dev/loop0
Click to expand...
Click to collapse
mount-list.txt
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk1p21 /system ext3 ro,noatime,nodiratime,barrier=1,data=ordered 0 0
/dev/block/userdata /data ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,barrier=1,data=ordered 0 0
/dev/block/cache /cache ext3 rw,nosuid,nodev,noatime,nodiratime,errors=continue,barrier=1,data=ordered 0 0
tmpfs /tmp tmpfs rw,relatime,size=2048k 0 0
/dev/block/pds /pds ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
/dev/block/preinstall /preinstall ext3 rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=ordered 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.rovio.angrybirdsrio-1 vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.rovio.angrybirds-1 vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/org.xbmc.android.remote-2 vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
Click to expand...
Click to collapse
losetup2.txt is empty.
Yeap, I faced the same error when I was doing it. If you notice the mount-list.txt, you can see that AngryBirds application is using /dev/block/dm-0 and /dev/block/dm-1. /dev/block/dm-2 is also in use.
You could try this:
Edit the script bl and replace /dev/block/loop1 in the script with /dev/block/dm-3. It might just do the trick.
Hey check this out:
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Works on Asus TF101
Hi
Thanks for the guide. I got it running on my Asus TF101. I had to modify your script slightly :
The /system filesystem is mounted as ext4 (not yaffs)
The /system fs is mounted from /dev/block/mmcblk0p1
/dev/block/mmcblk0p1 /system ext4 rw,relatime,barrier=1,data=ordered 0 0
Click to expand...
Click to collapse
Apart from that no other changes were necessary.
Need Help!!!!
hi ~ I just put the img file in /sdcard/.chroot/.linux/ ,named ubuntu.img and edited the Script
but when I run the script ,there is a problem in line:
mount -t ext3 /dev/block/loop1 $mnt
it said:
Device or resourc busy
I have tried thousand ways and cost 5 days,but I can't solve it.....
can you help me?
sorry for my poor english...
losetup1.txt
/dev/loop0
I also replace /dev/block/loop1 in the script with /dev/block/dm-5,but I need use command :"mknod /dev/block/dm-5 b 7 0" first.
the error Screenshots and mount
echoeye said:
the error Screenshots and mount
Click to expand...
Click to collapse
Hi,
Which is your Mobile ?
Also -- Did you see reply #7, #8 on page 1 of this thread ?
There is another way to mount it without using the option -oloop
If you look into /dev/block you are going to find 8 loop devices, from loop0 to loop7. As android doesn't use that many loop devices it should be enough. You can mount it like this:
Code:
losetup /dev/block/loop7 /sdcard/ubuntu/ubuntu.img
mount -t ext3 /dev/block/loop7 /mnt/ubuntu
If your phone doesn't have a free loop device, you can create a new one, like this:
Code:
mknod /dev/block/loop99 b 7 99
losetup /dev/block/loop99 /sdcard/ubuntu/ubuntu.img
mount -t ext3 /dev/block/loop99 /mnt/ubuntu
The problem is you have apps installed to the sd card (and getting mount points busy), when it happens here I just open Titanium Backup and move External apps to internal.
No matter what I tried here, this script wouldn't work... So I used DebOnDroid app from defy forum, and when updated to GB. The app stopped working also, so I moved the ubuntu.img to /data/local/ and mounted from there, works like a charm!
This is the script I'm using /system/bin/buntu:
Code:
export mnt=/data/local/debian
export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/sbin
export TERM=linux
export HOME=/root
export USER=root
echo "Linux Chrooter: Setup Networking"
sysctl -w net.ipv4.ip_forward=1
#necessary mount points
busybox mount -o loop $mnt/../debian.img $mnt
busybox mount -t devpts devpts $mnt/dev/pts
busybox mount -t sysfs sysfs $mnt/sys
busybox mount -t proc proc $mnt/proc
#extra mount points
busybox mount -o rw /system $mnt/mnt/s
busybox mount /data $mnt/mnt/d
busybox mount /sdcard $mnt/mnt/sd
echo "Linux Chrooter: Chroot!"
chroot $mnt /bin/bash
umount $mnt/sys
umount $mnt/proc
umount $mnt/dev/pts
umount $mnt/mnt/*
#somehow the commented lines didn't work...
#umount $mnt/mnt/d
#umount $mnt/mnt/s
umount $mnt
PS: when I copy a binary from ubuntu to /system/bin and chmod, it won't exec, why?
Sent from my Milestone 2 XDA App
r2beta0 said:
There is another way to mount it without using the option -oloop
If you look into /dev/block you are going to find 8 loop devices, from loop0 to loop7. As android doesn't use that many loop devices it should be enough. You can mount it like this:
Code:
losetup /dev/block/loop7 /sdcard/ubuntu/ubuntu.img
mount -t ext3 /dev/block/loop7 /mnt/ubuntu
If your phone doesn't have a free loop device, you can create a new one, like this:
Code:
mknod /dev/block/loop99 b 7 99
losetup /dev/block/loop99 /sdcard/ubuntu/ubuntu.img
mount -t ext3 /dev/block/loop99 /mnt/ubuntu
Click to expand...
Click to collapse
thank you very very very very very very very very very very very very very very very much!!!!
I made it!!!
oh yeah!~~~~
How is this different from using an app like linuxinstaller? Well, apart from doing it manually and the nerdy way of course?
Is it safer? I am intrigued by the possibility of having a working ubuntu in my pocket, but am wondering if I should go this way or try the app.
great guide though... i think this is the push i needed to finally try this.
Nice job! but i got this..
Nice job!
I got this
#bl ubuntu
bl: permission denied
#
;/

[ROOT][A50x] Alternative Root Method for ICS

It has come to my attention that for some reason ICS Root isn't working on some stock / OTA A500 A501 ICS Builds, despite the kernel version being 2.6.39.4+ which implies some sort of incompatibilities with the exploit
With this in mind I have created a second rooting solution for those of you who have issues with blackthund3r ICS Root 7.1.1
Please try ICS Root first, then try this, then ask for help This is not the most elegant of solutions but it does work
0) Have your CPUID and/or SBK to hand, along with the A500 APX Flash Tool downloaded. If you have your CPUID but not your SBK, go generate it now with http://a500bootloaderflash.tk/sbkcalc/
1) Download the root zip from http://www.blackthund3r.co.uk/hostedfiles/CWM_ICSRoot and copy it to the device's internal storage over USB
2) Load the A500 APX Flash Tool and enter the bundle market. View the bundles for the default repo (a500bootloaderflash.tk)
3) Scroll to the bottom and find the bundle which has a patched bootloader (v8) with CWM Recovery 1.7.3 (Bundle #17)
4) Enter the number in the box and press the download button
5) Allow it to automatically stage the bundle for flash, enter your SBK and press OK
6) You don't have root yet so don't dump your BCT
7) Flash the bundle as normal. If entering APX Mode doesn't work automatically, use the manual method
8) Once done DO NOT BOOT NORMALLY. Power the device off then immediately boot into recovery mode! IF YOU BOOT FIRST YOU WILL NEED TO REFLASH CWM WITH FASTBOOT OR APX MODE
10) Once in CWM, head to "Install zip file from internal storage" and select the file you copied over in step #1 & install it
11) Now reboot your tablet. You should now be rooted with CWM, busybox and native filesystem remounting!
This is version 2 which has loads of fixes in it. It is actually a pretty clean root now and includes most of ICS Root 7.1.1's features so don't be scared!
Hm I did not know that we have an official ICS for A501 now?
Sent from my A501 using Tapatalk 2
macia10 said:
Hm I did not know that we have an official ICS for A501 now?
Sent from my A501 using Tapatalk 2
Click to expand...
Click to collapse
OTAs have been appearing
Sent from my A500 using Tapatalk 2
I tried this system and it works for the superuser privileges applications, but you can not have write privileges in the system folder.
I am doing something wrong??
Great job as always, however,
tresed said:
I tried this system and it works for the superuser privileges applications, but you can not have write privileges in the system folder.
I am doing something wrong??
Great job as always, however,
Click to expand...
Click to collapse
Hmm I'm sure I added that patch to it. I'll take a look. Can you send me the output of cat /system/xbin/mount and cat /system/bin/mount ?
Sent from my A500 using Tapatalk 2
blackthund3r said:
Hmm I'm sure I added that patch to it. I'll take a look. Can you send me the output of cat /system/xbin/mount and cat /system/bin/mount ?
Sent from my A500 using Tapatalk 2
Click to expand...
Click to collapse
sorry but are impractical, what should I do/send
tresed said:
sorry but are impractical, what should I do/send
Click to expand...
Click to collapse
Haha download terminal emulator from the android market, load it up and type:
Code:
su
cat /system/bin/mount
cat /system/xbin/mount
Then copy & paste the output
Thanks!
:laugh::laugh:
export PATH=/data/local/bin:$PATH
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # cat /system/bin/mount
#!/system/bin/sh
pb="/system/xbin"
app="busybox"
if $pb/$app test "$1$2$3$4$5" = "-oremount,rw/system" ;
then { $pb/$app mount -o remount, rw /system/ ;};
elif $pb/$app test "$1$2$3$4$5" = "-orw,remount/system" ;
then { $pb/$app mount -o remount, rw /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-oremount,rw/dev/block/mmcblk0p3/system" ;
then { $pb/$app mount -o remount,rw /dev/block/mmcblk0p3 /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-orw,remount/dev/block/mmcblk0p3/system" ;
then { $pb/$app mount -o remount,rw /dev/block/mmcblk0p3 /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-oremount,rw/dev/block/platform/sdhci-tegra.3/by-name/APP/system" ;
then { $pb/$app mount -o remount,rw /dev/block/platform/sdhci-tegra.3/by-name/APP /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-orw,remount/dev/block/platform/sdhci-tegra.3/by-name/APP/system" ;
then { $pb/$app mount -o remount,rw /dev/block/platform/sdhci-tegra.3/by-name/APP /system/ ;};
else { $pb/$app mount $* ;};
fi;
[email protected]:/ #
:laugh::laugh:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ su
[email protected]:/ # cat /system/xbin/mount
#!/system/bin/sh
pb="/system/xbin"
app="busybox"
if $pb/$app test "$1$2$3$4$5" = "-oremount,rw/system" ;
then { $pb/$app mount -o remount, rw /system/ ;};
elif $pb/$app test "$1$2$3$4$5" = "-orw,remount/system" ;
then { $pb/$app mount -o remount, rw /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-oremount,rw/dev/block/mmcblk0p3/system" ;
then { $pb/$app mount -o remount,rw /dev/block/mmcblk0p3 /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-orw,remount/dev/block/mmcblk0p3/system" ;
then { $pb/$app mount -o remount,rw /dev/block/mmcblk0p3 /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-oremount,rw/dev/block/platform/sdhci-tegra.3/by-name/APP/system" ;
then { $pb/$app mount -o remount,rw /dev/block/platform/sdhci-tegra.3/by-name/APP /system/ ;};
elif $pb/$app test "$1$2$3$4$5$6" = "-orw,remount/dev/block/platform/sdhci-tegra.3/by-name/APP/system" ;
then { $pb/$app mount -o remount,rw /dev/block/platform/sdhci-tegra.3/by-name/APP /system/ ;};
else { $pb/$app mount $* ;};
fi;
Ok??
Not meaning to sound like an airhead, but how can I find my CPUID or how to detect the SBK? (don't have a mac, and I really don't want to boot off of a Linux CD) I have googled this, and I get nothing.
Nowonmai said:
Not meaning to sound like an airhead, but how can I find my CPUID or how to detect the SBK? (don't have a mac, and I really don't want to boot off of a Linux CD) I have googled this, and I get nothing.
Click to expand...
Click to collapse
Sure Mac doesn't get quite as much love as it should around here
Download the Android SDK for Mac and you'll find adb in platform-tools. cd to that directory in terminal and (assuming your tablet is rooted with busybox) run:
Code:
. /adb shell su -c "dmesg | grep androidboot.serialno"
Then you'll find printed on the screen a long string. Inside you'll see something like androidboot.serialno=0123456789123456 which is your CPUID
You can now head to http://a500bootloaderflash.tk/sbkcalc/ and generate your SBK
Sent from my A500 using Tapatalk 2
I said I don't have a Mac, and I don't want to boot off of Linux cd. Why would I download SDK for mac? My tablet ISN"T rooted, that's the problem. So even though I already have the SDK tools for Windows, and ran the command. This is what I got
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell su -c "dmesg
| grep androidboot.serialno"
/system/bin/sh: su: not found
Nowonmai said:
I said I don't have a Mac, and I don't want to boot off of Linux cd. Why would I download SDK for mac? My tablet ISN"T rooted, that's the problem. So even though I already have the SDK tools for Windows, and ran the command. This is what I got
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb shell su -c "dmesg
| grep androidboot.serialno"
/system/bin/sh: su: not found
Click to expand...
Click to collapse
su will only exist if you're already rooted and that command requires busybox too - oops stupid me!
Okay in that case your only option looks to be using APX Mode to get your CPUID on Linux. Acer haven't made it easy, eh?!
And oops I misread it as you having a mac ugh dumb me
Sent from my Iconia A500 using Tapatalk 2
Bump
Added edits so it is now clear that this works on new A500 builds too
Sent from my Iconia A500 using Tapatalk 2
Update!
New version - v2 - is up now!
Hopefully this will make this method more mainstream for those with issues with ICS Root
I've fully tested this one too. It's beautiful

[Q] oc kernel, battery drain & full backup

I've rooted my Nook Simple Touch thanks to the advice and instructions xda (thank you all) and after a few days decided to instal the custom kernel (174 modified from the thread in the dev forum).
Battery drain went from moderate to losing about 10/15% per day even when turned off?!?
I made a full backup via nookmanager before rooting. I would like to try uninstalling the oc kernel first but don't know how to pull files from the backup or what files need replacing or deleting.
I'm willing to do a full restore but only as a last resort. Please could someone tell me how to get back to a stock kernel?
Thank you.
chipsugar said:
I've rooted my Nook Simple Touch thanks to the advice and instructions xda (thank you all) and after a few days decided to instal the custom kernel (174 modified from the thread in the dev forum).
Battery drain went from moderate to losing about 10/15% per day even when turned off?!?
Click to expand...
Click to collapse
Are you leaving WiFi enabled? What extra apps have you installed?
I made a full backup via nookmanager before rooting. I would like to try uninstalling the oc kernel first but don't know how to pull files from the backup or what files need replacing or deleting.
Click to expand...
Click to collapse
If you've got a Linux machine somewhere, you can mount the backup image by gunzipping a copy to backup.img and using something like:
Code:
#!/bin/sh
losetup -D
mkdir -p backup
losetup --offset 16384 /dev/loop0 backup.img
losetup --offset 79691776 /dev/loop1 backup.img
losetup --offset 96468992 /dev/loop2 backup.img
losetup --offset 295714816 /dev/loop3 backup.img
losetup --offset 597704704 /dev/loop4 backup.img
losetup --offset 849362944 /dev/loop5 backup.img
losetup --offset 1101021184 /dev/loop6 backup.img
fsck -y /dev/loop5
fsck -y /dev/loop6
cd backup
umount *
mount -o ro -t vfat /dev/loop0 boot
mount -o ro -t vfat /dev/loop1 rom
mount -o ro -t ext2 /dev/loop2 factory
mount -o ro -t ext2 /dev/loop3 system
mount -o ro -t vfat /dev/loop4 sdcard
mount -o ro -t ext3 /dev/loop5 cache
mount -o ro -t ext3 /dev/loop6 data
I'm willing to do a full restore but only as a last resort. Please could someone tell me how to get back to a stock kernel?
Thank you.
Click to expand...
Click to collapse
NookManager only does a full restore. If you do that, the old stock kernel will be restored.

Gentoo Linux base image

Hi everyone. Sorry if this doesn't belong here. I'm not allowed to post in the developers forum and this is my first post.
I am not trying to develop *for* my Galaxy Tab Pro 10.1... I'm trying to develop *ON* it. And Android itself has a very long way to go before it is worth anything as an OS to host a server dev environment. Terminal IDE and AIDE are cute and nice starts. But I need something more. So I installed a specialized Exynos 5240 optimized Gentoo image on mine. Since uboot (or any other open source bootloader) hasn't been deemed officially workable on the Tab Pro, I skipped even going down that road and am just running a chrooted environment with an X server.
I figured I'd upload the base image - it's just essentially a stage3 but with some more mobile dev friendly USE flags.
I started with this image for my custom environment but I figured without the bloat of my particular toolset (other than doc USE flag for case when I'm writing code on a plane and need a reference, which happens often), this might be useful for others.
Disclaimer: If you haven't rooted your Android or set up a chroot somewhere, if not android, this is neither the time nor the place to learn how. But if you got that part all figured out, here's a nice stage3 gentoo image optimized specifically for cortex-a15 processors.
Note that gcc didn't implement support for the cortex-a15.cortex-a7 tuning profile until gcc 4.9 which is still not ready for production on arm so this isn't as optimized as it can be once that happens. Please feel free to borrow this image, rebuild system appropriately tuned (and updated to latest versions) and upload here. I'm sure we'd all appreciate it.
LICENSING INFORMATION
By downloading this, you agree to
dubdubdub oracle com (technetwork/java/javase/terms/license/index.html)
I know the link is painful but read the license and complain about the inconvenience to the mods ... no parenthesis
Because the image includes the Oracle JDK since IcedTea can't do hardware float ABI on ARM
DOWNLOAD LINK: dubdubdub filedropper com (gentoo-cortex-a15imgtar)
(Sorry - can't post external links so copy and paste then fix without parens)
Thank you!
P.S. here's my little hacked together chroot launch script which I can only really execute by sourcing rather than executing. It's not a prod script but it works for my case. Gentoo is the directory inside the one that contains the script and is the root of the Gentoo chroot system.
Code:
#!/bin/sh
export PATH=/system/xbin:/system/bin:/system/sbin:$PATH
if [ ! -d Gentoo/usr/ ]; then
mount -t ext4 -o noatime,rw,seclabel /dev/block/mmcblk1p2 ./Gentoo
swapon /dev/block/mmcblk1p3
mount -t proc proc Gentoo/proc
busybox mount --bind /dev Gentoo/dev
mount -t devpts devpts Gentoo/dev/pts
ln -s /proc/self/fd Gentoo/dev/fd
mount -t sysfs sysfs Gentoo/sys
mount -t tmpfs tmpfs Gentoo/dev/shm
busybox mount --bind /sys/fs/selinux Gentoo/sys/fs/selinux
busybox mount --bind /storage/sdcard0 Gentoo/mnt/storage/sdcard0
busybox mount --bind /storage/extSdCard Gentoo/mnt/storage/extSdCard
busybox mount --bind /data Gentoo/mnt/data
busybox sysctl -w net.ipv4.ip_forward=1
fi
cp /etc/resolv.conf Gentoo/etc/resolv.conf
chmod 644 Gentoo/etc/resolv.conf
chroot Gentoo /bin/bash --login
umount Gentoo/mnt/data
umount Gentoo/mnt/storage/extSdCard
umount Gentoo/mnt/storage/sdcard0
umount Gentoo/sys/fs/selinux
umount Gentoo/sys
umount Gentoo/dev/shm
umount Gentoo/dev/pts
umount Gentoo/dev
umount Gentoo/proc
swapoff /dev/block/mmcblk1p3
umount Gentoo

Categories

Resources