[Q] How to mount R/W in... - Huawei Ideos X5 U8800

Hi I have a little question to make, and I haven't find anything about it...
My cellphone has root and i'm able to mount R/W in a most folders with root explorer, but I can't mount R/W in "cust" folder. Inside is a folder called "entel" and there are the modified boot animations and stuff.
There is the Swype.apk too, but it hasn't any dictionaries and I'm not able to install them too (I don't know why)... So when I try to change the apk for another one, i can't mount R/W.
And when i try to install normally i can't.
Is there a way to mount r/w in that folder or change the swype?

Why you don't just copy the files you need on another folder on sdcard and try to manipulated there?
Also this folder sould be in /cust_backup/custom_data. Did you tried from there?

I try to manipulate them in another place but then I can't replace the new files...
And i don't know why... but the folder is "cust", i know there is another one ".cust_backup" but inside is only the image folder with amss.mbn, boot.img, cust.img, emmcboot.mbn and recovery.img.
My cust folder includes a lot of subfolders, first one called "entel", then another subfolder "cl" and then i have folder called "app" (inside is only the Swype.apk"), lib, logo, media, nv, ons, prop, wallpaper and xml.
I Can't mount R/W in any of the cust folders, but I can do it in ".cust_backup"
:S

I don't know If you can mount this folder as rw.
Try to open command prompt on pc(and give the command adb shell) or a terminal emulator(in this case give the command su to take root rights)
and then give the command
cat/proc/mounts
to see which partitions have and where they mounted
Then, if the custom partition exist give the command
mount -o rw,remount /dev/block/
followed with the mmc...(something that I dont rember) number of partition
e.g mount -o rw,remount /dev/block/mmwhateveris12
to mount it.

It didn't worked...
What if change something in the apk to make the system think that isn't swype?

Related

[recovery hack] How to get back recovery 2e

Helo
I found a way to return to the recovery 2e
recovery 2e
Copying a file using the Root Explorer
# unzip and put archive contents in a folder called recovery2e on /sdcard/
# first mount -o remount,rw /system (important options in Root Explorer for do this)
# file recovery copy to /system/bin (and replace)
# xbi folder contents copy to /system/xbin/ (and replace)
Click to expand...
Click to collapse
Method by captive thanks buddy
# put archive contents in a folder called recovery2e on /sdcard/
# open a shell and get root (ADB or Terminal on Phone, type su and pres enter / accept )
# remount /system rw (busybox mount -o remount,rw /system)
# rename recovery in /system/bin to recovery3e (for backup purposes)
# copy "recovery" from /sdcard/recovery2e/ to /system/bin/ (cp /sdcard/recovery2e/recovery /system/bin/)
# copy the folder /sdcard/recovery2e/xbin/recovery to /system/xbin/ (cp -rr /sdcard/recovery2e/xbin/recovery /system/xbin/)
# enjoy!
Click to expand...
Click to collapse
Restart your phone
Isn't anyone going to comment on this?
Gurus: does it really work? That simple?
Thanks
Didn't work for me - used root explorer method. Now just hangs when I try to get recovery mode. Can get download mode ok still, and phone boots ok of course. Running JPM with root and voodoo5 3. Anything else to try?
Does not work on JPM....
it no works.
Phone: Doc's JP6 + voodoo pre3 + rooted
Method: Root explorer.
1, during copy the xbin folder to system, it shows "replace files" but after i check inside the system/xbin, the files are disappared??!! I did manually copy everything one after one from xbin to system/xbin, but i can't see where they are after copy.
2, anyway, i reboot the phone with 3b combo, the recovery mode still showing 3e.
so i say it no works. anyone tried the cable methed?
this thing work but it needs a little workaround as discussed by danzel. follow here: http://forum.xda-developers.com/showthread.php?t=774500&page=188
Could you please update the instruction for jp6 + voodoo pre4?
abd remount (don't know why) isn't working and /system is always ro so adb push and shell (adb shell works) cmd aren't working.
It is correct to remove su and busybox int the extracted folder since i have both already installed?
I was on JPM, followed the instructions.
Phone couldn't boot, lost ability to enter recovery. Luckily I could still enter Download mode, flashed to JPM, but being on voodoo kernel before that, didn't managed to disable lagfix before getting into this trouble - Couldn't revert back to RFS, and without ability to enter recovery to format.
Finally reverted back to Eclair firmware, could see my beloved recovery again. No way I'm going through the above again.
The above is just my own experience, for reference just in case someone is as unlucky as me.
This is the clear step on recovering the recovery2e
Recover recovery2 e
1. uncompress the downloaded file recovery 2e and copy the direcotry to sdcard and rename it to recovery2e
2. Using root explorer copy File recovery from recovery2e on sdcard to /system/bin
3. Using root explorer copy Folder recovery in xbin to /system/xbin
4. If did not work try copy xbin folder over /system/xbin folder
Ok, confirmed working for me on JPM+Voodoo.
I installed Rom Manager too, and CWM Recovery is fully working too!! TNX
xtrememorph said:
This is the clear step on recovering the recovery2e
Recover recovery2 e
1. uncompress the downloaded file recovery 2e and copy the direcotry to sdcard and rename it to recovery2e
2. Using root explorer copy File recovery from recovery2e on sdcard to /system/bin
3. Using root explorer Folder recovery in xbin to /system/xbin
Click to expand...
Click to collapse
Your method DO NOT work at all. I cannot enter recovery mode.
Fortunately download mode is still available.
JPM+Voodoo5 pre6
lagigia, what didn't work for you?
Here's what I did:
put archive contents in a folder called recovery2e on /sdcard/
open a shell and get root
remount /system rw (busybox mount -o remount,rw /system)
rename recovery in /system/bin to recovery3e (for backup purposes)
copy "recovery" from /sdcard/recovery2e/ to /system/bin/ (cp /sdcard/recovery2e/recovery /system/bin/)
copy the folder /sdcard/recovery2e/xbin/recovery to /system/xbin/ (cp -rr /sdcard/recovery2e/xbin/recovery /system/xbin/)
enjoy!
if using the root explorer method, copy xbin folder content, do not try to overwrite the entire dir on top.
mike.sw said:
if using the root explorer method, copy xbin folder content, do not try to overwrite the entire dir on top.
Click to expand...
Click to collapse
too late is there a way to solve it or get a step back?
thx!
i think u can just flash only the old kernel back and it will be fixed (only zimage).
captive said:
lagigia, what didn't work for you?
Here's what I did:
put archive contents in a folder called recovery2e on /sdcard/
open a shell and get root
remount /system rw (busybox mount -o remount,rw /system)
rename recovery in /system/bin to recovery3e (for backup purposes)
copy "recovery" from /sdcard/recovery2e/ to /system/bin/ (cp /sdcard/recovery2e/recovery /system/bin/)
copy the folder /sdcard/recovery2e/xbin/recovery to /system/xbin/ (cp -rr /sdcard/recovery2e/xbin/recovery /system/xbin/)
enjoy!
Click to expand...
Click to collapse
Thanks, works fine on JPM/JP6
Could we get a newbie friendly guide please. Get root. What does that mean and should i just type what you quoted. Thanks
Sent from my GT-I9000 using XDA App
Edited the first post and put the new, easy tutorial
Could i get some background on this, please?
Is it correct that:
1) recovery2e is the default samsung recovery?
2) new versions of recovery2e can't apply all the update.zip we were able to apply with the older versions? (unsigned, signed??)
3) This is why we need the old recovery2e to replace the new one?
4) Where did the issue started? Since Froyo releases?
5) Is this why we can't root Froyo FWs with an update.zip anymore like it was the case with Eclair?
I'm really sorry if this is kinda obvious but i never really saw any clear explanation about this. Hope someone could clear it up for me
1) Yes
2) Correct on recovery 2e you can't apply all the update.zip
4) Yes, New tutorial on fist post
4) The JPM ROM brings new recovery 3e
5) You can root phone by flash kernel with root by odni

Removing unneeded stock apps and installing Swype for your own language

This is only for B528 + Atmel Fix installed U8800
Root required.
Download this file. That rar archive contains modified boot.img
http://www.karakazan.com/dosya/ufukyayla/b528_boot.rar (It's my own domain, and it's safe)
Extract rar and copy the boot.img to your sdcard.
Copy that file to "/.cust_backup/image" folder and replace orginal boot.img.
---------------------------------
Skip if you know how to replace boot.img
1. Install "Es File Explorer"
2. Es File Explorer > Setting > File Settings > Check "Show Hidden Files"
3. Exit "Es File Explorer"
4. Install "Remount" (Stephen Stericson) from market.
5. Run "Remount"
6. Select "/.cust_backup"
7. Select "rw"
8. Click "REMOUNT"
9. Run "Es File Explorer"
10. Go "/.cust_backup/image" folder and backup orginal "boot.img" to sdcard.
11. Copy downloaded "boot.img" to "/.cust_backup/image" folder
---------------------------------
Restart
Now, you have read/write right to cust folder.
You can remove stock apps in "/cust/hw/default/app" folder.
If do you want to install swype (for your own language);
1. Just delete "/cust/hw/default/app/Swype_U8800_euro.apk"
2. Install a kind of swype what you want.
Thanks, but what have you changed/deleted?
EDIT: Sorry, my bad, I read it wrong.. You have modified the boot.img so we can remove the apps we don't want Shame on me!
I just modified two lines in init.rc (ro --> rw)
mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
mount ext3 [email protected]_backup/image/cust.img /cust ro
to
mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
mount ext3 [email protected]_backup/image/cust.img /cust rw
ufukyayla said:
I just modify two line in init.rc. (ro --> rw)
mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
mount ext3 [email protected]_backup/image/cust.img /cust ro
to
mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
mount ext3 [email protected]_backup/image/cust.img /cust rw
Click to expand...
Click to collapse
Thanks once again.
I'm planing to use the official b528 + atmel fix for a couple of days, then I'll test it!
Regards
Well, working flawlessly!!!
Thanks, pal!
This is just what I was looking for thanks op
Link verified.

Copying folder to another in zip packages

Hi,
I want to create an updater-script file that copies /sdcard/data to /data,
How can i do this? dd and cp commands say 'cannot find /sdcard/data/*: no such file or directory'
I don't want to integrate files in the zip package
Is there a way or a command to do that?
I searched on the web, but seems i cannot a working solution, maybe you can anwser
Well your query is wrong.updater-script is for flashable zips and in your case you don't want to integrate the files in the zip right?
Try using this command via terminal :
#cp ~/sdcard/data/*your data /data
what are you trying to do?? o_0
files in sdcards have ownership system:sdcard_rw and permissions something like ----rwx-r-x
to copy files with cp to /data.. you need to be root on terminal/adb shell
the copy will change ownership to root:root while keeping permissions intact...
with such odd permissions and ownership for files in /data .. you are looking at a bootloop..
you'd have to fix permissions for each and every thing incase you really need to copy it
can you tell what are you trying to copy.. and what's in /sdcard/data :|
Hi, sorry for my late reply
I will try that command and post result, :good:
It worked, thanks

[Guide] How to modify yourself system.img partition

Hi
in this thread i want to explain to everyone who want to modify (debloat, add app) to your system.img partition
First is necesary to:
-backup original system.img from your phone (make a copy to your hddpc, dvd, usb stick, disketes ... etc ... lool .. joking)
-injecting root to your system.img
this steps are explained here: http://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586
NOW: before copy and write the new rootedsystem.img image to your phone if you want to debloat or adding new app do this in your linux machine:
- mount again your new generated rootedsystem.img image
Code:
mount -o loop,rw -t ext4 rootedsystem.img operatingtable/
now browse mounted folder (operatingtable) and delete what you want from app or app-priv folder
if you want to delete startup phone sound delete from /media/audio/ui poweron.ogg and poweroff.ogg
in same mather you can add new app to app or app-priv folder but is necesary to chmod folders and files like this:
for new directories: chmod 0755 operatingtable/app/app-directory
for new files: chmod 0644 operatingtable/app/app-directory/app.apk
when you finish do this
Code:
umount operatingtable
and now you can copy and write to your phone rootedsystem.img image
as explained here: http://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586
PS: Of course this debloating could do directly from your phone after gained root with files managers ... but i think this method is easier.
PS2: If you debloated some apps (gapps ) ... Is necesary to restore factory settings because some updated apps are in /data/app folder ... or you can delete from there to.
Enjoy.
Is there a way to browse and edit an unrooted image? Does it have to be rooted to mount, browse and edit files? I'm asking because I am trying to edit build.prop only and I'm getting an error that says I'm not the owner. I copied the first command you posted, but I wasn't able to open the img. I had to drag the file into the terminal after the "ext4" to open the file, but I don't know what to do from there.
Sorry I"m a noob on linux
Hi, hope you're still active with this thread. I have a copy of system.img and I want to change a certain .apk inside /app. It is already mounted but when i try to chmod it says something like "changing permission is not permitted". Do you know how to fix this? Thanks!
aoprea said:
Hi
in this thread i want to explain to everyone who want to modify (debloat, add app) to your system.img partition
First is necesary to:
-backup original system.img from your phone (make a copy to your hddpc, dvd, usb stick, disketes ... etc ... lool .. joking)
-injecting root to your system.img
this steps are explained here: http://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586
NOW: before copy and write the new rootedsystem.img image to your phone if you want to debloat or adding new app do this in your linux machine:
- mount again your new generated rootedsystem.img image
Code:
mount -o loop,rw -t ext4 rootedsystem.img operatingtable/
now browse mounted folder (operatingtable) and delete what you want from app or app-priv folder
if you want to delete startup phone sound delete from /media/audio/ui poweron.ogg and poweroff.ogg
in same mather you can add new app to app or app-priv folder but is necesary to chmod folders and files like this:
for new directories: chmod 0755 operatingtable/app/app-directory
for new files: chmod 0644 operatingtable/app/app-directory/app.apk
when you finish do this
Code:
umount operatingtable
and now you can copy and write to your phone rootedsystem.img image
as explained here: http://forum.xda-developers.com/g4/general/lg-g4-100-root-success-directives-root-t3180586
PS: Of course this debloating could do directly from your phone after gained root with files managers ... but i think this method is easier.
PS2: If you debloated some apps (gapps ) ... Is necesary to restore factory settings because some updated apps are in /data/app folder ... or you can delete from there to.
Enjoy.
Click to expand...
Click to collapse
Can i do this thing with xiaomi mi 5.

Can't mount RW on rooted, unlocked, TWRP, 7.1.1 Axon 7

Before posting, I searched the forum but could not find this discussed. As the title indicates, I am trying to add a file to /system/media/audio/notifications (or /ringtones, or even trying to rename a file in these folders) using Root Explorer but the folder is RO and will not mount RW. I tried other apps to mount the folder and also tried adb command line, but all failed. I noticed that some of the folders in root are RW but it seems that "system" folders are not. Would appreciate any help I can get.
TheBoozer said:
Before posting, I searched the forum but could not find this discussed. As the title indicates, I am trying to add a file to /system/media/audio/notifications (or /ringtones, or even trying to rename a file in these folders) using Root Explorer but the folder is RO and will not mount RW. I tried other apps to mount the folder and also tried adb command line, but all failed. I noticed that some of the folders in root are RW but it seems that "system" folders are not. Would appreciate any help I can get.
Click to expand...
Click to collapse
After spending more time researching this issue, I found the following solution which I tested on my rooted 7.1.1 Axon 7 (unlocked, TWRP). After executing the command listed below using adb shell, I was able to mount RW and write to /system/media .....
To allow /system be r/w :
adb reboot disemmcwp
And to revert it back :
adb reboot emmcwpenab
All credit goes to http://androidforums.com/threads/zt...ax-and-other-zte-phones.1040331/#post-7317521

Categories

Resources