yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] gaww:
Update - did a full wipe, repatched, and reinstalled. Once again, AdAway, SuperSU, and Play store were there initially and after app sharing. But after a few reboots, they were gone or broken. Got all back but play store - just like before I wiped.

don't get it....
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
That's a really strange issue. I'm guessing you are using global app sharing (share all apps) right? I'll probably keep that on for a few days to see if I can reproduce it.

Back in version 5.0.0 (?) , I removed all code that modified /system in any way (due to SELinux issues), so I don't think the system apps are being damages or removed. But there's a chance updates to those apps (which are installed as user apps) are causing issues.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
8.0.0.r34.g90ab28c is building right now and it should fix this issue :)
[Galaxy S 4 i9505 Original Android Development] gaww:
Using global sharing. Thanks for checking
[Galaxy S 4 i9505 Original Android Development] iyahman:
With r21 or r34 snapshot, all the Google edition rom I try to patch failed With "name 'os' is not defined" it happen with Android, Windows ans ubuntu version.
[Galaxy S 4 i9505 Original Android Development] Okaham:
just wondering, has anyone tried running Paranoid Android 4.5 Alpha alongside with PhoenixROM (PhoenixROM as the primary ROM)? If so, did you have to debloat?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Yep, can confirm dandvh latest with googymax3 is not patching anymore although I have been running it long time (since last release). I'm guessing I must have patched it using snapshot 7 r50 Ish off the top of my head.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Confirm this also,it says patch() got an unexpected keyword argument 'bootimages'

---------- Post added at 10:03 AM ---------- Previous post was at 09:37 AM ----------

:laugh:

It's made on my phone with Tasker app factory,I'm totally unable to develop a real app ;)

Since i posted it i noticed a few bugs,at first launch after install the df /cache or /system command sometimes only shows the variable used (something like %DfAwk) and not its result but you can tap on it to refresh>show df result.

On my multislot1 slimsaberkat also the df output is shown in a strange way, don't know why..

The app isn't visible in recents panel also, it's a Tasker app default setting i would to to,once done,decompile the app and edit its manifest.

But your idea about the patcher showing free space (but under system and cache is what really matters) is great, not sure it's possible but what would be even greater is that patcher (after patching rom process maybe) also tells us the extracted size of the system rom folder we just patched so we can compare and know if it will fit under our /system or /cache partition.

It would really help as users reports sometimes really lacks of precisions ("doesn't boot,why?").

Of course if patched rom has an Aroma installer it will be different as size occupied after flash depends on user's choices, so maybe show the size occupied by a rom Aroma installer at its most dunno..or simply not support Aroma installer for this specific function. Aroma installers are mostly used by touchwiz rom and we agree that it's simpler for everyone to use them as primary even if our dear Chen tends to take the challenge ;)
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Ah, I use tasker, so you must have worked out how to find the individual ROMs to switch to, I would really like to put them into individual shortcuts from a launcher app (probably side control or overlay launcher) and if I knew how to do this as individuals then I could put them on there as apps or shortcuts individually here.

Err, not sure I am explaining to well and complicating something really simple.

In short Bejda please could you explain to me how to find the individual slots in tasked :fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] remorema:
There was a reason we didnt talk test builds here in the first place.

The thread is now a complete mess. And if I want to find if I can run dans pure nexus googy edition on official v8 is like mission impossible. Lolol
[Galaxy S 4 i9505 Original Android Development] HampTheToker:
Is your search button broken?
[Galaxy S 4 i9505 Original Android Development] remorema:
My search is just fine. The thread is broken.

I got to give it to chen for posting out a test build every day but this thread as become an organized kaos that only people who follows every build is able to understand.
[Galaxy S 4 i9505 Original Android Development] Bejda:
Well my first idea was individuals apk but finally i fell into the game lol

https://app.box.com/s/2sqhb6o3wmbrzmnybyd5

https://app.box.com/s/f0m96k0cxbmh3c1uflow

One to switch to primary and the other to switch to secondary, but it's already a Peppe130 edition lol

What you would prefer is that it force reboot without confirmation i guess? Pop-up only if boot.img not found?

I'll try to do this later buddy (+multislot),tell me if my description suits you or if you prefer having the confirmation pop-up no matter if boot.img found or not ;)

Ho,maybe you prefer have fun doing you're stuff sorry,basically the command used by patcher is that "dd if" part in this:

mount -o rw,remount -t ext4/dev/block/platform/msm_sdcc.1/by-name/userdata /data
if [ -f "/storage/emulated/0/MultiKernels/secondary.img" ];
then
dd if=/sdcard/MultiKernels/secondary.img \
of=/dev/block/platform/msm_sdcc.1/by-name/boot;echo "Ok we're done Peppe, let's reboot to secondary rom now? Long press on me to reboot now or tap me gently and i'll disappear"
else
echo "We didn't find any secondary.img, don't know what's up Peppe but if you long press on me you'll just reboot on same rom.. better tap me for now huh?";mount -o ro,remount -t ext4/dev/block/platform/msm_sdcc.1/by-name/userdata /data
fi

That's how works the patcher basically, dump our current boot partition to sdcard/MultiKernels folder when we "set current kernel as.." and the other way around (sdcard/MultiKernels > boot partition) when we want to switch roms.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Yep - my idea is open launcher xx then 5 different shortcuts to respective ROMs, one click switches and reboots so effectively 2 actions to get to switch ROM and reboot into it [emoji41]
[Galaxy S 4 i9505 Original Android Development] Bejda:
Edit above ;)

See you later guys,holydays in south france at the moment (artived this morning,I'm from near Paris) go to the beach right now! ! ! :D
[Galaxy S 4 i9505 Original Android Development] peppe130:
Great, great, great!!!! I have an another idea.. I know how to make the perfect patcher. This will require a few time but the result will be very very great! [MENTION=4277844]chenxiaolong[/MENTION] What do you think about renaming the Dual Boot Patcher in Dual Boot Manager and then making an All-in-One app adding the Backup&Restore feature? So there will be less confusion, less app installed.. Only the following features are missing currently:

1) Widget to switch quickly between ROMs.

2) Free space indicator.

2) Create a team with [MENTION=3145598]rlorange[/MENTION] and merge his app with yours.

If you will be able to do this, I will be the first to download it!!! Ahahahha..

Have a nice day :D
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Yep, that's nice, would it be possible to make the apks to switch to ROM then check it kernel is set and reboot of all good. Failing that I'll take a chance and just nice clean one click switch and reboot, worst that can happen is kernel fails to be set and reboot into current ROM. This very rarely happens though I've everything is running right.

Enjoy the breach and your hols [emoji41] and than you [emoji4]
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Make a team with [MENTION=3145598]rlorange[/MENTION] ! Yeah, why not, but it seems his app is mainly the zip version now. I believe he has aborted the apk since a long time, right ?

However, if dualbootpatcher checks the location size where we want to install our patched rom, to know if we can install it. It seems interesting.

For the widget, I'm not interested by that... Sorry ! Finally, it's not me who decide.

Send from my GT-I9505 using Tapatalk
[Galaxy S 4 i9505 Original Android Development] gaww:
With all TW Roms, you have to debloat to get them flashed on Multi or to leave room in /system for a secondary ROM if flashed as primary.

If you have not filled up the Multi location for ROMs (cache - about 2.1 gb) already, you cab put Paranoid there wit plenty of room. If you have to put in secondary (I have slimsaberKK there), you have to squeeze any TW in primary.

I put Phoenix there, and selected the mods/google apps with aroma sparingly, and when flashed, it left about 700-800 mb in /system. With my secondary above and small GAPPs, still have 149 free. You can get an idea how much room you need for Paranoid by unzipping it. If in upper 700 mb size, you may have a problem. If it is less, give it a try.

Usually whet happens if you don't have enough room, the last of the two ROMs flashed (suggest secondary last) may flash, but get stuck on boot-up. You could then wipe it, and then reboot primary and try deleting any system apps you can live without, and then try flashing/booting the secondary again.

Good luck if you give it a go.
[Galaxy S 4 i9505 Original Android Development] Technical:
TW Roms are an insanity space hoggers... I gave up and go for three AOSP ROMs + tons of apps without problems.

A single TW (as secondary) killed the phone :p
[Galaxy S 4 i9505 Original Android Development] Okaham:
Do you or anyone else happen to have a script or guide or something on debloating TouchWiz ROMs? I'm scared I'll delete something important and cause more trouble than intended :eek:
[Galaxy S 4 i9505 Original Android Development] Bejda:
Tons of apps or not doesn't matter, your user apps installed only occupies place on your internal storage not under /system nor /cache.
[Galaxy S 4 i9505 Original Android Development] 012512:
Hi. Please support for YCD rom. Thanks! :)
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
You must have a lot of apps technical, I have over 200 apps (plus at least another hundred in bloaty old tw) and 4 other ROMs fully set up and working, I do actually use all of them, I still have 3gb left on my SD and 580mb free in system and 360mb free in cache :D

You can see in my signature my full setup ;)

---------- Post added at 04:52 PM ---------- Previous post was at 04:51 PM ----------

Shouldn't you be on the beach having a barbecue or something ;)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
XDA, it's worse than alcohol ! ;) Finally, dualbootpatcher...
[Galaxy S 4 i9505 Original Android Development] Bejda:
Well it's true that xda is a 365 days/year addictive hobby and at the moment i have a little more spare time..it might be xda under alcohol actually and maybe more than usual for both lol
[Galaxy S 4 i9505 Original Android Development] gaww:
Funny you asked - I had asked myself recently

What I searched and only found found was an excel spreadsheet that had many system apps (Google & Samsung) and which ones were safe and which weren't (not all were listed). Thought I put it in Dropbox, but not there, so try searching for it.

Note - if you use ROMs with an aroma installer, you can keep a lot of it off safely. I got Omega 34 paired down enough to use as primary ROM with an AOSP secondary.

---------- Post added at 07:04 PM ---------- Previous post was at 06:52 PM ----------

I was going to say Chen should be on the beach also, but I think he is near Cleveland and you don't want to drink even the municipal water from the lake much less swim in it now.

So he can stay right where he is working on this stuff 20 hours a day...

PS Bejda - watch out - you might find your device ends up taking a swim if you don't "holiday" .
[Galaxy S 4 i9505 Original Android Development] zoleegee:
I need some clarification guys...

I've installed Dans GE ROM, flashed alucards kernel. Installed all my stuff, all fine. Installed dual boot patcher app...

I've downloaded the rom I want for 2nd Rom.

Patched the zip. The gapp zip is unsupported says the patcher. Ok, I've found a way to patch it. So now I have both zips patched. Do I have yo patch alucards zip and flash the kernel again, then in recovery flash the two zips?
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! Fixed in 8.0.0.r35.g782b6ce
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
What you really needed to do was to go into the patcher app when you first booted primary then set kernel to primary in the app, for updates you can use patcher app to also patch primary, you can use that for clean installs also and you don't need to set the kernel in primary.

What you need to do now to get into primary again is flash a kernel in primary or dirty flash the primary ROM and then it will boot, make sure to set the kernel when you boot ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Have fun! :laugh:
[Galaxy S 4 i9505 Original Android Development] zoleegee:
I can boot, no problem with that.

I have both the 2nd rom zip and the matching gapps zip patched.

I set my current kernel as primary.

My main question is that before I flash the 2nd rom zips in recovery, do I have to patch alukernel zip as well, or just gi ahead and flah the 2nd rom zips?

When do I get to choose which Rom i want to boot into?
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
you should download dual utilities script and have it somewhere handy to flash in recovery always :good: you can use this to swap roms, and also do all wipes you usually do in recovery - NEVER use recovery to do wipes else you have to flash all systems of dual and multi roms back again and its long!

You should install patcher app in all roms and you can use this to swap roms whichever rom you are in.

Basically, anything you flash should be patched apart from kernels for primary

If you have patched and flashed secondary/multis then no need to patch and flash kernel (unless you want to change kernels)
[Galaxy S 4 i9505 Original Android Development] Technical:
[MENTION=4277844]chenxiaolong[/MENTION], I've finished the PT translation and noticed I was doing the PT-PT version. Sorry if I messed anything there.

Can you allow me to PT-BR...? I wish to copy&paste all the PT-PT entries... Could you do it for me? It will help me a lot. Thanks.
[Galaxy S 4 i9505 Original Android Development] Technical:
Well, then I don't know what am I doing wrong...

Indeed I have 300+ apps but you have 4 ROMs! I'm not understanding...

---------- Post added at 10:38 PM ---------- Previous post was at 10:36 PM ----------

So, what am I doing wrong... I could never install a TW ROM as secondary... It stucks on Samsung logo all the time...
[Galaxy S 4 i9505 Original Android Development] gaww:
That usually indicates not enough room to boot. I have seen it several times as I was trying to get a TW installed as a multiboot. When that happens and you check the free space in /system (if duelboot flash) it will probably be 0 - so no boot.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
Well, I guess you may have bigger apps - go into android terminal and type the command df and see what you get for system and cache - that's a much better indication of available space.
[Galaxy S 4 i9505 Original Android Development] Bejda:
But..maybe i'm an anal vacationer ;) but our apps,our user's apps,those installed through playstore or package installer take place only into our data partition,our ~9gb of internal storage,our sdcard.

I guess my main psychological orientation is the fear of being misunderstood actually lol, sorry if i mentioned someone that knew this already and for the redundancies :o
[Galaxy S 4 i9505 Original Android Development] gaww:
Plus, except for any system apps, this does not impact the room for the ROMs in the two places they go. The non-system use apps go to data, and that is only limited by your internal SD.

Update - now I see the post above - lol

And Bejda - get back on the beach !!!

And Chen - stay away from the beach - saw a satellite photo of the whole lake - looks like the river in Chicago on St Pat day !
[Galaxy S 4 i9505 Original Android Development] Bejda:
No (please lol) did it already this morning.

Now that i made a great little nap under the shadow after a late lunch the program should be canyoning. I'll be back around here pretty soon anyway,the only condition is that I'm still alive later :eek:
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
LOL:laugh:
[Galaxy S 4 i9505 Original Android Development] Bejda:
Well it's not that i really master the art of logcat lol,i would have to Google again to remember the exact way to filter logs by activities or such for instance (messed up memory also sadly).

I use a monitoring app actually but a great (and open source ;) ) one that i hope you'll find interesting:

https://play.google.com/store/apps/details?id=com.eolwral.osmonitor

https://github.com/eolwral/OSMonitor/issues

I'd say it's logcat oriented,at least my usage is, for the few i tested (when it wasn't maintained anymore) i never found one better on this side.

At the moment the "long press process>show log" is kinda broken on my S4 (log is displayed but disappear after about one or two seconds and doesn't come back until app is restarted something like this), i didn't took time to report it for now but there's still the "message" tab where you can long press an element for it shows which process it is + multiselect the ones you want and then,like on processes tab, export if wished to sd.

Dev is very friendly also, he reminds me someone dunno.. ;)

---------- Post added at 02:31 AM ---------- Previous post was at 01:52 AM ----------

As you can see i survived ;)

I feel like the OT king at this moment lol but well it may interests others for same usage who knows..

https://app.box.com/s/auncb9kj6dy58gdnt021

https://app.box.com/s/hzkm7bplkvzoikc0ksdl

About same thing as the previous individuals apps,it's just that it force reboot without confirmation if ok and just shows a "*****.img not found" pop-up if it can't find the corresponding boot.img under /sdcard/MultiKernels folder.

Just primary and secondary roms for now but i'll do it for multi ones if you want (btw if you have another preferred specific icon it's not a problem,but let's see through PM ;) ).
[Galaxy S 4 i9505 Original Android Development] remorema:
I'll give you a hand with PT PT during the next couple of days. I've been busy with my kids. My 2yr old daycare is closed for holidays and I have to stay babysitting my kids ;)

I'm still in doubt wich one gives more worries, the 2yr old son or the 11yr old daughter. Lolol

Question: I want to give cm11 m9 a shot as secondary. Is it all working in official patcher v8 or do I have to use the "nightlies"?
[Galaxy S 4 i9505 Original Android Development] Technical:
You can use any of them :o

About the PT-PT, well, you'll need to change arquivo with ficheiro and so on...
[Galaxy S 4 i9505 Original Android Development] remorema:
I'll look at it when I have the time to sit at my laptop without the kids running around. Using that site via mobile sucks ;)

guess I'll try the latest test build than. Allready have my primary all setup with imperium V9. Will see if I can squeeze cm11 into system partition along with imperium.
[Galaxy S 4 i9505 Original Android Development] gaww:
Wipe secondary system and then see how much space you have available with the tool or terminal. If less then 1 gb, then unzip test build and the GAPPs you want to use. three should be a cushion in system after you flash it or it will not boot.

---------- Post added at 04:30 AM ---------- Previous post was at 03:32 AM ----------

i have run into an odd issued with current TWRP 2.7.1.0.

I had been using old reliable 2.5.0.2 until it recently would not flash a ROM, so updated to the above. When I was using the old one and backing up whole duel boot setup, I found that when I went to app sharing, the data size in the backup got smaller - as expected.

But when I went to use 2.7.1.0 - data to be backed up got huge - like it was back to non-shared data.

Has anyone else run into this ?

Also, TWRP backups by system, data, and cache. Don't recall if cache has to be done to preserve the Multi ROMs. If so, mine before compression is abut 2.5 gb - larger than the 2.1 gb space for them (whice is not full) ?
[Galaxy S 4 i9505 Original Android Development] Bejda:
Hello :) Nameless rom has merged its SmartCover support implementation since about two weeks, latest (but probably last) Madhi-rom cherry-picked it also if it's something you,or anyone,are looking for or wanna test ;)
[Galaxy S 4 i9505 Original Android Development] peppe130:
[MENTION=4277844]chenxiaolong[/MENTION] Italian translation updated ;)
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Check out 8.0.0.r46.g0dc7e83 for #2 :D
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Hi Chen,

You've a little bug in your app... When you go into "Free space" and after, you go into another layout, we still see the disks of "Free space" in background of others menus.
[Galaxy S 4 i9505 Original Android Development] peppe130:
Simply perfect!!!!!!!
[Galaxy S 4 i9505 Original Android Development] gaww:
Just tried it - nice job.
[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks! Fixed in 8.0.0.r48.gd60fe2a
[Galaxy S 4 i9505 Original Android Development] Chahk:
Russian translations completed. Not sure what the differences are between "ru" and "ru-RU", but the other options disappeared when I selected one.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Otherwise, it's a great work like always.

Thanks !!!!

Also Thanks for your spontaneity.
[Galaxy S 4 i9505 Original Android Development] peppe130:
[MENTION=4277844]chenxiaolong[/MENTION] These circles are a bit strange on my S4 or not? xD

I just Discovered something! Diagrams change their colours each time we restart the app!! Great job Chen!
[Galaxy S 4 i9505 Original Android Development] Bejda:
White part is free space, seems ok no?
[Galaxy S 4 i9505 Original Android Development] peppe130:
Yes, but mine are different from those of Chen
[Galaxy S 4 i9505 Original Android Development] peppe130:
[MENTION=3648432]Bejda[/MENTION] [MENTION=2875350]franzyroy[/MENTION] There are eleven new strings to translate :)
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I know but I lose my internet connection at home... Issue with my line. If I can do it with the USB sharing of my phone network, I'll do it. Because, with the phone browser, it's not possible.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
I got something strange going on with my primary tw, in fact every tw I ever installed in primary works fine for a while then I lose Wi-Fi and only way to get it is to reflash system. Also, when I install a different kernel on primary it always end up reverting to the default ROM kernel. I've tried kernel wipe script (which didn't work out to good because I had to reflash system of all my other ROMs lol) and of course I always set kernel as primary on first boot. I was hoping the new patching primary would help but no.

Did I miss a page of the book somewhere or do any of you guys see this behaviour, better still, have a solution for it?
[Galaxy S 4 i9505 Original Android Development] franzyroy:
It's OK... the french translation is done now! Sharing connection via phone USB has worked.

---------- Post added at 11:48 PM ---------- Previous post was at 11:46 PM ----------

[MENTION=4277844]chenxiaolong[/MENTION]

It's good for me.
[Galaxy S 4 i9505 Original Android Development] peppe130:
Ok perfect! Now we just wait until [MENTION=4277844]chenxiaolong[/MENTION] uploads the new strings (Free space and other strings in the source code)

---------- Post added at 09:57 PM ---------- Previous post was at 09:54 PM ----------

Oh Chen has already uploaded the new strings ahahah