Custom rom for t530nu errors - Galaxy Tab 4 Q&A, Help & Troubleshooting

@moonbutt74 i tried using your updater.script it flashed fine. I am no longer stuck at the samsung galaxy tab 4 logo but i am now stuck at the sparkling samsung logo.
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app

trazfer said:
@moonbutt74 i tried using your updater.script it flashed fine. I am no longer stuck at the samsung galaxy tab 4 logo but i am now stuck at the sparkling samsung logo.
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app
Click to expand...
Click to collapse
Ahh, okay your boot.img/kernel is skunky, or very likely skunky, see if you can access via adb shell
and if so run mount to see what there/correct/missing/wrong.
m
@trazfer
just a thought, if you removed or altered fusedlocation apk that will cause a hang/loop
also if you modified the system directory structure with additional directories, you need to
account for those additions in the permission settings portion lf the updater-script.
generally the permissions for system directories= 755 libraries,configs,xml's and such= 644 binaries= 755
also try after rom flash to custom restore your stock boot.img from your full stock backup
and see if you boot through. If you still hang then the problem is in system, and likely in any /system/addon.d
scripts [init.d] you may have added/modified.

moonbutt74 said:
Ahh, okay your boot.img/kernel is skunky, or very likely skunky, see if you can access via adb shell
and if so run mount to see what there/correct/missing/wrong.
m
@trazfer
just a thought, if you removed or altered fusedlocation apk that will cause a hang/loop
also if you modified the system directory structure with additional directories, you need to
account for those additions in the permission settings portion lf the updater-script.
generally the permissions for system directories= 755 libraries,configs,xml's and such= 644 binaries= 755
also try after rom flash to custom restore your stock boot.img from your full stock backup
and see if you boot through. If you still hang then the problem is in system, and likely in any /system/addon.d
scripts [init.d] you may have added/modified.
Click to expand...
Click to collapse
Thanks for the reply. I will look in to ot this weekend.
Sent from my SAMSUNG-SGH-I337 using XDA Free mobile app

@moonbutt74 , @trazfer
hi ,
promeo123 present Custom ROM T530NU based on T530NUUEU1ANK1-XAR stock .
Look here http://forum.xda-developers.com/showpost.php?p=58279898&postcount=3

Related

[Q] custom ROM still has removed app in /system/app ?!

Hi,
I baked a CM-7.0.3 based ROM with the kitchen, from which (among others) I removed GTalk and QuickOffice. I flashed the ROM with recovery and it works perfectly, but strangely I find
Code:
/system/apps/Quickoffice.apk
/system/apps/Talk.apk
on the phone.
I verified that in the WORKING dir (of kitchen) and in the zip I baked these files are not present (also not other apks like com.google.android.talk) and I whiped the cache and dalvik cache after flashing the ROM.
So where do these come from?!
When I logcat the very first boot with the new ROM, I see 2 lines containing Quickoffice, which read:
Code:
D/installd( 117): DexInv: --- BEGIN '/system/app/Quickoffice.apk' ---
D/dalvikvm( 211): DexOpt: load 435ms, verify+opt 5939ms
D/installd( 117): DexInv: --- END '/system/app/Quickoffice.apk' (success) ---
and the same for Talk.apk.
Does anyone have an idea how to get rid of these?
BTW I'm S-ON, so I always do my modifications to /system in my kitchen WORKING dir and bake updated ROMs as needed.
TIA!
Boot to recovery, go to advanced, then select "format /system" then reflash your modified ROM
Sent from my GT-P1000 using XDA App
Thanks! I'll try that. meanwhile I removed the apks from a shell in recovery after mounting /system, but of course that would be an extra step after the next ROM update. still funny though that it happens, since I thought the updater script already formats /system?
cheers
Sent from my Legend using XDA App
powerpenguin said:
Thanks! I'll try that. meanwhile I removed the apks from a shell in recovery after mounting /system, but of course that would be an extra step after the next ROM update. still funny though that it happens, since I thought the updater script already formats /system?
cheers
Sent from my Legend using XDA App
Click to expand...
Click to collapse
It kinda does, but it backs up certain files and puts them back after flashing. It definitely does this to gapps (including talk) and it may do it to others too.
Sent from my GT-P1000 using XDA App

[REQUEST] Flashable Build.prop

anyone who can make me a flashable zip for build.prop? i edited mine and i cant boot...
You can re flash your ROM in recovery or mount system and use something like adb or android commander to push a stable build.prop to it.
Sent from my GT-N7000 using xda premium
musashiro said:
anyone who can make me a flashable zip for build.prop? i edited mine and i cant boot...
Click to expand...
Click to collapse
For what? Stock GB/ICS, CM9, etc?
If you have valid one you can boot to recovery and use "adb push build.prop /system/build.prop" instead of having a flashable version.
i tried adb and Amora Filemanager and Droid Explorer but i can't delete the files i want to and rename my backup.
so i decided to flash GB rom again.. its a bit of a long shot, but its ok now...

[SCRIPT] Simple Dalvik Cache Cleaner

Dalvik cache cleaner is a shell script which clears the Dalvik cache that can be used with Android Terminal Emulator.
Root and busybox is required, if you don't know what root and/or busybox is then do NOT bother using the script.
Place the shell script in the main directory.
With Android Terminal Emulator type:
su
sh /sdcard/Dalvik_cache_cleaner.sh
The process should be close to instant depending on how much files you have in the directory.
Download: http://caftp.3owl.com/Shell_Scripts/Dalvik_cache_cleaner/Dalvik_cache_cleaner.sh
It worked
~~~~~~~~~~~~~~~~~~~~~
Samsung galaxy s2
Rom: Jedi knight 6
kernel: Jedi kernel 2
~~~~~~~~~~~~~~~~~~~~~
And you thought celebrities weren't smart! =P
Is this also intended to run on every boot, ie via init.d
thebrainkafka said:
Is this also intended to run on every boot, ie via init.d
Click to expand...
Click to collapse
No, that would also waste too much time on boot then on a normal boot due to rebuilding the cache everytime.
When you uninstall an application, usually a dalvik cache file is left over wasting space.
But if you want you can use ROM Toolbox from JRUMMY APPS INC. in the Play Store.
There is a Scripter in that application that you can use for such thing but the problem is that when I tryed using the su binary in the shell script, there is an issue where the su binary in the shell script will just cut off the other parts of the script and only the su binary so your answer would be fat chance unfortunately. :/
Sent from my Sony Tablet S using xda premium
Issue fixed.
Is this the same as wiping dv cache through recovery. Also what will be the script for wiping cache? Will it be rm /cache?
Thanx!
The-Droidster said:
Is this the same as wiping dv cache through recovery. Also what will be the script for wiping cache? Will it be rm /cache?
Thanx!
Click to expand...
Click to collapse
Yes and the code is:
#!/system/bin/sh
rm /data/dalvik-cache/*
reboot
Click to expand...
Click to collapse
I'm not sure if /cache/ is really dalvik cache, on devices with OTA update support the OTA zip's will be stored their with other stuff but if you want I can give you the code for that.
On linux (That also means android) use 'chmod 755' for the permissions for the shell script.
I have tried adding 'su' but that fails has the terminal only executes the su binary so the rest of the script does not get executed.
Using the 'echo' binary to say out what it is doing is a fail has the terminal does not go anywhere due to the echo binary getting executed but it will not display output in the terminal anyway making the script not being executable.
Sent from my Sony Tablet S using xda premium
Man I am full with ideas.
I can create a shell script to do:
[OTA]
Remove OTA Update zip in cache
Copy OTA Update zip from cache to SDCard
[Files and Folders]
Remove LOST.DIR (That is just a useless folder )
Wipe SD Card
Wipe Zip files (useful for custom roms on your SD which you don't want anymore)
Well soon I should get more ideas so the OTA shell scripts will not be possible unless I get a rootable device with OTA functionallity (I do have a Sony Tablet S but I forgot to root it but I went and installed the firmware update without noticing) so it would be the Nexus 4 I would test it on in March.
The thing is that more shell scripts I create more pages I have to add to my website to give information about it, how to use it and the download link which can take around 10 Minutes just by editing the code, make backup and then upload via FTP.
Sent from my Sony Tablet S using xda premium
New shell scripts available which should be available tomorrow and if not a few days.
They are:
Aptoide Cleaner - I found out that the xml files are adding numbers to their file extensions so I built a script which can remove that problem real fast.
Take Out Bin - Removes all or at least most useless directories like LOST.DIR and LazyList, they are just a few.
ExtSD and USB Cleaner - Same has 'Take Out Bin' but it does it on the external SD Card while on USB, LOST.DIR will be erased has that should not be there.
-OLDER PROJECTS-
Dalvik Cache Cleaner - Read the first post.
Andro.Shell.Crash - This is good for developers has this does crash/lag/freeze the OS which can help a root exploit get in, of course there is different effects depending on the hardware and software, if the device is fast and has good hardware then it is possible that it may just lag and/or freeze but for older devices with older hardware can just crash.
NOTICE: The older projects are already out and available to download on my website.
I will be creating a forum about these shell scripts but I am not sure about the Aptoide one for many reasons.
I know that I am not suppose to be talking about this on a thread which has a different purpose but yeah, just an update.
EDIT: I uploaded and programmed the webpages from my tablet using WM FTP Client and DroidEdit Pro so that was a bit too early but all well, new thread(s) should come in tomorrow depending what will happen tomorrow (It is 03:30AM so it would count has today anyway).
Anyone can please guide me how to remove this script???
Thank you in advance
romelcool said:
Anyone can please guide me how to remove this script???
Thank you in advance
Click to expand...
Click to collapse
You just delete the shell script, you only use it in the Terminal Emulator so once you run it, it will wipe the dalvik cache so it will not do such thing in every boot.
Sent from my Nexus 4
Man I think you should create a script which are:
Auto clean of cache || Optimize App || Kill Media Process
If it's possible to you to create script with the list below that will be awesome ! ..
what is the code for auto cleaning cache every 30 minutes ? ..
and also auto optimize application every 24 hours ? ..
kill media process ?
I hope you could help me with this .. Thanks !
CoolApps said:
Download: http://caftp.3owl.com/Shell_Scripts/Dalvik_cache_cleaner/Dalvik_cache_cleaner.sh
Click to expand...
Click to collapse
Gone!
jidanni said:
Gone!
Click to expand...
Click to collapse
That's because I switched sites between 2012 - 2015. This thread was very inactive so I missed it out and didn't update the link with the new one.
The current server I use for it has some files that I'm aware of that are more often downloaded by users which means I ended up removing the shell scripts along with others that don't need to be there. I made a backup of everything before, by the way.
I don't feel that there's a need restore the file and plus, this thread's old.
Because of the sudden bumps of a thread that currently serves no purpose, something should be done about it to avoid further confusions.
Sent from my Nexus 4 using Tapatalk
Can you please tell me what your script did.
I made my own script that does
su -c 'find /data/data/*/cache/* -delete'
This one line saved me from installing multi-megabyte apps that do the same thing.
Is there anything more I should add to my script?
Now I can finally have enough room so Google Play can update apps again!
Thread closed at OP's request.

How can I access & write to my /data partition

Hi,
My tablet was having some issues yesterday and wouldn't turn on, so I managed to do a factory reset, planning on restoring everything from Titanium Backup (from my TWRP backup), however, when I look at my TWRP Backup in TiBu, there doesn't seem to be anything there?
However, when I copy the data.win file to my computer and extract it, I can see all the files and I would like to try and copy some of the saves back to my data partition, however, I can't seem to find a way to find it or write to it?
Any ideas?
Stewart
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
AndDiSa said:
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
Click to expand...
Click to collapse
Ah ok, that sucks!
Is there not anyway I can use an Android based GUI tool to copy the files from my SDCard to /data.
I am not the best with adb, but I imagine the command would be "./adb push <insert file name here> /data/com.bigideas.swys/files", would that work?
Cheers
Stewart
Yes, that should work. Unfortunately I don't know any tool providing the functionality you are looking for.
Sent from my Nexus 7 using xda app-developers app
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
TWRP should work, too, but if I remember well, the USB id is different, so you might get problems with adb if you do not have the correct driver installed.
To push a file to the device:
- unzip/untar data.win on your PC
- boot device to recovery
- on PC cmd-line:
- adb shell mount /data
- adb push <file_or_dir_to_push> /data/
But as I said, most likely it's not enough ...
Sent from my Nexus 7 using xda app-developers app
korockinout13 said:
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
StuMcBill said:
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
The data.win file is just a tar archive. You can extract whatever you want, although there are a couple caveats:
- the .tar archives seem to be absolutely rooted (e.g. /foo/bar instead of ./foo/bar) so you might need to fool with -C or other tar command line options to get the result you are after.
- while you certainly could use 7-zip or similar to unpack the archive and cherry pick whatever you want on a Windoze box, you probably ought to do offline unpacking using Linux so you don't lose file permission settings. An alternative would be to unpack on the device itself to someplace such as /data/local/tmp using your preferred terminal emulator (or adb command line) and busybox combination. Then you can adjust ownership via "chmod -r" as needed and "mv" to move your cherry picks into place. Note you also need to pay attention to /data/app-lib/* in addition to /data/data/* and /data/app/* cherry picks.
- To reiterate about file ownership, probably what you should do is install only the .apks you want first, and then after rebooting, note the assigned user/group IDs chosen for each app install, and change the restored /data/data/* and /data/app-lib/* files to that uid.
Confused? Well, you asked. Look up a decent Linux administration guide for clarification.
good luck

UPDATE! Bloatware cleaning and freezing scripts

Hi!
I made two simple scripts for geting rid of unnecessary software.
Please, backup your system before using scripts!​
Only for Custom recovery, like TWRP, CWM for unlocked and SafeStrap for locked bootloaders!
first of it chmod_TouchLess_WD_NFS_FULL.zip this script will change permissions on bloatware like
Code:
chmod 0 0 0 bloatware.apk
second rm_TouchLess_WD_NFS_FULL.zip hardly removing unusable apk's like
Code:
rm -f ./bloatware.apk
Active Display, NFC, Touchless Control, Live wallpapers, NFS, Dock etc, are working fine!
How to use:
You should just download ZIP on your device, reboot to Custom recovery, choose Install options and define suitable ZIP-file.
Scripts are not signed, so you should turn off Sign checking in recovery settings.
Tested on CWM PhilZ 6.19.3 and TWRP 2.6.3.1
Please, pm me, if you have any problems using this scripts
summer.cat said:
Hi!
I made two simple scripts for installation via Custom recovery.
Please, backup your system before using scripts!
chmod.zip as you could understood setting permissions for bloat files, and second rm.zip hardly removing unusable apk's.
You should just download ZIP on your device, reboot to recovery and choose Install options and define suitable ZIP-file.
Scripts are not signed, so you should turn off Sign checking in recovery options.
Tested on CWM PhilZ 6.19.3 and TWRP 2.6.3.1
Click to expand...
Click to collapse
What exactly do these scripts do?
zdaddi said:
What exactly do these scripts do?
Click to expand...
Click to collapse
I kind of get what he is saying but a better explanation of what they exactly do and why we even need them. I can change permissions to any app with ROM toolbox and deleting apps just as easy with ROM toolbox. From what I read above this is what the scripts do. Better explanation please.
Sent from my XT1080 using XDA Premium 4 mobile app
bigv5150 said:
Better explanation please.
Click to expand...
Click to collapse
i added a better explanation) if you have additional questions, please, ask me.

Categories

Resources