i am currently building a rom for the samsung captivate built off 2.3.5.
The base im using is stock - deodexed/ ziped / minorly changed
this base flashes and works just fine!
what i am doing to it:
remove bloat.
- at&t apps,
- protips.apk
- remove broken swype
- remove stock email (not gmail)
- removed stock launcher
change to hacked camera.apk
remove bootsound
remove shutdown sound
change bootanimation
added user apps in data/apps
added widget picker in system/app
changed default wallpaper in framework_res.apk
changed install script
changed CSC
custom twwallpaperchooser
everything works fine through the install.
but durring the "setup" on first boot " phone setup wizard " will force close right at the step where you setup your google sign in.
BUT THATS NOT THE PROBLEM, (just the first sign of it)
the real problem is any apps installed after flashing do not show up in data/apps
any apps installed through the flash are there, but any installed after ARENT.
and no they arent on the SD card.
the apps will slowly disappear after installing one by one.
when i reboot THEY ALL DISAPPEAR!!!
it seems that the apps install to cache or memory.
as the memory gets cleared or you reboot, they get wiped away!
i have tried various things to fix this
i have rebuilt my rom MANY times.
with and without my framework res changed file
with and without my custom install script
with and without removing stock launcher
with and without changed CSC files.
with and without twwallpaperchooser
if i flash the base i was working from again, all is good.
this only seems to be an issue when i flash data/apps from the zip file. however i have used a script from a rom that successfully flashed data/apps before without this issue, so i do not think it is a permission problem....
im stuck and lost.
more specific, rewritten description i emailed to a few friends
holy hell i bet youve been busy...
me too, i finally have my rom built. for KH2 KJ1 and KJ2 !!
have it down to an easy process now. install script working!
but im having one final issue and cant find any useful info on it anywhere and its very specific
**I know KJ1 and KJ2 install any app to the SD if possible by default. any app on SD will not be affected by this issue ***until it is moved to phone
if I build my rom to install apps to data/app (through cwm flash )- any app that gets installed after (through market or sideload) will slowly disappear after some use or immediately after reboot. they also will not show up in data/app or system/app when installed ** once again not including apps on SD. and if apps on SD are moved to data/app they do not end up there. they disappear.
this leads me to beleive that they are installing to cache or memory, as the memory gets cleared or the phone reboots. they are gone!
if i build my rom without user /data/apps (and without that part of the script).
everything is fine. any app installed after shows up in data/app and is still there after reboot.
i have also used unmodified scripts with and without the package_extract ("data", "/data")
that have been known to work with the original rom they were taken from. without the issue i am seeing.
so i do not think it is a script / permission issue not allowing the system to write new data to that location. but i could be wrong.
my rom is ready for release once i can get this last part figured out. otherwise ill have to release with no user apps... any input would be greatly appreciated.
thanks again!
Click to expand...
Click to collapse
one search i came across mentioned something about possibly not being converted to rfs, but I have flashed to stock with re-partitioning ( rfs for sure ) and the rom and kernel i am building does not support it so that shouldn't be an issue.
from what other rom builders have told me this is an issue with gingerbread roms.
have apps copied to SD card and ask users to install manually.
Dude just found this post....sorry i was busy with KJ2
glad you got a tempory fix
ya you gave me the fix in the PM! LOL
TRusselo said:
ya you gave me the fix in the PM! LOL
Click to expand...
Click to collapse
you just got spanked!!
Well, my girlfriend updated her Galaxy S3 a couple of days ago, and suddenly the gallery wouldn't work. It just showed up as com.sec.android.gallery3d in the app drawer. I've done everything in my power, even rooted the damn thing, but nothing seems to work.
Amidst my ferocious attack on the problem I seem to have gotten rid of the "faulty" gallery apk and can't find a good one via google that works.
Odd thing is that at first the com.sec.android.gallery3d app was missing from /system/app. When I did a search for "gallery" I found SecGallery2013.apk that was called "com.sec.android.gallery3d" in it's properties. Kind of like a symlink I think.
That original SecGallery2013.apk is now gone with the wind for some reason (my ADHD took over a while). I actually found a com.google.android.gallery3d that works (but not original) and com.sec.android.gallery3d-2be92cef98aab5194d4ae68382324577.apk (took away the number at the end of course) that seems to be the original, but crashes constantly.
I'm at a loss, hence why I did the topic name "need stock apk", as that might fix things.
Though somewhere on the filesystem (I'm still somewhat of a noob as to how android is built) there were once a folder called com.sec.android.gallery3d which is not there anymore. Any attempts at installing the apk has, obviously, also failed.
I've read almost every other possible solution, but all of them seem to be under the impression that I would have the sense to backup every single thing...
Help!
What android, firnware are you running right now?
You can get the gallery app from any STOCK BASED flashable zip (many lite version roms available in this forum). Just open the zip, look under system/app or something similar, take the apk file, put it in system/app of your own phone with rw-r-r permissions, then reboot.
Stock system apps can't be just installed, they must be manually placed in system/app directory.
Try to flash Google Apps from CWM or TWRP (I assume you already flashed CWM or TWRP with Odin)
A brief explanation of Google Apps:
Apps like Play Store, Gallery, Camera, etc... Or the stock proprietary software made by Google are all in this one zip file called GApps, All you need to know is how to flash ZIPs (easy as 1,2,3) and the GApps for your android version.
Other options:
Find another 3rd party Gallery alternative from Google Play (EASIEST)
Flash CyanogenMod or an alternate ROM (Too risky just for getting gallery back)
Just get the images from the device to your computer
Well that's all I got, PM me if you need anything, hit "Thanks" if I helped you
I am wondering if anyone else has had problems installing programs from the Play Store and getting error code -24?
I figured out an annoying fix after trying to wipe davl, data, etc., to no avail...
I have to download and install Root Explorer (which thankfully didn't give me the error message), then I had to delete individual program folders that persisted even after a full wipe of the devise. I deleted these files from the /Data/Data folder which contains hundreds of these folders.
Does anyone have a better way to permanently delete these files rather than going in an removing them one at a time?
I've had this problem both on Stock Rooted NC5 and on Galaxy Note fre3 Hybrid De[Odex] v2.14 -BeastMode Kernel
toviaheli said:
I am wondering if anyone else has had problems installing programs from the Play Store and getting error code -24?
I figured out an annoying fix after trying to wipe davl, data, etc., to no avail...
I have to download and install Root Explorer (which thankfully didn't give me the error message), then I had to delete individual program folders that persisted even after a full wipe of the devise. I deleted these files from the /Data/Data folder which contains hundreds of these folders.
Does anyone have a better way to permanently delete these files rather than going in an removing them one at a time?
I've had this problem both on Stock Rooted NC5 and on Galaxy Note fre3 Hybrid De[Odex] v2.14 -BeastMode Kernel
Click to expand...
Click to collapse
It's happened to me a couple of times in the last few weeks... Typically happens when I click through on the computer to install the app on my phone. When this happens, if I try again, but from the phone play store, it didn't happen. I don't know why that worked, but it did for the few times I've gotten the error.
I also found this thread, where they talk about common play store error codes. It gives the same solution you had, and they attribute it to the ART, which fre3 doesn't have (although, they have added ART support for future implementation).
I hope more information comes to light about this.
Hi. At last, deodex patch appeared for our Z4 tablet too!
Download links!!!
Android 6.0
For SGP771
https://yadi.sk/d/utGkXKPIq7hmX
For SGP712
Android 5.0.2
For SGP771
https://yadi.sk/d/c3nzIj1XoqpJD
For SGP712
Add the link when someone creates it on his own
Please do a backup first!!!!!!
HOW is it created?
Use this tool
http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
First you need these folders and 1 file:
root/system/app
root/system/priv-app
root/system/framework
root/system/vendor/app
root/system/build.prop
copy them to your pc folder named system
Move the content of root/system/vendor/app (the app folders) and the semgeneric folder from root/system/framework to the root/system/app or priv-app
start the deodex tool; tick the 3 folders and let it do the work
After finishing without errors , move the folders you copied from /system/vendor/app and semcgeneric back to their respective locations and you have the deodex folder which contained
app
priv-app
framework
vendor/app
create the flashable zip(replace the folder(system folder) in the the zip with yours and test it )
How to install:
-you may need this do first as patch is done when my tablet already had deodexed camera and album apps. http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
-Flash in the recovery
-wipe cache and dalvik-cache
Bugs:
I haven't noticed them yet
What about reboots?
As long as I tested it. No random reboots being noticed. However, permanent reboots remained: after wiping dalvick cash[after "optimizing apps"](with xposed installed) and with xmod 2.1.1 for clash of clans. The tablet work as fast as before. I think reboot problem connected to the kernel. Now I think it is easier to delete unnecessary system apps with deodexed stock rom. And it's better for using some xposed tweaks.
Specials thanks to:
lordriguez huge thanks for his precious help!!!
svadev for his deodex tool
auras76 for his updater script
svadev for his deodex tool
AndroPlus and [NUT] for creating working TWRP!
Wow, very nice. I had this on my list to investigate myself, but you were first
Any chance for a SGP712 version?
alex009988 said:
What about reboots?
As long as I tested it. No random reboots being noticed. However, permanent reboots remained: after wiping dalvick cash(with xposed installed) and with xmod 2.1.1 for clash of clans. The tablet work as fast as before. I think reboot problem connected to the kernel. Now I think it is easier to delete unnecessary system apps with deodexed stock rom. And it's better for using some xposed tweaks.
Click to expand...
Click to collapse
Can you elaborate on this? I only know about random reboots and a reboot right after the 'Optimizing apps' stage with Xposed installed, after wiping Dalvik/Cache.
jelbo said:
Wow, very nice. I had this on my list to investigate myself, but you were first
Any chance for a SGP712 version?
Click to expand...
Click to collapse
Hi. I think you can make the patch on your own. Please take a look "how is it created". There is nothing hard! And if it is successful, upload zip for other people who have sgp712
jelbo said:
Can you elaborate on this? I only know about random reboots and a reboot right after the 'Optimizing apps' stage with Xposed installed, after wiping Dalvik/Cache.
Click to expand...
Click to collapse
I faced no random reboots for the time being. Year, I meant permanent reboot goes as usual after optimizing apps.
Guys. I think I know why we still have random reboots even with deodex patch.
http://forum.xda-developers.com/xperia-z5/development/patch-deodex-patch-firmware-200-t3301572
Z5 users have the same situation with reboots(with their patch too)
Please take a look at this https://yadi.sk/d/cieOb3GXouhXwfiles it's root explorer search *.odex .
Once upon a time (today), One man told me if you want system without reboots. There should be no odex files at all. If there is at least one odex file, there could be a problem.
In the system priv app I have only one odex file called phonesky.without any apk.(After the patch of course). And what is pbonesky?, it's absent on the list of system files
And there are so many odex files in other parts of the system.
Seems we should transform all odex files, not only in the /root/system.
So please, tell me your thoughts on it.
Look forward to your response!!!
I still have random reboots too after flashing your patch. phonesky.apk is google play store
wonghyf said:
I still have random reboots too after flashing your patch. phonesky.apk is google play store
Click to expand...
Click to collapse
Year. The point is I have no apk in phoneshy folder, only odex file. That,s a bit strange. Do you have the same?
Edit 1 Ok. Our goal, to pull off all odex files. Now I'm thinking how. Auras advices to use SuperR kitchen with linux
yes, mine is empty too.
After reading your post, I uninstalled google play store with titanium backup. And then copied phonesky.apk to system/priv-app/phonesky and changed its permission. Then deleted the odex file and reboot. google play seems to be working fine.
Edit: I found out your patch actually doesn't have phonesky.apk.
Well. Overall, deodex remained odex files is not a problem. But someone should help us to write a new script for a flashable zip. That's a problem
I'm really sorry, it turn out that I forgot to delete my backup of the original odex system apps, that is why root explorer was finding so many odex files. After I delete my backup and Phonesky folder as it only had one odex file without apk. It found only two odex files..They belong to Google play services. How do you think maybe they are the reason of reboots with xposed?
So the patch works excellent. But two odex files from Google play services remained.
—-----------------
But take into consideration I have patched play store and some other users might have it too.If you have original play store, my patch will not affect phonesky(play store/market).
So is it better to reupload my patch with phonesky deodex patch, or user can patch it separately beforehand on his own, by lucky patcher or deodex tool?
I did a little research. Two odex files of Google play services are on absolutely any android system, even on full deodex cyanogenmod. So no need to deodex them, they are not system apps. They are not the cause of reboots.
In summary, we have 100% full deodex stock system, but the reboots after optimization aps with xposed and some others, it doesn't solve.
I hope that android 6.0 will be better
alex009988 said:
I did a little research. Two odex files of Google play services are on absolutely any android system, even on full deodex cyanogenmod. So no need to deodex them, they are not system apps. They are not the cause of reboots.
In summary, we have 100% full deodex stock system, but the reboots after optimization aps with xposed and some others, it doesn't solve.
I hope that android 6.0 will be better
Click to expand...
Click to collapse
This post explains something about the chimera odex files.
dl12345 said:
An examination of the filesystem showed that com.google.android.gms (Google Play Services) installs an apk and an odex file in /data/data/com.google.android.gms/app_chimera/chimera-module-root/module-b4902ed544a9b2fc3415a9fb64fb048759fc2157. The long hashed folder name changes, as you can imagine with a name like "chimera".
Click to expand...
Click to collapse
Thanks for your efforts and finding out deodexing doesn't fix random reboots.
Hi everyone! It's time to talk about deodexing marshmallow.
First of all, no random reboot after optimization apps on odex system. No need to patch camera and album apps. It works stable.
What I noticed.
After installing via flashtool and recovering apps from accounts , there were 17 gb out of 22. I got twrp backup, erased internal storage, restore my backup, and as I result it freed 10 Gb.
After deodexing system, everything works well. The size of app, framework, priv-app, vendor/app becomes around 1,6 Gb. The odex one is around 3.2.
There is a little nuance, if you want patched market on deodex system, you need to do it before this patch, do dump of the system stuff of your tablet and deodex it.
And what I've noticed too, that there are much more odex files remains in the data/app folder. In the lolipup we had only two odex files remained whereas you'll find more in the marshmallow. It means as far as I understand android install apps in odex fashion from the market.
So, at first glance, the patch seems is not so necessary, but if you want to customize android, it's better to have deodexed romtoo in theory.
So, look forward to your responses
alex009988 said:
Hi everyone! It's time to talk about deodexing marshmallow.
First of all, no random reboot after optimization apps on odex system. No need to patch camera and album apps. It works stable.
What I noticed.
After installing via flashtool and recovering apps from accounts , there were 17 gb out of 22. I got twrp backup, erased internal storage, restore my backup, and as I result it freed 10 Gb.
After deodexing system, everything works well. The size of app, framework, priv-app, vendor/app becomes around 1,6 Gb. The odex one is around 3.2.
There is a little nuance, if you want patched market on deodex system, you need to do it before this patch, do dump of the system stuff of your tablet and deodex it.
And what I've noticed too, that there are much more odex files remains in the data/app folder. In the lolipup we had only two odex files remained whereas you'll find more in the marshmallow. It means as far as I understand android install apps in odex fashion from the market.
So, at first glance, the patch seems is not so necessary, but if you want to customize android, it's better to have deodexed romtoo in theory.
So, look forward to your responses
Click to expand...
Click to collapse
Hi,
You use Xposed v80 ?
killdozer56 said:
Hi,
You use Xposed v80 ?
Click to expand...
Click to collapse
Yep, by the way, we can also try alternative version of xposed by romracer
I am not able to mount my sd internal and external with usb after installing.. Hmm
asl0501 said:
I am not able to mount my sd internal and external with usb after installing.. Hmm
Click to expand...
Click to collapse
You speak about mounting USB in TWRP ?
@AndroPlus said USB Mounting does not work in TWRP with Kernel v20
killdozer56 said:
You speak about mounting USB in TWRP ?
@AndroPlus said USB Mounting does not work in TWRP with Kernel v20
Click to expand...
Click to collapse
I have a bootloop with xposed xposed-v80-sdk23-arm64.zip I suppose deodex is mandatory, isn't it?
My tablet does not recognize the simcard anymore after flashing this file.
asemi said:
My tablet does not recognize the simcard anymore after flashing this file.
Click to expand...
Click to collapse
Hi,
I have a SGP771 and no problem with the sim card after flashing the new firmware
what firmware you have just flashed ?
You have followed this guide: http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/
Hello everyone, the other day I decided, after 3 years of stock ROM (5.1.1), to change ROM on my Note 3 Neo (N7505). I installed TWRP, I downloaded a build of Lineage 14.1 and installed it. But stupidly I didn't read the list of things that don't work, such as the camera and the dial app. So I decided to return temporarily to the stock ROM. Later I found a Cyanogen build compatible with my N7505 without any particular problems, so I installed it. No problems here. But when i had a glance at the "memory" section of the settings, I found that the space occupied by the system was equal to 4.6 GB. A little unusual. Using the ES file manager I found two folders, a /system that weighs 400 mega (probably the one where is Cyanogen) and a /sys with 4 GB (with inside 200.000 files and 60.000 subfolders!). I think the problem is the folder /sys, probably when I changed rom I didn't wiped something, and there are still the files of the Lineage and the stock, stored in this folder. Now I have 4 gigabytes of useless files, and what I would like to do is delete everything and then install the cyanogen. But among the TWRP wipes there isn't /sys, only /system; with the root permissions I can't delete it, and I also tried with ADB, but it's a mess. It's like 4 days that I look on the net how to fix it, but I didn't find anything that could help me. I thought about making a cut of the / sys files and past 'em in / system and then wipe everything from TWRP, but I don't know how ADB works and I wouldn't mess it up. If anyone has better ideas I'll really appreciate it, thank you very much in advance.
Also, sorry for bad English but is not my native language.