build.prom on cm7 - LG Optimus 2x

I was looking at build.prop on my phone (ironkrnl + temasek's kang) at one point it says
ro.build.fingerprint=lge/lge_star/p990_EUR-xx:2.3.4/GRJ22/lgp990-V20l.422C563E:user/release-keys
is the lgp a typo?
Also I was using ES file explorer and copied the build.prop file to make a back up, then I made a small change in the original. When I looked at the copied file it had changed also. I've never seen that on computers, as if the files where linked. Is this something to do with linux or ES file explorer or something else? I suppose I should use the command line to copy files.

hm while I tryed it again and didn't reproduce that error so maybe I just repasted the first file.

Related

Optional File Explorer????

Does anyone remember way back there was a rom released that had a custom file explorer. It was just an exe file and it allowed you to delete things that the standard and resco file explorer wouldn't allow you to do....I know it was included in one of the WM5 roms and the single file was posted for download. I lost my HDD on my cpu and have been trying to locate what I remember. I cannot find this file. I know that if you copied it to the windows directory it would completely replace the built in file explorer.....
Anyone know where to find this???? I have searched but can't seem to locate it....
This File Explorer.exe allowed you to delet things from the rom...I thought it was part of a Dr. Putt rom a year ago or so....

[Q] Change UI sounds? Unlock/lock

Anyone know how to change the ui sounds on the aria? running CM7 Nightly build 8
I found a video on youtube of some dude doing it on his droid using RootExplorer and copying the *.ogg file of choice to the system/media/audio/ui, * being renamed to what you want the sound to be, for me it was Lock.ogg. I get an error saying that there isnt enough memory to do this and my internal phone memory has about 80 mb free. Dont know what to do...Anyone else?????
Thanks.
Edit: this is the file I want to use as my lock sound to go with the CM7 screenlock animation:
http://www.wavsource.com/snds_2011-01-09_1004796414058853/sfx/radio_tuner_y.wav
Note: I have converted it to a .ogg file already but couldnt post it on here because it is an invalid type.
i would say open up the update.zip file go to system/media/UI and replace the .ogg files and flash the zip as you would any other
blakermagee said:
Anyone know how to change the ui sounds on the aria? running CM7 Nightly build 8
I found a video on youtube of some dude doing it on his droid using RootExplorer and copying the *.ogg file of choice to the system/media/audio/ui, * being renamed to what you want the sound to be, for me it was Lock.ogg. I get an error saying that there isnt enough memory to do this and my internal phone memory has about 80 mb free. Dont know what to do...Anyone else?????
Thanks.
Edit: this is the file I want to use as my lock sound to go with the CM7 screenlock animation:
http://www.wavsource.com/snds_2011-01-09_1004796414058853/sfx/radio_tuner_y.wav
Note: I have converted it to a .ogg file already but couldnt post it on here because it is an invalid type.
Click to expand...
Click to collapse
You can't change files under /system while the phone is booted. You have to either adb push the file while in recovery or do as what was stated above.
thanks, I'll try and see if that works.
Edit: I tried to repack the Rom into a zip and guess I did something wrong. I'm pretty sure I dont know what I'm doing. If anyone can spell it out in the simplest terms on how to put the .ogg file into the rom zip, please do so. THANKS!!!!!!!!!!!!

need (my files) app on captivate

does anyone know if there is a .tar file or something so i could flash the my files app on my cappy that usually comes on the cappy with the official firmwares? i just need some kind of file to do that because i dont like astro and es file manager, etc. even a link to somewere where this has been done before would help, thanks.
Why use that when the others have a **** ton more functionality? Like root file exploration.
Do you have any .tar stock firmware package? Open that archive with 7zip and go to /system/app and drag it out...then use a root file explorer (lolz oh the irony) to drop it in /system/app
Or use adb to push it there
Or get a theme cwm zip package and delete all the files out of the folders (not touching the meta-inf folder) and drop it in /system/app and flash that.
studacris said:
then use a root file explorer (lolz oh the irony)...
Click to expand...
Click to collapse
I did indeed LOL
hmm...i think im gonna get the cwm package and just do that, do you have any link on one of those, if not then how can i get or look one of those up?
any theme zip will do, just not a ROM zip that has a kernel and modem in it you don't need top flash the theme zips ate just system apk files you can delete out and add your apk in. Make sure only that apk is in it though.
Hold on...I'll hey you a link where i posted a test zip you can use.
Edit: http://forum.xda-developers.com/showpost.php?p=22271929&postcount=1403
In that post is a cwm zip, open that archive with 7zip go to /system/app delete what's there and drop that apk in. Then flash that in recovery.
ya well it didnt work..
Ya well you give more detail we can help.... "It didn't work" isn't very helpful for trouble shooting...
it said that the installation was aborted
What version of cwm do you have?
Or are you on an aosp ROM?
Just use a root explorer, go in and unzip any file that has it in it, then go to the extracted folder, long press on it and hit COPY, then back out until your at SYSTEM and paste it, then look for the file in SYSTEM and long press on it and choose permissions, then change it so it matches the SAME PERMISSIONS in SYSTEM/APP, then once you have the permissions correct long press on it and move it into SYSTEM/APP and hit PASTE. them REBOOT the phone and it will be in there and working. NO NEED to try flashing it in cwm. This MAY sound like a lot of work but it is VERY EASY AND FOOL PROOF.
Sent from MY SPH-P100 running ICS
OI File Manager. Looks almost exactly like my files.
Ok rockratt...first of all...when i tried putting the file in system...
It said failed, and also what do you mean to fix the permisions?
Sent from my SGH-I897 using XDA App
It failed because you need to mount that partition r/w instead of the default r/o...should be an option for that on the root file explorer you used.
juggalo4life760 said:
Ok rockratt...first of all...when i tried putting the file in system...
It said failed, and also what do you mean to fix the permisions?
Sent from my SGH-I897 using XDA App
Click to expand...
Click to collapse
As studacris said make sure to set it to read/write. When using ROOT EXPLORER you will see a button towards the top the probably says MOUNT R/W click on it and then paste it to SYSTEM( the reason I say to paste it to SYSTEM first so you can change the apparently permissions before moving it into SYSTEM/APP since it will ask to overwrite a version of itself if it is already there. To change the permissions just long press, choose permissions, then click the appropriate boxes to make it have the correct permissions before placing it in.
Sent from My KickAss CM7 Captivate
Pasting to /system and Changing permissions shouldn't be needed.
And if it is..boot into recovery, go to advanced, and fix permissions

[Q] No file explorer on AOKP build 37?

I just came from cm9 to AOKP. Flashed it last night with no problem. Now I don't have file explorer on AOKP. anyone experienced it?
Just push it to your device and sideload it with adb-install or something.
With my touchpad, I always use ES File Explorer as my file explorer of choice. It's free on the play store and it works quite well. It can also be put in root explorer mode and comes with a text editor as well, which comes in handy for changing moboot stuff in the boot folder.

[Q] How to enable mass storage in CM 10.1 ?

Does anyone know how to enable USB Mass Storage on our phones under CM10.1? I've searched around and found this thread. But since I'm not familiar with changing build.prop I don't dare to do it myself. There are some CWM .zip files around to enable it, but they are on other phone's forums and I'm sure they just replace/change the build.prop so it's definitely not a good idea to flash those on a different phone than the ones they were intended for....
Long story short, does anyone know how to enable it on ours?
TIA!
Update on the process:
I was able to edit the build.prop according to the instructions, but that alone doesn't seem to do anything.
So I decided to try the next step, but where it tells me to do the changes below I wasn't sure what to do.
Thom75 said:
in framework-res.apk/res/xml/storage_list.xml
where oryginal line look like this:
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:maxFileSize="4096" />
after change look like this:
Code:
<storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" android:maxFileSize="4096" />
Click to expand...
Click to collapse
I was able to find the framework-res.apk file, copied to my computer and tried to open it with an XML editor... looked too complicated so I left it alone.
Does anyone know how to mess with that?
Open the .apk file with WinRar
-Drag the file you want to edit on your computer
-Edit the file on your computer
-Delete the old file in Winrar from the apk file
-Put the new file from your computer back in Winrar and save the "new" apk file
-Put the new .apk file on your smartphone
Before you install the new .apk file take a Root Explorer and look at the permissions of the old .apk file and set this permission on the new once...
I hope i could help you
Sivvis said:
Open the .apk file with WinRar
-Drag the file you want to edit on your computer
-Edit the file on your computer
-Delete the old file in Winrar from the apk file
-Put the new file from your computer back in Winrar and save the "new" apk file
-Put the new .apk file on your smartphone
Before you install the new .apk file take a Root Explorer and look at the permissions of the old .apk file and set this permission on the new once...
I hope i could help you
Click to expand...
Click to collapse
Thank you very much for your help! I didn't know apk files were just a compressed library of other files.
Now I am stuck trying to edit the "storage_list.xml" file... I tried to open with a few different xml editors, but could not get clean text like the example before. Any sugestions?
I attached the file below:
Apoena said:
Now I am stuck trying to edit the "storage_list.xml" file... I tried to open with a few different xml editors, but could not get clean text like the example before. Any sugestions?
Click to expand...
Click to collapse
Well, how about decompiling the .apk file with APK Tools instead of just opening it with WinRar? :laugh:
Yes, now I get a clean, editable, decompiled xml file.
I'll try editing both when I get home tonight and will post the results.
I guess this is a problem because of the emulated layout. There is a trick with setprop sys.usb.storage.config mass_storage but it does not work.
Keep me informed if you find something valuable (i'm on original CM10.1, latest nightly 0423 actualy).
Ok, here's the update from last night:
I started over since I flashed the nightly, which is good so I restarted with a clean slate.
- Edited build.prop - OK
- Copied framework-res.apk to my computer
- Decompiled framework-res.apk
- Edited storage_list.xml
- Recompiled framework-res.apk with new storage_list.xml
- Copied framework-res.apk back to my phone
- Deleted original framework-res.apk
- ...... instant restart & bootloop before I could paste the new framework-res.apk in its place
No big deal, just restored a nandroid backup I made before messing with anything and I'm back in business.
Apparently you can't mess with the framework-res.apk while your phone is on (with the OS running)... so now I need to research the right way to push/pull these files from ADB while on CWM recovery. I appreciate if someone could point me in the right direction since I'll be busy at work today.
To be honest, my gut feeling tells me that this is not going to work anyway. But look at what I learned so far... two days ago I wouldn't even think of compiling/decompiling anything... this is what XDA is all about, right?
Imho, the framework_res.apk and various tricks are all enabling or disabling a sys.usb.storage.config key. I'm not understanding nor finding informations about CM10.1 emulated layout, and if there are any reasons to forbid mass storage (because, yes, it seems it is disabled because it is not compatible).
This is something i have hard time with. On Android, you have tons of improvement for rom or kernel XY, but generally undocumented. If you apply this 'per device', the information is very fragmented and difficult to grab.
I was looking for a simple brief on base MTD partitions layout for LG P880, it seems the only way to have this is to dig KDZ files. Perhaps a Wiki would help the wannabe contributers like me to start ?
Any Solution For This Problem ??? I Can't Transfer Any Files To My O4X , What's The Point Of Cyanogenmod Then ??????????????
Nooby305 said:
Any Solution For This Problem ??? I Can't Transfer Any Files To My O4X , What's The Point Of Cyanogenmod Then ??????????????
Click to expand...
Click to collapse
Flash the latest nightly. MTP is working and you cab transfer files that way.
Sent from my tree using a ladder
effectively, if you are flashing for USM, you should stay on LG stock.
I know that the topic got a little old but I'd like to refresh it since more people (e.g. Ubuntu users) could be interested in enabling Mass Storage.
What I've done is:
1) pulled /system/framework/framework-res.apk
2) decompiled it with APKtool
3) added
Code:
android:allowMassStorage="true"
in storage_list.xml
4) builded a new apk
then I've rebooted my phone into recovery and (@Apoena you may be interested in it - there is a possibility to access /system through adb connected with phone in recovery mode) pushed the new framework-res.apk. I've also changed the entry in build.prop to
Code:
persist.sys.usb.config=mass_storage,adb
Everything seemed fine until I've tried to reboot the phone: instead of CM boot logo I got a black screen. Anybody has an idea what went wrong (maybe something during recompilation of the apk)?
And of course sorry for any language mistakes, I'm not a native speaker

Categories

Resources