[Q] Build.prop :D - Defy Q&A, Help & Troubleshooting

What is the best build.prop configuration for our defy???
I use White Rabbit.
Thanks

I'm not using a defy so I will help u with The best way I can
1. unzip ur rom from the computer
2. open the rom's folder
3. open system
4. their will be a file called build (this is it)
5. copy it to ur sdcard
6. install es file manager
7. go to the es file manager's settings
8. enable all the root settings
9. copy the buld.prop which u took from the computer
10. go to system directory itself
11. open system folder
12. past it and replace there
13. I hope I helped.
next time take a copy of the buld.prop before playing with it.
email me for any more help (btw I'm still a beginner in developing things)

Related

Help with compiling apk for framework-res

I am trying to create a custom theme, by modifying the framework-res.apk. I have been successful in porting some really cool .png files, but my problems start with the de-compiling & recompiling the .apk so I can modify the .xml & .9.png files. It seems every time I recompile my .apk it sends me in to a boot loop. I have used both APKTool and APK Manager with no luck. Here are my steps:
APK Manager:
1. Use a root explorer to copy the framework-res.apk.
2. Paste the file on my sd card.
3. Copy the file and paste it in the "place-apk-here-for-modding" folder.
4. Choose option 9 for compile.
5. Open the .xml file with Notepad++.
6. Recompile .apk using option 11.
7. Yes to "is this a system file?"
8. Yes to "keep original files & signatures"
9. Delete the files I modified from the "keep" folder and the resources.ascr file.
10. Finish the build of the .apk.
11. Copy & paste the modified .apk back to my sd card.
12. Rename the file from unsigned-framework-res.apk to framework-res.apk.
13. Use root explorer to cut & paste the modified to my /system/framework folder.
14. Reboot.
I now end up in a boot loop what am I doing wrong??
Rockstar52 said:
I am trying to create a custom theme, by modifying the framework-res.apk. I have been successful in porting some really cool .png files, but my problems start with the de-compiling & recompiling the .apk so I can modify the .xml & .9.png files. It seems every time I recompile my .apk it sends me in to a boot loop. I have used both APKTool and APK Manager with no luck. Here are my steps:
APK Manager:
1. Use a root explorer to copy the framework-res.apk.
2. Paste the file on my sd card.
3. Copy the file and paste it in the "place-apk-here-for-modding" folder.
4. Choose option 9 for compile.
5. Open the .xml file with Notepad++.
6. Recompile .apk using option 11.
7. Yes to "is this a system file?"
8. Yes to "keep original files & signatures"
9. Delete the files I modified from the "keep" folder and the resources.ascr file.
10. Finish the build of the .apk.
11. Copy & paste the modified .apk back to my sd card.
12. Rename the file from unsigned-framework-res.apk to framework-res.apk.
13. Use root explorer to cut & paste the modified to my /system/framework folder.
14. Reboot.
I now end up in a boot loop what am I doing wrong??
Click to expand...
Click to collapse
You have to sign it with 12
Lenn said:
You have to sign it with 12
Click to expand...
Click to collapse
Tried it, still boot loops at the Archos screen. I then have to do a complete format & wipe reinstalling the SDK, firmware, and the root files. I don't get it.
Lenn said:
You have to sign it with 12
Click to expand...
Click to collapse
Do not sign frameworks! How many time do I have to say this! System apps do not get signed...
Now, as far as the framework, there's two things to check. First, what XMLs have you edited? Second, instead of using root explorer to copy the framework, connect to a pc and use adb to perform these commands:
Code:
su
stop
cp /system/framework/framework-res.apk /system/framework/framework-res.old
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
start
If it continues boot-looping, you will still be connected through adb, so you just
Code:
stop
cp /system/framework/framework-res.old /system/framework/framework-res.apk
sync
start
and it will come back up without having to reformat or anything.
If it's bootlooping even when you use the adb method to copy, then your XMLs must be reencoding incorrectly. Post a list of all XMLs you have changed.
msticninja said:
Do not sign frameworks! How many time do I have to say this! System apps do not get signed...
Now, as far as the framework, there's two things to check. First, what XMLs have you edited? Second, instead of using root explorer to copy the framework, connect to a pc and use adb to perform these commands:
Code:
su
stop
cp /system/framework/framework-res.apk /system/framework/framework-res.old
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
start
If it continues boot-looping, you will still be connected through adb, so you just
Code:
stop
cp /system/framework/framework-res.old /system/framework/framework-res.apk
sync
start
and it will come back up without having to reformat or anything.
If it's bootlooping even when you use the adb method to copy, then your XMLs must be reencoding incorrectly. Post a list of all XMLs you have changed.
Click to expand...
Click to collapse
I do have my system set up for adb, but for some reason it don't read my A101, it works fine for my phone. The device manager shows my A101 listed as a Gen8 ADB Device, but it don't show up when i use the command: adb devices.
With your help I did manage to replace all of the stock .png's. I also found that I don't need to edit the .xml files to do what I want to. Thanks, for so much of your help! Although I would like to replace the .9.png's also and I understand that you must de-compile the .apk in order to do so. this way I could build a custom theme.
Rockstar52 said:
I do have my system set up for adb, but for some reason it don't read my A101, it works fine for my phone. The device manager shows my A101 listed as a Gen8 ADB Device, but it don't show up when i use the command: adb devices.
With your help I did manage to replace all of the stock .png's. I also found that I don't need to edit the .xml files to do what I want to. Thanks, for so much of your help! Although I would like to replace the .9.png's also and I understand that you must de-compile the .apk in order to do so. this way I could build a custom theme.
Click to expand...
Click to collapse
Have you done this yet(from the archos support site):
Windows: echo 0x0e79 >> "%USERPROFILE%\.android\adb_usb.ini"
Macos: echo "0x0e79" >> ~/.android/adb_usb.ini
Linux: echo "0x0e79" >> ~/.android/adb_usb.ini
And disabled/reenabled debugging on the tablet?
msticninja said:
Have you done this yet(from the archos support site):
Windows: echo 0x0e79 >> "%USERPROFILE%\.android\adb_usb.ini"
Macos: echo "0x0e79" >> ~/.android/adb_usb.ini
Linux: echo "0x0e79" >> ~/.android/adb_usb.ini
And disabled/reenabled debugging on the tablet?
Click to expand...
Click to collapse
No but I will give it a try and report back.
None of my changes are taking effect??!
Still not working, just a question. I am running Win7 64bit could this be the problem?? Do I need to be on a 32bit system to do the decompiling, compiling?
Tried on my wife's 32bit system still the same. For some reason it's not compiling the .apk right.
Rockstar52 said:
I am trying to create a custom theme, by modifying the framework-res.apk. I have been successful in porting some really cool .png files, but my problems start with the de-compiling & recompiling the .apk so I can modify the .xml & .9.png files. It seems every time I recompile my .apk it sends me in to a boot loop. I have used both APKTool and APK Manager with no luck. Here are my steps:
APK Manager:
1. Use a root explorer to copy the framework-res.apk.
2. Paste the file on my sd card.
3. Copy the file and paste it in the "place-apk-here-for-modding" folder.
4. Choose option 9 for compile.
5. Open the .xml file with Notepad++.
6. Recompile .apk using option 11.
7. Yes to "is this a system file?"
8. Yes to "keep original files & signatures"
9. Delete the files I modified from the "keep" folder and the resources.ascr file.
10. Finish the build of the .apk.
11. Copy & paste the modified .apk back to my sd card.
12. Rename the file from unsigned-framework-res.apk to framework-res.apk.
13. Use root explorer to cut & paste the modified to my /system/framework folder.
14. Reboot.
I now end up in a boot loop what am I doing wrong??
Click to expand...
Click to collapse
With ApkManager did you delete the 'public.xml' folder in ..\res\values ?
waterpolo said:
With ApkManager did you delete the 'public.xml' folder in ..\res\values ?
Click to expand...
Click to collapse
No, I did not. Was I supposed to?
EDIT: Ok I did some digging and what I have found is that the file size of the original framework-res.apk is 9.32mb. Once I rebuild it whether I modified anything or not the rebuilt .apk is only 7.34mb. Upon further inspection it seems to leave out all of the "value" named folders from the newly built .apk, and it does this whether I use APKTool or APK Manager(even though I say keep files). Has anyone else had this problem?
IM having the same problem,no solution though ! i edited bools.xml but after recompiling its not there ! Anyone solution ?

How do I Hydra script working in KT kernel?

Hello
Im trying to run Hydra script with KT kernel...
When I run the script with Script Manager I get the ( se screenshot in this post)
What do I do wrong? I have followed some guide lines and thing, but manye of the options mentioned in these are not in KTweaker....
Can someone help?
I think I have some settings in Ktweaker wrong before running the script
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
thnx
Sent from my Samsung Mobile with XDA Premium
nikzDHD said:
Did you following the instructions for installing and making a script work?
Installation
Download links will include the specified profile(s) as well as an "Adjustments" file. The "Adjustments" file is just for easy view of all changes made to a profile compared to stock settings.
1. Download the file(s) to your phone. In case of .bin files, optionally rename the file(s) as .txt
2. Copy ONLY the profile(s) (DO NOT copy the "Adjustments" file) to /sdcard/KTweaker folder using a file Manager of your choice.
3. Open Ktweaker app and click on "Restore Prefs from sdcard".
4. The file you just copied should be listed there. Choose the one you want to apply.
5. After applying, make sure the "Set options on boot" setting on the main menu of KTweaker has a little green text bellow confirming that the settings will be applied upon reboot.
6. Profit!
Click to expand...
Click to collapse
In step one, is it important to rename the file as .txt? Or can I just put it straight into KT Kernel folder on mobile?

(Tips & Trick) change graphic quality in Real Racing 3 v2.0.0

Sorry for my bad english..
I found this trick my self 2 day after v2.0.0 out, and decide to share it to you all..
Since v1.2.0 i'm not update my RR3 until v2.0.0 release, because Veneno come to this great game..
And i found eds trick not working in this version, why ? Well, my research v2.0.0 using eds file in "apk" folder, but it will using eds in ".depot" folder too if eds file not found in "apk" folder, you can find "apk" folder under ".depot" folder, right ?
Now you will think we simply replace modded eds in that "apk" folder, thats wont work because all file in "apk" folder will overwrited by RR3 every we launch the game, and our modded eds will overwrited too, why ? Again..
I think it like ramdisk in android 4.3, ex: kernel overwrite vold sdcard mount point in fstab file, thats why we using build.prop to swap that mount point and not edit the fstab file because it will overwrited every boot, just like this RR3 v2.0.0, correct me if wrong, which "apk" folder generated automaticaly by RR3 every run the game..
So lets begin this trick..
You will need :
Computer with 7Zip app
ZipSigner app in your Android, you can download ZipSigner on PlaySTORE
got it guys ? Let's work..
1. First i recommended you backup your RR3 data, all in com.ea.games.r3_row or _na folder and RR3 apk too, So if something goes wrong you can restore it..
2. Find your RR3 v2.0.0.apk file
3. Open it as ZIP using 7Zip, go to res\raw and open "res.zip" file
4. In "res.zip" go to res\ and copy that eds folder, you will need that original eds folder later, thats why we should copy it..
5. In "res.zip" go to res\eds and delete all 25 plist file in that folder, done ?
6. Now go back to previous folder step up by step up by pressing backspace key in your keyboard until you get notification [ File "res.zip" was modified. Do you want to update it in the archive ? ] press OK button and close 7Zip, got it guys ?
7. Now transfer that modified RR3 apk and the copied original eds folder we copy in step 4 to phone
8. Use ZipSigner to sign that modified RR3 apk otherwise you can't instal it..
9. In ZipSigner press Choose in/out and find that modded apk, found ? Click it, make sure Key/mode is auto-testkey, now press Sign The File in the bottom.. Your signed apk will named as -signed inside that original apk file..
10. Because signature changed if you have RR3 installed on phone you will get "Aplication not installed" if install the modified apk.. So first rename com.ea.games.r3_row or _na folder to "rr3" or something different than original com.ea.games.r3_row or _na name, done ?
11. Now uninstall your RR3 app from phone, dont worry your RR3 data will not deleted if you rename com.ea.games.r3_row or _na folder to other name like i said in step 10, Uninstalled ?
12. Now rename back your com.ea folder to original name "com.ea.games.r3_row or _na.. Got it ?
13. Finally install your modified RR3 -signed apk, Done..
Now you can place original eds folder we copy in step 4 to com.ea.games.r3_row or _na/.depot folder which it can easily changed using RR3 Graphics in PlaySTORE
Run RR3 Graphics and choose your graphic quality, low. mid. high. or xtrahigh. whatever you want..
Last, i found RR3 Graphics v1.0.14 not clone AndroidMid2.plist file, only 24 file cloned, so if your phone using AndroidMid2.plist file maybe game wont run, so we have to clone AndroidMid2.plist manualy.. simply duplicate AndroidMid.plist in /.depot/eds folder and rename it to AndroidMid2.plist, and you will have all 25 file cloned in /.depot/eds from eds_backup folder (found when we use RR3 Graphics) which contain original plist file..
Thats all guys, enjoy..

Dolby Atmos ( all android 4.3 and above )

DOLBY ATMOS​
For Android 4.3x​
Since this is a software, it should work on all android ( 4.3 and above ). Also contains two types of installation 'one with custom recovery and other without custom recovery' . If you have installed other dolby, it may conflict. Links are given at the bottom. .
***WARNING***​1. DO THIS AT YOUR RISK. (I am not responsible for any damage).
2. MAKE A BACKUP OF YOUR ROM/FIRMWARE
3. BACKUP THE AUDIO_ EFFECTS.CONF into your sd card as there is some reason. ( located in the path /system/etc/audio_effects.conf.)
REQUIREMENTS​1. Rooted android device. ( compulsory )
2. Custom recovery if you have. ( not compulsory ).
3. If you dont have custom recovery, then download ES file explorer from playstore open it and given it permission of root with superuser . Steps below.
INSTALLATION STEPS​
Install Without Recovery​
1. Open ES file explorer
2. Go to left top and tap menu.
3. Go to the bottom to the tab 'tools' .
4. In the 'tools' tab, tap on 'Root explorer' and give permission to superuser.
Note:- whatever you paste( the files of dolby) , then you have to change that file's or folder's permission, ( only to be done after you paste each file and make each folders) steps below =
I. ( for the files) keep holding on the file you have pasted and go to 'properties' and tap 'change permission' , now tick all in the first column, in second column only the first to be ticked. Now tap OK ( these are for the files you create or paste).
II. ( for the folder) same steps as above, now in the first column tick all, second column only the first to be ticked. In the third column all to be ticked.
5. Now go to path /system/app
6. Make folders 'As' and 'AsUI' ( only if other apps are in each folders / if all the apps are mixed then skip this step).
7. Paste As and AsUI in apps (if other are mixed. Any doubt means feel free to ask).
OR​
7. Paste 'As.apk' in the folder 'As' and 'AsUI.apk' in the folder 'AsUI' ( if other apps are in each folder).[ Any doubt means feel free to ask.]
8.Change those folders and apps permission as given above.
9. Go to path /system/etc/ and now paste audio_effect.conf (if already exists take a backup of yours and paste there. If you want me to edit your phones original audio.conf, then upload it and I will add dolby to that for you, so that everything in your audio_effect.conf remains same ( I will just add some lines there and it's still your audio_effect.conf.
10. Change permission of that.
11. In the same path, make a folder 'dolby'. Change permission of that folder.
12. In the folder 'dolby' paste the file 'ds-default.xml' and change its permission.
13. Go to path /system/lib and paste the file 'libdlbdapstorage.so' and change its permission.
14. Go to path /system/lib/sounds and paste the file 'libswdap-mod.so' and change its permission.
15. Go to path /system/vendor/etc (if path not available make a folder and change permission).
16. In the above path, paste 'audio_effects.conf' and change the permission.
17. Just reboot your device and you have successfully installed.
Install with Recovery​
1. Just flash it with your custom recovery.
2. Boot your device and have successfully installed.
UNINSTALLATION STEPS​
Uninstall Without Recovery​
1. Just delete the files you have pasted to install dolby atmos with ES File Explorer. ( only the files I gave )
2. Replace the audio_effects.conf with your backup and change permission as defined above. ( delete the one I gave you and paste there with your old one.)
3. Reboot your device and you have successfully uninstalled.
Uninstall with Recovery​
1. Just flash the UNINSTALL.zip with your custom recovery. ( links below)
2. Reboot your device and you have successfully uninstalled.
Links :-​
MOD EDIT: Removed
Enjoy
MODS
http://forum.xda-developers.com/android/apps-games/mod-dolby-atmos-t3109446
OP, please delete this thread of worstenbrood's dap_r6.5. zip so XDA moderation does not have to do so. Even the main zip's MD5 matches dap_r6.5, not to mention this forum section is already diluted with sound mod after sound mod at this point.
Thread closed. Please review the forum rules, specifically rules 5 and 12.
Continue discussion in this thread: http://forum.xda-developers.com/android/apps-games/mod-dolby-atmos-t3109446
Nathan
Forum Moderator

Snapdragon camera v2 help

​Hi. I flashed snapdragon camera v2. But it stops.
Then i want to remove the android icon with the text com.android.cameralauncher. But i cannot find. It. I tryed flashing the uninstal. And searched with a rooted file explorer. But i still have not located the file. Who can help me?
This is also me something went wrong with my account.
60nine said:
ok... i did it this way (using ES file explorer)
1. extract the zip to sd card somewhere
2. under "system/priv-app" > create a folder called "SnapdragonCamera"
3. give the folder "drwxr-xr-x" permissions
4. copy "SnapdragonCamera2.apk" to that folder and give it "-rw-r--r--" permissions
5. copy the "lib" folder (from the zip you've extracted) to "SnapdragonCamera" folder and give it the same permissions as the parent folder has ("drwxr-xr-x")
6. inside the "lib" folder there is also "arm" folder (give it the same "drwxr-xr-x" permissions)
7. inside that "arm" folder there are two ".so" files - give them "-rw-r--r--" permissions
8. reboot
i have to say it's a nice camera and i've used quite a few camera apps so far...
at the first glance - photo quality is the same as with the xdabbeb camera, but i like the UI better...
my device details:
- LG G2 (d802) running somboons stock 30f lollipop rom
- dorimanx kernel (v5.9.2 latest)
- xdabbeb camera and advanced drivers installed
Click to expand...
Click to collapse
Yep this was also the solution for my problem

Categories

Resources