hi I need some help with theming:
im having a hard time with the genie widget.apk. I´ve seen elsewhere that the gw should be flashed to System/apps but that not the case with my phone.On my htc desire it should be DATA/apps and I just can´t make a flashable.zip I get an error everytime(error at line1 something). I use a zipsign tool which works fine with system/apps maybe I need another tool, which leads me to my next question:
How do I make a flashable file where I move files to SDCARD / SYSTEM / DATA ?
acejacksooted said:
hi I need some help with theming:
im having a hard time with the genie widget.apk. I´ve seen elsewhere that the gw should be flashed to System/apps but that not the case with my phone.On my htc desire it should be DATA/apps and I just can´t make a flashable.zip I get an error everytime(error at line1 something). I use a zipsign tool which works fine with system/apps maybe I need another tool, which leads me to my next question:
How do I make a flashable file where I move files to SDCARD / SYSTEM / DATA ?
Click to expand...
Click to collapse
Alright this you will love I had same problems search for Update Zip Creator 2.0 by Daneshm90 you will love it and as far as flashing data/app/ it doesn't work you have to know how to make your update script install with permissions otherwise they just get copied in the right folder and don't work.
Edubyah said:
Alright this you will love I had same problems search for Update Zip Creator 2.0 by Daneshm90 you will love it and as far as flashing data/app/ it doesn't work you have to know how to make your update script install with permissions otherwise they just get copied in the right folder and don't work.
Click to expand...
Click to collapse
thats actually the tool i´m using by default , however I dont know how to make files copy over to Data/app and I also dont know how to make the zip creator move files to sdcard. I´ve only managed to use the updatezip creator to write to System/app, System/media and System/framework.
what should i do to get an update.zip with folders system / data / sdcard?
When I was trying I gave up when I would edit the generated update script I would get as syntax error what I started doing was put the data apps in a folder named Extra_apps or the theme name like Blue_Steel then tell update zip creator copy directories SDCARD then folder name and folder name again I wish I could help more but its something I'm trying to learn myself I believe w are going to have to learn to write the script manually I have asked on the update creator thread also never got an answer excuse the spelling on my phone thank god for swype..lol
hi,
well i've made a custom rom but i need to copy a file to /data/system which is the appwidget.xml
First i try to use the "simple" copy script as for application.
But it breaks the boot of my sgs.
I think i need to make some permissions on the updater script but i don't know which numbers to put in.
Can you help me or have a better solution.
Thanks in advance.
Hi guys,
I tried a fix for GPS for v20l that can be found here:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
This got me into a bootloop...
Can anybody help me and create a zip update to install via clockworkmod with the services.jar I backed up?
services.jar: http://www.mediafire.com/?b7ib6q8z4fa0z5z
Is there any other way to replace it manually in clockworkmod?
thnx
Dkzs said:
Hi guys,
I tried a fix for GPS for v20l that can be found here:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
This got me into a bootloop...
Can anybody help me and create a zip update to install via clockworkmod with the services.jar I backed up?
services.jar: http://www.mediafire.com/?b7ib6q8z4fa0z5z
Is there any other way to replace it manually in clockworkmod?
thnx
Click to expand...
Click to collapse
Here, attached. The file on mediafire is larger than "my" stock services.jar though, don't know what that is about.
Anyway, flash it via CWM, wipe dalvik-cache, and you should have your original back.
Now that I've done you a favor, you can do me one: Look up ADB on the .net. Even on an unrooted phone you can boot into CWM, mount /system and run ADB-commands to replace single files like this. It will probably save you some time.
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
Hi,
I want to make ROM. I succesfully got files from ftf, found some metainf folder and tried to flash. There always were error, sometimes error: 6, sometimes 7 and sometimes I had not after first boot any signal and wifi didnt work.
Can someone help me please or provide me functional metainf folder ?
Thanks guys
Someone help please ?
Can someone make for me metainf folder ? I have "system" from stock .236, but I cant make metainf. thx