[Q] how to make writable external sd on kitkat? (yes again) - HTC Desire 601

hi Everyone,
I'm sticked with the common issue of how to make writable the external SD.
I've read topics on the forum:
http://forum.xda-developers.com/desire-601/help/how-to-writable-external-sd-kitkat-t2877686
http://forum.xda-developers.com/desire-601/help/sd-card-permissions-off-t2833195
http://forum.xda-developers.com/showthread.php?t=2687734
Well ok, but I'm a noob so sometimes it's not clear, sometimes it's not working for me.
So let's explain:
- My device is rooted (it was made by a tech using TWRP if I'm right)
- SuperSU is installed
1/ I tried some apps like SDfix and Int-SDCard Write fix
> Result = KO
2/ I tried to manually modify the platform.xml file > sometimes the editor does not want to save the modification, sometimes it says OK but the file don't seem to be modified (the last modification date is still 2014). Permissions are: rw-r--r--
a. Using Rom Toolbox, I go the file and edit it with:
-FX TextEdit > Get a Warning = "This file is on read-only filesystem. You will not be able to save any changes unless you first remount it as read/write'
> Result = KO
- RB Text Editor: it seems i can edit it. Save the file without warning message 'Saved'. But once back on the /system/etc/permissions folder, nothing looks modified (not today's date). I can reopen the file and see the modification by the way. But once I reboot, I go back the my original issue.
> Result = KO
- ES Text editor: can't even save the file
> Result = KO
So what ?
I've seen this message coming along:
"if you are rooted then you doing something wrong (did you maybe forgot to mount system as R/W ?).
If you are unable to do modify platform.xml then you doing something wrong or yours device isnt rooted."
> At what moment is it possible to mount the system with R/W grants ?
I'm fed up with not being able to write on SD card....................
Thx in advance !!!!!

Opening a terminal on my phone:
- i can't 'cp file1.xml file2.xml' in /system/etc/permissions
- i can't 'chmod 644 file1.xml'
Each I get "Read-only file system"

Flash your stock kernel with insertcoin or kofilakernel

Related

[Q] SDcards internal and external are read only, can't write to it anymore

This worked (re-enabled writing to sdcard2) for me on my Sony Tablet SGPT112USS updated and rooted ICS 4.0.3. I used ROM Toolbox app to mount the file system as rw, used a text editor to make the change to platform.xml, then used ROM Toolbox to mount the file system back to ro. Hope this helps. Found this on the web. Thanks to the original poster (forgot their handle).
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart your tablet.
After editing platform.xml file my both sdcards are not writable anymore...looking for some help on this
Your changes made the platform.xml file invalid and thus unusable causing more errors ont he way. Check it with XML parser for errors (loading it in browser like firefox or chrome, which supports xml will do) - the couse will be probably something trivial like using wrong quote characters or unclosed xml tag.

[FREE MOBILE][FreeWifi_secure][WIFI][EAP-SIM] HOWTO

Hi,
In France, the 4th Mobile Operator, FREE, is launching a wifi access for mobile phone. This access is relayed by all the Adsl Box from FREE ADSL.
The SSID of this Wifi Access is "FreeWifi_secure" and it is protect by WPA EAP-SIM.
FREE is solding some android phones with the ability to configure EAP-SIM but they do not share the changes they made it on their Roms.
I use an EVO 3D GSM with KingIceCobra3D 1.2. And i found a simple method to connect to this wifi.
In the file:
/data/misc/wifi/wpa_supplicant.conf
Code:
adb shell cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
update_config=1
device_type=10-0050F204-4
config_methods="push_button keypad"
[COLOR="Red"]network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=5
}
[/COLOR]
Add theses Lines in red
Carefull to preserve the rigths of this file after the modification
1) Get the File and rename it to wpa_supplicant.conf
2)
Code:
adp push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
adb shell chown 1000:1010 /data/misc/wifi/wpa_supplicant.conf
adb shell chmod 660 /data/misc/wifi/wpa_supplicant.conf
adb shell ls -l /data/misc/wifi/wpa_supplicant.conf
-rw-rw---- 1 1000 1010 272 May 17 09:10 /data/misc/wifi/wpa_supplicant.conf
adb shell cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
update_config=1
device_type=10-0050F204-4
config_methods="push_button keypad"
network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
priority=5
}
FXJumper.
Just checked on mwakious3Drom 4.0 ... works great
remerciements?
tuxstang said:
Just checked on mwakious3Drom 4.0 ... works great
Click to expand...
Click to collapse
I would like +1 on my "thank meter" and you will my first fan ;-)
merci,
fx
Hi Fxjumper,
I'm really interesting in your solution.
I don't find data/misc ...
Can I create it or have I to use a specific file manager.
I have tried with "file manager" and "file expert"
Thanks for your help
Optimus 2X - CM7 Temasek Kang -104
mgl2 said:
Hi Fxjumper,
I'm really interesting in your solution.
I don't find data/misc ...
Can I create it or have I to use a specific file manager.
I have tried with "file manager" and "file expert"
Thanks for your help
Optimus 2X - CM7 Temasek Kang -104
Click to expand...
Click to collapse
Use a root file browser. Root Explorer. Also, be sure to mount it as RW (advanced options)
Thank u for your help.
a) All right : I put the wpa_supplicant.conf into my phone but now i can't activate wifi due to an error
b) what the second code is for ? (what have i to do with this code ?)
thx
Edit : a) it's Ok now after editing the file : i don't have to replace the initial text but to add the red text from fxjumper (i'm an idiot cause that's what he said )
The B) point isn't resolve : what is the code for and when have i to put it inside ?
Hello,
The second code is an example to install the wpa_supplicant.conf file. This replaces your ssid configured.
Your solution is preferable, because you do not remove your existing configuration but add the SSID "FreeWifi_secure".
Sincerely,
fxjumper said:
Hello,
The second code is an example to install the wpa_supplicant.conf file. This replaces your ssid configured.
Your solution is preferable, because you do not remove your existing configuration but add the SSID "FreeWifi_secure".
Sincerely,
Click to expand...
Click to collapse
It works for you????
I did it and it can t connect to the network but it s trying now...
Any idea?
Precisions
(Google traduction --- sorry)
After a few questions in Private Message, here is a method from a blank file and edit it.
i) file format (dos or unix encode)
ii) to file permissions
This is how I propose to proceed
1) recovering the file on the computer
2) we change
3) upload it on the mobile
4) we check the consistency of the file (right)
------------------------
It is left
------------------------
1) I assume the phone is Rooted
we will save the file wpa_supplicant.conf that derail and recreate one:
Code:
adb shell
cd /data/misc/wifi
cp-a wpa_supplicant.conf wpa_supplicant.conf.sav
rm wpa_supplicant.conf
exit
Switch OFF/ON the wifi
Copy the file on the computer
pull adb shell /data/misc/wifi/wpa_supplicant.conf wpa_supplicant.conf
2) To modify the file I suggest you use notepad++
http://download.tuxfamily.org/notepa....Installer.exe
Edit the file, and add at the end
network = {
ssid = "FreeWifi_secure"
key_mgmt = WPA-EAP IEEE8021X
eap = SIM
priority = 5
}
save
3) is the upload
Code:
adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf.new
4) It checks the credentials and the owner and the old file
Code:
adb shell
cd /data/misc/wifi/
ls -l wpa_supplicant.conf
----> -rw-rw ---- 1 1000 1010 185 May 20 5:31 p.m. wpa_supplicant.conf
We crush our file
Code:
cat wpa_supplicant.conf.new > wpa_supplicant.conf
This should solve our problem of right and permissions
we check again:
Code:
ls -l wpa_supplicant.conf
----> -rw-rw ---- 1 1000 1010 185 May 20 5:31 p.m. wpa_supplicant.conf
Sincerely,
Another way, as we most use a custom rooted rom, is to use a rooted filemanager.
For exemple, i use ES File Explorer, set so it accesses /data RW, then edit the file with ES's editor. No need to set back file's permissions.
tuxstang said:
Another way, as we most use a custom rooted rom, is to use a rooted filemanager.
For exemple, i use ES File Explorer, set so it accesses /data RW, then edit the file with ES's editor. No need to set back file's permissions.
Click to expand...
Click to collapse
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
B_e_n said:
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
Click to expand...
Click to collapse
Hello B_E_N,
In private message, you said you are using a motorola milestone xt720 under cronosx 2.3.7, a cyanogen mod 7 customized.
Now i sent you a patch with /system/framework/com.orange.authentication.simcard.jar
We are waiting your test ...
Sincerely,
CM9 nightlies + SGS
Hello,
I just tried this modification, but cannot find a way to make it work...even though I doublecheck both the permission and the content of the file
For information, I'm running CM9 nightlies for my Samsung Galaxy S.
Until now it doesn't work for me ... even with rom toolbox. Permissions and owners are checked and ok.
Next try : via adb & androisd sdk.
o2x - cm7 - FREE
One more thing : no more error message but wifi try to connect without result ...
o2x - cm7 - FREE
B_e_n said:
And it works for you??????
I did it and it can t connect....
Who have it working?????? and what did you do????
Click to expand...
Click to collapse
Here's how i proceede from ground up on my EVO 3D, with Mwakious, Predator and KingCobra ICS roms.
1/ go in settings and select FreeWifi_secure
2/ set a lock PIN as requested
3/ switch off WiFi
4/ open ES File Explorer
5/ check "Up to Root", "Root Explorer" and "Mount FileSystem" in ES File Explorer settings
6/ navigate to /data/misc/wifi
7/ edit wpa_supplicant.conf
8/ save
9/ switch on WiFi and select FreeWifi_secure
10/ unset lock PIN
Hope it helps.
it was that easy?????
should work on all rooted phone so
works like a charm on my evo
Don't work with my phone...
How do you change owners parameters with ES explorer ?
Regards.
o2x - cm7 - FREE
Hi,
maybe you can use an alternate method on post #11 in
http://forum.xda-developers.com/showthread.php?t=1639437&page=2
what's your phone by the way ?
I'm using CM7.2 on a Nexus One.
I edited the file with ES Explorer, saved, activated wifi...
But doesn't work... It tries to connect but fails.

[GUIDE] How to make a custom android rom with DragonFace.

Whats sup guys?I been using dragonface to make custom roms for my android device.So i decided to make a guide showing you how to make your own.Enjoy.Make sure to thank me! alright lets get started
Basic Requirements: - Dragonface V2.2.0 V2.2.3 (download here in this Forum)
- Dragonface Tutorial, and knowledge of the basic functions (download here in this tut)
- Windows Explorer
- Notepad++ (http://notepad-plus-plus.org/download/v6.6.9.html)
- ROM you want to modify
- Phoiexcard
If additional tools are requiered, they are mentioned in the regarding Instruction.
Common Steps for all modifications: STEP 1: extract your ROM (*.img) with Dragonface
STEP 2: change to Windows Explorer
ATTENTION: don't shut down DragonFace or copy the needed directories and
files some where else if you want to work "offline" (Directories: CPFOP, fsop -
Files: sysconfig.lhs), because DragonFace erases everything while shuting
down
STEP 3: Save the modified ROM with Dragonface
ATTENTION: If you worked "offline", do first Step 1, and then replace the
created Directories/Files with your modified
STEP 4: Flash your ROM (.img) with the Onda Suite
So let`s start.
PS.: If you try your own modification, it would be good to make only one after the other, and test between two modification. This makes it easier to solve problems when it´s not working like you except it, because you know what causes the problem.
HowTo - Increase the available space for your Apps (Firmware V1.0.0 - V2.1.3 all Versions)
1. You have done Step 1&2 in the first post
2. Now navigate to the following directory with the Windows Explorer ( must be set to show hidden Files/Directories!)
c:/User/..your Username../AppData/Local/Temp
3. Find the file sysconfig.lhs
4. Open it with Notepad++
5. Navigate to the following:
;------------------------------>mmcblk0p8/nande
[partition]
name = data
size = 4194304
user_type = 0x8000
6. Now change the value of size to the space you want
The current value of 4194304 stands for 2GB, that means you have to multiply 2097152 by the amount of GB you want to have for your Apps
for example: 6GB = 12582912
7. Save sysconfig.lhs
8. Save .img in Dragonface
9. Flash your ROM - Done!
Her is a link to a video tutorial (in chinese): http://v.youku.com/v_show/id_XODEzODEwNzQ4.html&usg=ALkJrhhE_ACHQznY8ibrYYK7wMCYzcWCJg
Since the test version of Android 5, there is no seperat app partition in the firmware anymore.
HowTo - PreRoot your ROM (Firmware V1.0.0 - V2.0.2 all Versions)
1. You have done Step 1&2 in the first post
2. Now navigate to the following directory with the Windows Explorer
.../Dragonface_2.2.0/CPFOP/bootfs/skel
3. Find the file init.rc
4. Open it with Notepad++
5. Insert after Line 293:
su root
chown root root /system/app/superuser.apk
chown root root /system/xbin/su
chown root root /system/xbin/daemonsu
chown root root /system/bin/.ext/.su
chown root root /system/etc/.installed_su_daemon
chown root root /system/etc/install-recovery.sh
chown root root /system/etc/init.d/99SuperSUDaemon
chmod 6755 /system/xbin/su
chmod 6755 /system/xbin/daemonsu
chmod 0777 /system/bin/.ext
chmod 6755 /system/bin/.ext/.su
chmod 0644 /system/etc/.installed_su_daemon
chmod 0755 /system/etc/install-recovery.sh
chmod 0755 /system/etc/init.d
chmod 0755 /system/etc/init.d/99SuperSUDaemon
chmod 0644 /system/app/superuser.apk
chmod 0755 /system/xbin/busybox
6. Save init.rc
7. Now navigate to the following directory with the Windows Explorer
.../Dragonface_2.2.0/fsop/system
8. create the directories and place or replace the needed files if not already present (check filesize, paths and files see
Step 5)
Download needed files here: https://mega.co.nz/#!XU5EFaBK!9ZFnDrzJnlGWoMOISkzQ-dczBKUB6cM8O3aswEjI2IY
Attention: Windows Explorer is not able to create the directory /system/bin/.ext, because it doesn't like the
leading dot.
So open "Command Prompt" and type mkdir .ext to create the directory (navigate before to ..system/bin)
9. Save .img in Dragonface
10. Flash your ROM - Done!
HowTo - PreRoot your ROM (Firmware V2.1.0 - V2.1.3 all Versions)
Step 1 - 10 are the same, only change:
Step 5:
chmod 0755 /sbin/busybox (Instead of: chmod 0755 /xbin/busybox)
Important: If you reopen a prerooted ROM with Dragonface, you have to recreate the .ext folder again and place .su again in it. During the extracting the .ext folder disappears due the restrictions of Windows. Saving without recreating breaks the prerooting!
HowTo - Theming your system:
The following instructions are made for the new V2.1 Firmware and should work with all Versions.
Indroduction: now we start modifying existing APPs. In the first step there are HowTo´s which can be easy done without using any app tools. The simple reason for that is, as long as we don´t take away or add graphics inside an app, and only modify them, for Android everything is fine. When we start to add or remove files inside the app or we want to change the behaviour of an app or add Features, for example in the Settings menu, we will need to de- and recompile and sign the app, ortherwise it won´t work. But this will come later.
Change the default Wallpaper:
additional needed programs: WinRAR
1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer
2. Rename the Wallpaper to default_wallpaper.jpg
3. Do the steps 1&2 in the first Post
4. Navigate to fsop/system/framework and find: framework-res.apk
5. Open it with WinRar and navigate to the folder drawable-nodpi
6. Now insert your Wallpaper with drag´n drop
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
7. Close WinRAR and you are done!
8. Save .img in Dragonface
9. Flash your ROM - Done!
Change the Wallpaper on the LockScreen (Firmware V2.1.0 - V2.1.3 all Versions)
additional needed programs: WinRAR
1. First find a Wallpaper you like with a Resolution of 2048*2048 and .jpg format, and save it to your computer
2. Rename the Wallpaper to wallpaper_03.jpg
3. Do the steps 1&2 in the first Post
4. Navigate to fsop/system/priv-app and find: JuiKeyguard.apk
Alternativ, on a running system, copy JuiKeyguard.apk to your PC, make the changes descriped in the next
steps and copy the modified apk back to the tablet. Don't forget to set the right permissions for the apk.
5. Open it with WinRar and navigate to the folder drawable-nodpi
6. Now insert your Wallpaper with drag´n drop
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
7. Close WinRAR and you are done!
8. Save .img in Dragonface
9. Flash your ROM - Done!
When you chance the Lockscreen Wallpaper direct on the tablet (already running system), wipe the Dalvik Cache, otherwise the Wallpaper won't change.
Change the icons in the Statusbar
additional needed programs: WinRAR
Paint.net (optional)
1. Do the steps 1&2 in the first Post
2. Navigate to fsop/system/priv-app and find: JuiSystemUI.apk
3. Open it with WinRar and navigate to the folder drawable-xhdpi
4. Look for the icons you want to change and notice the resolution
Optional: you can edit the icons by using Paint.net
5. Replace the icons you want with drag´n drop or replace the icon with an already existing in the folder (make a duplicate and rename the duplicate to the correct filename)
THEY SHOULD HAVE THE SAME RESOLUTION AND MUST BE IN .PNG FORMAT!
DON`T ADD OR REMOVE ICONS, ONLY REPLACE THEM USING THE CORRCT FILENAME - OTHERWISE YOU
CORRUPT THE APP
IF YOU WANT TO ADD OR DELETE ICONS OR ADD NEW FEATURES YOU HAVE TO DE- AND RECOMPILE IT
Attention: There is now a Window popping up and asks you what to do. Choose under "COMPRESSION
METHOD" on the left side the option "SAVE".
When you look on WinRar you see that the pictures aren´t compressed, so just leave them
uncompressed.
6. Close WinRAR and you are done!
7. Save .img in Dragonface
8. Flash your ROM - Done!
Enjoys and press Thanks!!!!!!!!!!!!!!!!!
Dragonface software
Hello,
Are there any guides/tutorials for the Dragonface software in english anywhere please? I have googled but they are in Chinese or some other other language. Something for Dragonface v2.2.5 would be appreciated.
Thank you.
trustytrev.
Sir this is tutorial for dragonface in english
more space for apps in V989 v1
Hello,
firmware
989 Air Core8 v1.0.6_v2.img
onda v989 v1
I use dragonface to add space for apps. then i use phoenixsuite to apply img file modified... but it no works!
i need to back 989 Air Core8 v1.0.6_v2.img
this table have 2Gb for apps 2gb RAM and 32Gb more...
heeelp please
Devmountsu77 said:
Sir this is tutorial for dragonface in english
Click to expand...
Click to collapse
Hello,
Sorry I was meaning how to video tutorials of using the dragonface software in english.
I have now found something that was suitable for me as a complete novice.
Thank you.
trustytrev.
A83T
I have tried using Dragon Face for A83T image file. But looks like I am stuck.
The Software does unpacking properly. But during packing image, I am not sure what goes wrong, the initial Green Progress bar of Flashing Firmware also does not show up in the device.
I have in fact tried - unpacking stock firmware and packing the firmware without making any changes to the Image.
It fails!
Any help will be greatly appreciated.
bumping this old thread trying to root this POS irulu tablet I got the firmware image rooted and resaved
flash it but it hangs at the pre-boot splash
edit: I am pretty sure its either a int.rc or su binary problem, if I flash just the stock boot/env it boots
so there is something in the init.rc it doesn't like
here is my init rc
https://pastebin.com/NwZ9ntEB
after hours of monkeying about with it I am pretty sure its a issue with dragonface
any attempt to modify int scripts results in it hanging on splash, possibly some form of boot image checking
I can modify system all day long but I can't touch the boot partition
I don't have the capability to build a generic twrp image for the A33 so I can't even get to a decent recovery
Bringing this thread back to life, is there a way to set the default launcher through file manipulation (as with the above tutorial) rather than with ADB or in the Android Settings app? I've been searching, but haven't found any good information.
Edit: Nevermind, it was an issue with the default launcher and possibly pheonixcard. Got it resolved

access problem to files

Hi.
I have a problem.
i can see my files in this path : /data/media/0/android/obb ( i have read and Write access)
but i cant see any files in this path : /storage/emulated/0/android/obb . it is empty and i can't write any thing on it.
how can i fix it?
Android is able to mount a single partition into multiple point in system (which represented in folder).
As in each folder, a user and an application have a different permissions regarding any execution against the folder.
Thus, the difference that you're experiencing. To solve this is to set the permission of both folder in the same way.
To set the permissions, your phone have to be rooted and using an application that could change folder/file permissions.

After set chmod 644 system-app error

I had to make some changes to system-apps, I have a lot of problems with them.
What I have tried after the error: App stopped: I have copied z. B. SystemUI.apk (not changed) only from the phone to my laptop (Windows 7) and back to the phone and then I get the error: SystemUI stopped (I use Lineage OS on motorola g4)
I did it as described here: https://forum.xda-developers.com/showthread.php?t=1466183
(You put the file in /system/ so it IS there. Then you change the permissions. Now that the file has correct permissions, you put it in /system/app or /system/framework and let it overwrite the original, so the INSTANT it replaces the original one it already has the correct permissions. You HAVE to put it into /system/, otherwise you can't change to those permissions, but you need to do it before you overwrite the originals.)
BUT IT WILL NOT WORK I ALWAYS GET THE ERROR MESSAGE: APP STOPPED
Thank you for your help :crying:

Categories

Resources