yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 4 Android Development] jazzespresso:
I used one of S6 custom TW ROM (5.1.1 ones good example since ours is also 5.1.1) to insert superSU, and i was able to do so on my test ROM I am working on.

check it out some of S6 ROMs and see how they did it. It did help me a lot.
[Galaxy Tab 4 Android Development] JustZaphod:
I decided to just pull the System partition from my tablet and incorporate it into my latest build..

I never thought to inject install-recovery.sh into the system.. thinking it was just an install script..

its needed to run the SUDaemon
[Galaxy Tab 4 Android Development] JustZaphod:
UPDATE: Ultralite Released, [Xposed]

Finally got preroot to install, added Xposed Binaries with it's APK, all preinstalled!

"Ultralite" is the most minimum you can go with this rom, all bloat and samsung related material that could safely be removed is gone..

https://www.androidfilehost.com/?fid=24052804347809202

I have tested this, as I test every build.. Everything works, no bugs that I'm aware of...

And remember you must already be on Samsung's 5.1.1 Stock base to be successful in installing this..
[Galaxy Tab 4 Android Development] jazzespresso:
that's another way of doing; here's how I am doing it in my ROM

package_extract_dir("supersu", "/tmp"); --> this is SuperSU binary installation from S6 custom ROM

..........

set_progress(0.6);

ui_print("Installing SuperSU ...");

ui_print("***********************");

symlink("/system/xbin/busybox", "/system/bin/busybox");

run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");

run_program("/tmp/install_su.sh");

delete("/tmp/install_su.sh");​
[Galaxy Tab 4 Android Development] JustZaphod:
Yeah that looks good..

I'm baking it into my Tablet and pulling the System folder.. and the refine it some more..

I hope your aware that the S6 is a 64bit verses 32..
[Galaxy Tab 4 Android Development] jazzespresso:
of course my friend!, I am just getting some ideas of installation pieces from them, after all installation of superSU binary is pretty much standard..
[Galaxy Tab 4 Android Development] jazzespresso:
have you tried v73 yet? I remember I have seen v73 one...
[Galaxy Tab 4 Android Development] Snow_Ghost:
Nope, I have not...yet.
[Galaxy Tab 4 Android Development] JustZaphod:
The official Xposed Builds are not designed for our devices in mind...

They are specifically made for AOSP devices or close to that.. in mind..

Walo/Wanam's modified build works best because it was made for the Galaxy note which is very similar or close enough to the Galaxy tab
[Galaxy Tab 4 Android Development] jazzespresso:
we better use Wanam's build as his version of 32 bit - xposed-v73-sdk22-tw-arm-custom-build-by-wanam-20150903.zip is better suite to our tablet, also if you unzip Walo's zip, he has 64bit binaries include, which may cause instability in our device.

See here for Wanam comment on Walo's build:

http://xdaforums.com/showpost.php?p=62692602&postcount=887
[Galaxy Tab 4 Android Development] mrdreamers:
tried flashing this rom and after rebooting from recovery it boots back to recovery everytime, what can i do?:confused:
[Galaxy Tab 4 Android Development] JustZaphod:
Sounds like you did not update your firmware to 5.1.1..

Flash the Update in ODIN, then flash UltraStock/Ultralite
[Galaxy Tab 4 Android Development] mkpcxxl:
Yesterday I flashed the Ultralite in my SM-T330 (without NU) and it run like hell.

All is working very well also Xposed and root and the best is the RAM.

Stock: 350MB free, with your ROM 925MB free.

Thanks for your great work.

Greetings

mkpcxxl
[Galaxy Tab 4 Android Development] jazzespresso:
[MENTION=5501022]Zaphodspeaks[/MENTION] won't help you if you don't provide detail how you flashed, what firmware you were on prior to flashing this ROM..etc....

without providing any detail and coming here saying "got bootloop" does not going to help developer to help you.
[Galaxy Tab 4 Android Development] JustZaphod:
I left an extremely detailed tutorial in my Original post, followed by many questions by people who did NOT read my directions, followed by many Re Tutorials through out the first and second page..

If the user does not know how to flash, or has zero experience, or still does not want to follow directions..

I will not be their mommy and do it for them.. I learned the same way everyone else did.. When ever I asked a question I got the same thing..

No one taught me how to do anything, I learned on my own by reading and reading and experimenting.. No one ever walked me through an install

Now with that being said, if you don't know what your doing, then you shouldn't be flashing.. It's like driving a car while blind folded at 90 MPH..
[Galaxy Tab 4 Android Development] jazzespresso:
heh heh heh agreed :good:
[Galaxy Tab 4 Android Development] grahamtein:
So i am in need of a little direction at the moment, i was running Blisspop on my t330nu, but some of its quirks left me wanting something a little more polished.

The link to the stock 5.1.1 firmware in the begining of this thread was dead so i downloaded it from here: http://216.55.178.109/direct-download-link/T330NUUEU1BOG1_T330NUXAR1BOG1_XAR.zip

Flashed it in odin, booted up.

Back to download mode, flashed philz recovery.

Wiped it for a clean install.

Flashed the Deknoxed deoexed rom

The first boot wouldnt finish, let it go for 30 minutes beforestarting the whole process over, thinking i made a mistake.

Same thing. the samsung splash screen comes up, and thats it.

I may go back and try one of the other roms when i have more time to play around with it.
[Galaxy Tab 4 Android Development] JustZaphod:
Color me curious.. Can you provide a log cat?

Try doing this in TWRP.. You should already have the firmware where it needs to be, so try TWRP.. Wipe System, Dalvik, Data, and Cache..

Then install UltraStock/Ultralite... BTW what version were you trying to install?
[Galaxy Tab 4 Android Development] pyromayniyak:
I am in the same situation as grahamtein. Tried Philz and TWRP. Tried with ultraliev5d and ultrastock. I am no stranger to flashing, modding, and odin. Yes, I did read and follow the detailed and easy to understand instructions but to no avail. Since I am apparently not the only one having this problem maybe I haven't lost it... yet...maybe.

Edit: Wiped System, Dalvik, Data, and Cache in TWRP 2.8.3.0 and 2.8.7.0 from the start since the instructions stated that a factory reset was not enough.
[Galaxy Tab 4 Android Development] JustZaphod:
If your having trouble.. Why not give JazzRom a try..

http://xdaforums.com/tab-4/developm...-8-0-5-1-1-t3196712/post62729894#post62729894
[Galaxy Tab 4 Android Development] pyromayniyak:
Thanks for the heads up. Didn't even know there was another TW LP ROM available. Will try that. Still want to try ultralite though. I like options.
[Galaxy Tab 4 Android Development] jazzespresso:
If you tried several times and still got the same result, what I would recommend is start from scratch; what I meant is flash official 5.1.1 firmware via odin, and then flash PhilzTouch CWM Recovery - if you are having issue flashing PhilzTouch CWM Recovery, download it from moonbutt74 thread, copy it to your tablet, unzip it, and locate recovery.img, and using Flasfiy app flash it to your tablet. And finally, grab moonbutt74's bootable stock lollipop kernel and flash it, and then flash Supersu beta 2.49 top of it.

If you get to this point without any issue, you should be running official 5.1.1 ROM with root and PhilzTouch CWM Recovery installed as your recovery. Now, come back here and flash this ROM following the instructions .

If still having issue, then there's something did not work in above steps.
[Galaxy Tab 4 Android Development] wire55:
[MENTION=5501022]Zaphodspeaks[/MENTION] could you make a Ultralite rom without xposed? I don't really want or need xposed. Thanks, Wire
[Galaxy Tab 4 Android Development] JustZaphod:
I could... But if you have no use for Xposed, just uninstall the APK..

The Binaries are useless with out it..
[Galaxy Tab 4 Android Development] wire55:
Ok, thank you very much.
[Galaxy Tab 4 Android Development] grahamtein:
Jazzrom worked for me. The initial boot took 15 to 20 min, but its running stable now.
[Galaxy Tab 4 Android Development] JustZaphod:
Both Jazz's ROM and mine both come from the same base.. His has some special mods such as some nice Asus ported Widgets and Apps..

but under the hood its the same base.. So it should of worked both ways..
[Galaxy Tab 4 Android Development] JustZaphod:
UPDATE 9-10 Added, Ultrastock, Ultrapure

UltraPure Ultrastock added 9-10: No Xposed, no Root..

Debloated, Deodexed, and Desamsunged, for those having problems with earlier builds..

https://www.androidfilehost.com/?fid=24052804347812624
[Galaxy Tab 4 Android Development] dimirass:
Sm-t530 version?

[QUOTE/Zaphodspeaks"T330NU-LP_UltraliteV5e-Xposed-Root"/QUOTE]

Could you please build a version for 10.1 tab (SM-T530)? So many TW roms for 330, but non for 530, it will be greatly appreciated! THANKS A LOT!
[Galaxy Tab 4 Android Development] JustZaphod:
I don't have the T530 so If I could create a functioning build, there is no way I could test it..

And there are plenty of T530 Deodexed roms out there.. Just look
[Galaxy Tab 4 Android Development] pyromayniyak:
OK been playing with JazzRom for a while now. Haven't finished tweaking it to suit me yet but I'm ready to come back and try this out again. Jazz has some nice tweaks but I kinda like the leanness of this one. So... with that being said, Can I just factory reset and/or clean for new rom then install this from Jazz or do I need to odin stock, odin recovery then flash? Never did get it to actually run for me before but I really want to try this out.
[Galaxy Tab 4 Android Development] JustZaphod:
To be sure, Wipe System, Dalvik, Cache, and Data..

Jazz's ROM is pretty good, if you like the Bells and Whistles.... He ports apps from other devices..

I do like the Asus Launcher for example.. You could still use his ROM and go to TWRP and run a DeSamsung Script..

I modified a script that is already available..

I attached 2 scripts.. One is just one I found and use, the other is untested but it should work.. It further debloats it..

So you can use Jazz's ROM and have the debloated goodness.. Both our ROMs have the same base..

Just flash the Script in TWRP..

Oh, BTW you already have the 5.1.1 firmware installed, even if you wipe System, the firmware is still there.. Jazz and I are using the same base, so there is no need to reflash the STOCK rom in ODIN.. Jazz does some great stuff.. But you can have your cake and eat it too with the debloat script..
[Galaxy Tab 4 Android Development] bbwarfield:
Dear ZaphodSpeaks, I've just upgraded my Samsung Tab 4 8.0 SM-T330NU from KitKat to Lollipop 5.1.1 using http://xdaforums.com/tab-4/general/links-galaxy-tab-4-official-lollipop-5-t3102844.

Question 1:

I'm just wonderding if it's possible to get the same result by manually deodexing/debloating/deknoxing my Android myself (rather than flashing your ROM)?

Question 2:

What does "cleaning" mean? I refer to your list of removed and cleaned apps:

Quote:
[Galaxy Tab 4 Android Development] JustZaphod:
To Deodex, I used a tool that is easily available if you do a Google Search, Pull the /system/app - /system/priv-app and framework..

there are tools lying around simple enough for me to find.. Once you Deodex, delete /system/app -/system/priv-app and framework and replace it with the Deodex files.. Copy and paste those folders to where they would normally be.. Cleaning is more of a Debloating process.. Look at my previous posts.. I have attached a Debloating script.. the one with my name on it debloats more than the stock script..

There are many steps, and there are NO windows Android Kitchens that work, you must use Archi Kitchen in Linux, there it will help you Deknox and compile the rom into a flashable zip.. I have Archi Kitchen slightly modified because it inject an older Supersu-aka Root.. So it flashed root with no problem.. The biggest problem your going to come across in my personal experience is the updater-script.. If you don't get it right it won't flash at all.. The updater-script tells the recovery where everything goes and where everything is.. If you play around you will get it.. Just Google everything.. It's how I found it.. The only bad thing is there is not one tool that does it all.. Archi Kitchen will not Deodex a 5.1.1 ROM.

You will need another readily available tool to Deodex.. Once your properly Deodexed, and have a proper updater script you should have a installable ROM... But a fair warning.. Use Moonbut74's modified kernel, or you will not be able to root.. That again is easily available if you Google search it..
[Galaxy Tab 4 Android Development] bbwarfield:
Dear ZaphodSpeaks,

Thank you for your reply. It's a bit over my head and I may have to re-read a few more times. :)

What exactly does DeSamsunged mean/do?

Maybe for now I'l use the Lollipop that comes from Samsung. How do I root this regular Lollipop (on my Tab 4 8.0)?
[Galaxy Tab 4 Android Development] JustZaphod:
Simple, DeSamsunged means everything Samsung is removed..

When I started out, I had no clue on what or where.. From my perspective now.. Its actually pretty easy once you understand the steps..

You will have to familiarize yourself with different tools, and go through many soft bricks, over and over again.. Once you get it, it should be simple... Just do the research, experiment a little, and be patient.. If I told you everything I know, it would be less satisfying to you as a accomplishment.. Just read the forums, download some of the ROMs in this Forum, look at what they did, what I did, What Jazz did.. Look at how it all comes together.. Then just read, and read, and experiment..

I have a 100 percent untouched UltraStock, you should start there.. the hardest part for me really was unpackaging the System.img.ext4 into something usable.. That is where everything you really need is in.. Also use Moonbutt74's modified kernel.. You will not be able to root with out it..
[Galaxy Tab 4 Android Development] bbwarfield:
I have downloaded your "T330NU-LP_UltraliteV5e-Xposed-Root" and Phil's Touch custom recovery. But what do I do now? How do I work with Phil's Touch Custom Recovery? The instructions seem incomplete. How do I get "T330NU-LP_UltraliteV5e-Xposed-Root" onto my Tab?
[Galaxy Tab 4 Android Development] JustZaphod:
If you have an External SD card, just move the .zip installer there..

I would rather you use TWRP.. its a much simpler interface..

Phils touch is not for n00bs.. It can be a tad confusing if you have no idea what your doing..

But if your using Phils touch, just be sure you wipe the system, data, cache, and dalvik..

There is an option to wipe and prepare for a new rom.. If you can find that.. Then use that..

Then flash the Zip.. I pulled the Entire System folder from my tablet, so it is prerooted with Xposed and App ops preinstalled..
[Galaxy Tab 4 Android Development] bbwarfield:
Yes, I have a microSD card slot, and an empty 64 GB microSD inside the slot.

Ok, I could use TWRP. What exactly is TWRP? Where do I get TWRP? (These are questions which would be good to be answered in your original post.)

I googled TWRP. The first result is twrp.me/? Is that what you had in mind? If so, I don't see Tab 4 8.0 in the list of devices. There's Tab 4 7, but not 8.

The second result is https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager&hl=en. Is this app what you mean by TWRP? If so, the problem is that it says it requires root. What then? How do we root? (Again, all of the steps and sub-steps should be clearly indicated in your original post.)

After I download TWRP, then what? Please provide step by step instruction for n00bs like me.

OK, because I'm a n00b, I'll not use Philz Touch. By the way, are there any benefits in using Philz Touch that are not in TWRP? In other words, what would I lose in using TWRP?

Is this for Philz Touch or TWRP?

Again, is this instruction for TWRP or Philz?

-------

It would be so so so helpful if your OP had the

step-by-step

instructions.
[Galaxy Tab 4 Android Development] JustZaphod:
Hey.. we all were n00bs at one point or another, all the tools you need are here on these forums..

If your having trouble just stick to what you have.. I'm not a baby sitter..
[Galaxy Tab 4 Android Development] JustZaphod:
My OP DOES have detailed instructions.. Unfortunately your unable to understand them.... I don't mind giving tech support to those who need it and have the ability to understand direction.. When I started out I knew nothing, zippo.. I asked for help and I got the same rant I'm giving you. If you do not know what your doing, or understand direction, then you should stick to the stock 5.1.1 or flash back to 4.4.2 if you know how.. If this crap continues I'm simply going to close this thread and leave the thread as is.. I'm sorry you can not understand what I have said to you over a dozen times.... My thread is not to teach you HOW to flash a custom recovery because that is not my thread.. I'm not going to teach you how to flash a Kernel, again because that is not what this thread is about.. This thread is for people who have the knowledge or experience in flashing custom ROMs.. Google and Youtube are your only friend here.. No one else is going to answer any of your whiny questions because they have been asked 100000s of times the same exact question and neither of those n00bs know a clue of how to flash.. This is a DEVELOPER's website, not for end users.... So take your time, read and study like we all did.. I will NOT be answering any more of your questions or PMs..

Good luck to you, and I hope you figure it all out.. It's not that hard..
[Galaxy Tab 4 Android Development] :
Z,

Running nice with UltraStock-DeKnoxed-DebloatedV4 :good:

Thank you much!

m
[Galaxy Tab 4 Android Development] JustZaphod:
It's just a debloated rom.. I pulled the System right from my tablet.. I couldn't inject root properly.. So I thought, hey.. why not just pull the system from my tablet.. App ops preinstalled, rooted.. and Xposed..
[Galaxy Tab 4 Android Development] JustZaphod:
I'm currently running my own version of JazzRom.. Just severely debloated..

I like the Asus Launcher..
[Galaxy Tab 4 Android Development] smartbrains:
i've tried several times with the different versions.

i installed 5.1.1 using odin.

i get philz working, clear the partitions as per the instructions.

i have the ZIP file on my microSD card, and install it from philz. after i reboot, it just gets stuck at the samsung screen with the stars.

where can i get a log file to see what's the hold up?
[Galaxy Tab 4 Android Development] JustZaphod:
Here is how you can pull a log cat.

http://xdaforums.com/showthread.php?t=1726238

Just to be sure always clear Dalvik and Cache.. It can take over 10 mins to first boot..

I've timed it at exactly 7 mins.. I run my timer every time I do an install to compare..

If your using Phil's Touch, be sure to wipe the entire system and prepare for a new ROM..

Clear Cache, Dalvik, System, and Data.. and don't worry the firmware is still there, you just clearing the stock rom

Then Install the .zip.. if you skip any of these steps, it will bootloop.. I test every build, in fact all my builds are pulled directly from my Galaxy Tab, dumped and recompiled.. So I know they work..
[Galaxy Tab 4 Android Development] smartbrains:
how do i get adb to recognise the device? i have samsung usb drivers installed, but adb just gets stuck at waiting device. i feel like i need to enable developer options, but obviously that isn't possible when the OS doesn't boot.
[Galaxy Tab 4 Android Development] JustZaphod:
You will need to download the Samsung drivers.. But If you just plug your device into your PC it should download generic drivers

Here is what I use for ADB (Android Debug Bridge) Be sure you have USB Debugging checked on your device..

http://developer.android.com/tools/help/adb.html

That will have all the commands you need

I attached the ADB.zip, just unzip to your Desktop.. I won't tell you how to do it, but I can give you the tools so you can learn like we all did..
[Galaxy Tab 4 Android Development] smartbrains:
how do i check usb debugging when it doesn't boot?
[Galaxy Tab 4 Android Development] JustZaphod:
First off, your skipping steps, you should have the Stock ROM, flash through ODIN.

https://www.androidfilehost.com/?fid=95887005526787215

Reboot, let it do its thing boot up, then Flash your preference of Custom Recoveries.. Phils Touch, or TWRP via ODIN again.. I would use TWRP because its easier for n00bs.

http://xdaforums.com/tab-4/development/twrp-2-8-2-0-unofficial-t330-t2980716 It says it's no longer supported, but it works.. I use it all the time..

Once your booted into the ODIN flashed Stock ROM.. Go to Settings, then General, then select About Device..

You will see Build Number, click on that 7 times, it will give you a Developer options menu.. Then Select USB Debugging..

Boot into your choice of Custom Recovery, be sure to wipe the system, data, Dalvik/Art, Cache.. The Samsung firmware will still be there..

Then make sure you have the Zip installer on your SD card, and flash, reboot... Wait 10 mins.. and I mean 10 mins.. It takes a long time..

You should not have any issues from there...
[Galaxy Tab 4 Android Development] smartbrains:
on a hunch, i used a different microSD card (32gb FAT32 instead of 64GB) to install. went smoothly first time.

if others have had the same issue, perhaps leave a note that you should use a 32GB FAT32 SD card
[Galaxy Tab 4 Android Development] bbwarfield:
I have T330NU-LP_UltraliteV5e-Xposed-Root, but getting Security Notice

In Philz Touch, I went to Wipe and format Options, then Clean to install a New ROM. I also did Wipe Cache and Wipe Dalvik/Art.

I then went to Install Zip and flashed T330NU-LP_UltraliteV5e-Xposed-Root. I then flashed the betaSupersu zip. I then did "Reboot Now".

After patiently waiting the approximately seven minutes, I get the cloudy sky-blue Welcome screen. But I'm getting this security notice:

So I tap the box:

I tried Googling for this. People say it's a Knox issue. But I don't have any Knox apps any more. What's causing this? And how can I solve this?
[Galaxy Tab 4 Android Development] JustZaphod:
The security notice is likely from Google Play Services.. I get one every now and again.. Its because the Kernel was modified, and Knox was removed.. Just because the Knox files are removed, Knox still remains buried deep in the system.. It's also in the Kernel, even though this one is modified.. It's just modified and Set to Se Permissive, and that throws up a security alert. You can't completely remove Knox all together, but just ignore the alerts.. Samsung made there 5.1.1 ROMs almost impossible to completely get rid of Knox.. Knox was just removed enough to permit Root.. It's the core of their version of 5.1.1...
[Galaxy Tab 4 Android Development] bbwarfield:
Solution to Security Notice: Remove/Freeze SecurityLogAgent

Hi, Zaphod.

I posted my own Q&A thread on xdaforums.com/tab-4/help/rooted-5-1-1-tab-8-0-sm-t330nu-delete-t3206135 and Nudi and Zach responded with the same helpful solution: Delete or freeze SecurityLogAgent. I have it frozen now and the Security Message is gone! If there a good reason for me to keep this file on my system, please let me know. Because I'm planning on deleting it soon.
[Galaxy Tab 4 Android Development] JustZaphod:
Good to know..

It should of been a part of the debloating process
[Galaxy Tab 4 Android Development] xnatex21:
I'm not sure what I did wrong but I wasn't able to get either debloats to boot. I downloaded them both twice and was using Moonbutt's Philz. I even pulled everything off of my SD card, formatted it again, and put them back on.

I was coming from BlissPop.

Then I downloaded Jazz and installed from internal SD and all went fine. I wonder if I shouldn't try your debloats from it as well...
[Galaxy Tab 4 Android Development] rsktkr1:
This rom works great for me (full debloated /desamsunged/xposed). I hear Samsung has a big update coming for my S6 Edge which is maybe marshmallow. Wonder if they will update this to marshmallow?