yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Sorry bro.I couldnt but just saw the script and its fine except package. Dont worry after the framework it'll be resolved probably as am downloading the framework and script both and will let u knw asap.

And till then do study too and hard like ur making a rom out of it.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Shiningb:
[MENTION=4879114]Sami Kabir[/MENTION] would it be easy for you to restart to do the rom from the beginning

And see if this same result is obtained

Or maybe base the rom on another rom...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Bro took a look at the framework...

Can u do this Place all the framework files under the original framework ( samsung's rom )...

So it will have the signatures of samsung..

Simply just put all the files except the meta -inf dir.. of the original framework... and then use the rom just to check that the signatures are not conflicting with permissions and installation.... it's a small thing but i think that they are conflicting.

and what u did with the build prop.. Made changes yet ?

If it not works.. i am still looking but u can use a script for the issue...and try to get a logcat of the above said pls..

Pls do this and post...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Mate I already did that... my modded framework-res.apk has Samsung's meta-inf folder and also the AndroidManifest.xml... Its not just framework-res.apk.. all my modded apps are having their original Meta-inf and AndroidManifest.xml inside them PLUS I personally tested all my modded files and apps on my phone before including it in my ROM....

Just take a look at those Screenshots.. this is a Samsung firmware but all the system files are from my ROM and they all work very SMOOTHLY without any Errors :cowboy:

I still did not do this yet.. I will do this and post ASAP :cowboy:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Yeah i saw that.. That its sams ui.

So sign the framework.apk. Just sign no modding. And replace the stock samsung's meta-inf..

And disabling hw and surface dithering

Did u tried that..

And check the lcd dir under the ph.'s root directory.. And the resources.

Pull a logcat again pls. It'll be helpful.

It gets bugging sometimes isnt it
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
- But mate if I replace Samsung's meta-inf then it will cause a bootloop right? if not then please tell me how I will "properly" sign it? :o

- I will disable surface dithering and inform you if it worked or not...

- Where is this "ph".. so that I can go its root directory :o

- Ok, after doing all this I will pull a fresh new logcat :)
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
0

By ph. i mean It's Phone..

Check under the sys/class/lcd..

The parameters..
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Sorry mate but I am still a bit confused here...

- What does that "0" on your reply mean?

- After installing my ROM how will I go to sys folder SINCE my display will not be working....

But on my current firmware I went to sys > class > lcd folder and only found a file names "panel".. its size is 0 KB and has no content inside it.... :rolleyes:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
0 means nothing it was written mistakenly sorry for that..

2 ways to access that

1st via recovery

2nd Via Adb And it's best..

Use Adb And Pull the sys folder out ( full folder )

i guess u can do that, but still..

Adb pull /sys it's the command for pulling

and press enter

---------- Post added at 08:16 PM ---------- Previous post was at 08:02 PM ----------

Also try to pull a logcat via adb when running the rom...pls

And set the density to 160..it will help to see if that specific one shows fully or not

it's for tab ui mode and see the changes...and post
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Ok mate I finally got some free time to spend on my ROM... So I started working on my ROM's build.prop... Other than removing Surface Dithering (persist.sys.use_dithering=1) should I remove anything else?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
yes change the density to 160..and see whether it too shows the half display...

and especially check the hw overlays....

and check the above posts and try them too.

and post
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Ok.... but I didn't find anything which resembles "hw overlays" on my build.prop
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] shut_down:
Why can't you simpy try with stock build.prop - if problem is still there than most probably error is not caused but changes in build.prop...

Послато са GT-I9070 користећи Тапаталк 4
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Yeah mate I am planning to this.. I will replace my ROM's files with stock firmware's files ONE BY ONE to find the culprit of this problem... and hopefully it will get solved soon and then I can finally release ny ROM - its already Very Late :p

I am busy with my studies so I am only free on weekends and holidays only... :o
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
[MENTION=5354640]ADDICT.ANK[/MENTION],

Ok, I had some free time tonight so I tried the following things listed below:

- I removed persist.sys.use_dithering=1 (Surface Dithering) from my ROM's build.prop (it didn't help solve my issue) :(

- I changed ro.sf.lcd_density=240 to ro.sf.lcd_density=160 (it too didn't help solve my issue) :(

- I then completely replaced my ROM's build.prop with stock firmware's build.prop (it too didn't help solve my issue) :(

Sorry I can't provide any logs right now.. I will try again tomorrow, if there is anything else you recommend me to do then please tell me :o
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Listen u can use team viewer's remote device software..

via that let me see it more easily..

And check in modules for hid and hw overlays... also check the andoid policy and services .jar..

And at 160 dpi did u got the tablet ui.

Use once the xposed framework and app setting modules and change the ratio and scaling from there too..
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
- I'm not really a fan of using Teamviewer because the only person who sees and uses all my PCs and laptop is me only.. But I can share all the necessary files with you so that you can take a look at them... I will upload the entire ROM if necessary....

- "check in modules for hid and hw overlays.." - Can you please explain this briefly because I didn't understand it

- Exactly what should I check for in android.policy.jar and services.jar? I didn't edit or modify them (for now) - I only deodexed them

- Yes, I think I got Tablet UI at 160 dpi (every thing was small..) but as usual I only saw a part of my screen NOT the entire thing :(
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] shut_down:
I think it would be a lot faster to start over, instead of looking for problem over and over again. Maybe I missed, but did you tried to use stock framework, systemui and those jar files?

Послато са GT-I9070 користећи Тапаталк 4
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Yes, not only that, I replaced my ROM's entire app folder and framework folder with stock firmware's app and framework folders.. And it still did not solve this problem... :mad:

(Post added)

Ok, I have a plan... I will soon replace all my ROM's files and folders with pure and odexed stock firmware's files amd folders.. then I will flash it and see if it works... and if that doesnt work then maybe something else might be wrong....

If it works I will add my ROM's files one by one and find out wjo the culprit is... :)
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
I am still checking the framework.

And no probs for the team viewer 1 idea.

I'll ask u for the files.

And do onething u can pull a log via apkmultitool.

And is there anything missing I guess!

Do one thing instead of manualy moving

Flash the stock system with ur updater script..

Then mount ur system.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
[MENTION=5354640]ADDICT.ANK[/MENTION],

Okay mate, I did what you told me to do... I flashed all the files from stock firmware's system folder using my META-INF and a custom kernel.. and guess what, it did not cause any weird display issue!! So that means that there is a file or folder in MY ROM that might be causing this Display problem...

But yes, the stock ROM is now stuck at Setup! After the Samsung boot animation, I get the following error messages:

- Unfortunately com.google.process.gapps has stopped

- Unfortunately android keyboard has stopped

- Unfortunately Setup Wizard has stopped working

If I tap on ok then those messages keep coming back and at the end Setup wizard restarts and the error messages starts popping up again...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Firstly really sorry for replying late...as got stucked due to studies though..

Anyways

So that's great finally its that updater script is not a problem now..

and when the problem occured what was the kernel u used ??

The same 1 ur using now or the stock 1..

And for these errors

Put the stock setup wizard in your system folder.. and then flash or mount it.

Either use a stock kernel and see does it still gives stooped working or fc's?

or

As the custom kernel it would have cwm..

from there clear data and cache and fix permissions and then boot up...

As there are a few things that would clash up in framework.. But that's fixable and will be fixed too soon.

Try that and post me...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
- Ok.. but I used everything from stock ROM (no part of my ROM was included in the zip - other than META-INF folder) So that Setup Wizard was also un-modified....

- I tried it with the same custom kernel I used on my ROM; I also used another custom kernel and I got the same result

- Yes, I did wipe data, dalvik and cache after installing my ROM, it still gave me F.C errors stated above

- I don't want to use stock kernel because stock recovery doesn't have too many features and functions like CWM and TWRP does...

Well anyway, I will start replacing ONE folder from stock ROM with my ROM's folder and with this I think I can find the culprit of "no display issue"
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
yep that would be doing the job... so did the setup wizard worked or not...just put urs in it and then see..

Also i know things were stock.... but i am just asking u to try it once the stock kernel after u would have finished your system mount

and guess what i dont think that the display will change as it was b4 and that's good...And if it did it will be easy to find.

also fc can be stopped..

if still not just replace the framework with urs...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Bulgaricus:
just to ask!!! if you do all the wipes and flash stock firmware, will you have the same problem?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
No, this problem only occurs when I flash my ROM... to fix it, all I need to do is do a full wipe and flash stock firmware using Odin...

So its definitely caused by some file(s) that is inside my ROM...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
just replace the framework only with stock one in ur rom and test it...

and post me
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Ok.. I just replaced ONLY my ROM's framework-res.apk with stock framework-res.apk and it still gave me the same "no display issue".. :mad:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
that's good means framework's conflicting with it... probably android policy.jar or services.jar..

and after putting the stock framework..can u do that and see..

also did u include the bravia engine etc. in the rom or any stock samsung's display utility that doesn't work with custom kernel..

i'll probably try to fix the framework asap..but after the stock firmware test which i said in above lines, as it will confirm the culprit..
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Great news guys!!!

[MENTION=5354640]ADDICT.ANK[/MENTION] [MENTION=2805784]mr.harsh[/MENTION] [MENTION=5261186]Mr.xD97[/MENTION] [MENTION=2991046]shut_down[/MENTION]

Okay, after a lot of Trial and Error, I did this

:

All I did was just replaced my ROM's media folder with stock firmware's media folder and guess what, I did not get any weird Display problems.. infact I did not get any errors at all!! I just finalized my installation by signing in with my gmail account and everything looks and feels normal to me.. :D

BUT here comes some bad news...

1. Even though I added superuser.apk, for some reason it didn't get installed (I don't see it on my app drawer).. and yes I did add its permissions in updater-script.. so why didn't it get installed?

2. There is NO BOOT ANIMATION... After installing my ROM, all I saw was "Samsung Galaxy logo..." and after that I saw the Installation Wizard.. how come no boot animation is played? :confused:

3. At the end of the installation, TWRP showed me this error BUT still it said "Installation Successful"

E:error opening "data/media"
E:error No such file or directory

Anyways, THANKS for all your help guys... and now all I need to do is solve those small issues... :victory:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Bulgaricus:
if u cant see bootanim means that you put a "faster boot" script this kills the bootanim :D about the superuser.apk are you sure you have added the correct perm?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
- I did not include any init.d scripts and I also don't remember including any codes or lines that could have caused the phone to skip the boot animation while booting...

- This is the permission I added for Superuser in my updater-script:

symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/superuser.apk");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/bin/su");

Is it wrong? or is something missing?

*** EDIT ***

I just rebooted my phone and I can now see the Superuser Icon on my app drawer... that's weird, or maybe it was installed and I did not notice it before.. :p
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Abhinandh Ajay:
For the boot animation, are you sure that you have your animation in the media folder. If yes then try replacing it with some other animation and see if that works. :thumbup::thumbup:

And as for the 3rd error that you're getting, check if there is any extra permissions set on your updater-script related to the /data/media folder. If its there then remove it and try flashing again. :thumbup::thumbup::D
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Damn even i forgot that..

As couple of days ago i flashe the new bootanimation. which led me to this..but the screen was blank...

So definitely it is bootanimation...

this is the reason for no boot animation check the desc.txt of the bootanimation before flashing

also u can replace the stock bootanimation or use make boot animation for the correct desc.txt to be used..

for superuser.apk try to install it later on or check the permission in updater script as the su might need update..

check the superuser or su in system/app folder maually and see if its there or not

just place urs or the stock one

and u are good to go for the release...

Good luck with that..

And do post the release dates pls.

ur warmly welcome anytime
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] androiddoctor:
Congratulation, please post update and link to your rom as soon it's ready, I'm waiting.:thumbup:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
UPDATE!!

- Okay.. Superuser and Root access is now working (after rebooting the phone).. So this issue is now fixed.

- I did add this line below on my build.prop... can this be the reason why my Boot Animation is skipped?

ro.config.hw_quickpoweron=true

- I still don't know how my ROM's display issue is related with media folder.. I mean, other then adding and removing a couple of Ringtones and Notification tones, I did not edit or modify any of the media files in the media folder, so do you guys have any idea what made the media folder cause this issue?

- If media folder caused this problem then how come my logcat showed some other errors? This is what confuses me the most...
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] :
Nope it's not about with this code. :good:

But if you have this code

debug.sf.nobootanimation=1

Remove it or do it 0
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Nope, I don't have this code in my build.prop.. Although my phone boots much faster now, I really miss my ROM's boot animation now :p
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Jeroenvk94:
Remove the line or make it 0 and retry

Verstuurd van mijn GT-I9070 met Tapatalk
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
i already told u in earlier post it's because of the desc.txt file in bootanimation which causes this..

so it's hard to find in the log cat as it's zipped...

and will be shown if particularly checked..

And the code u added skips the bootanimation..if the bootanimation is there in system/media .that's why there's no bootanimation....

and if it's not there then it will collapse.

So plaace the stock bootanimation.zip from the stock rom into ur rom

and set the permissions to rw-r-r
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Okay.. here's the contents of my desc.txt file.. I tested it on Boot Animation Previewer (a program for checking boot animation in Windows PC) and there it did not show me any error....

480 800 22
p 65 0 intro
p 0 0 loop
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
check the stock animation's desc.txt and compare..

They should be same...

Just for once put that one (stock anim) and boot and see...

Also check the contents of the bootanimation.zip

that all files are there and in correct folders

like in part 0 there should be 65 pngs...

And post
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Samsung does not use bootanimation.zip for Boot Animation and Shutdown Animation.. Instead they use bootsamsung.qmg, bootsamsungloop.qmg and shutdown.qmg....

A few weeks back, I tried to make my own bootsamsung.qmg and shutdown.qmg.. BUT for some reason my phone would still play Samsung's boot animation and shutdown animation even when I completely removed them system > media folder...

I've attached my bootanimation.zip for you to check it out :o
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
I'll take a look and post u..

And apart from those keep it under testing for networks, connectivity, camera and other apps....to finalize it...

good luck
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Thanks man... and yeah, did you take a look at my bootanimation.zip for errors? :o

Anyways, I have a couple of questions and I was hoping that you could answer them for me....

1. I want to integrate V6 Supercharger with my ROM, but I don't know how to put the busybox binaries in my ROM, so can you tell me how I can do that? I only have a file named "busybox" in my ROM's bin and xbin folder.. is that it or am I supposed to something else too?

2. Can I upload my ROM on my website's server (and link my website with my ROM's xda thread)? Because I have enough space left there and it can provide 99.9% uptime unlike devhost which sometimes isn't available or provides slower download speed for downloading any big files...

3. Can I open my ROM's xda thread as a DevDB project instead of the usual "new thread" method?
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] BOOTMGR:
I'm glad that you solved your problems with ROM.

About bootanimation don't compress it.Select store as compression method.

ro.config.hw_quickpoweron=true will skip the bootanimation.

1) Yeah there will be just busybox binary there.You need to create symlinks using updater-script.

2) Of course (btw,xda devdb allows you to upload files upto 1GB)

3) Of course
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
1. For v6 there are already bfiles in the v6 thread just put those script tweak files in respective dirs...and then run it from teminal or rom toolbox or any scripter...

2. u can upload ur rom any time and put the stock bootanimation from the stock rom and for finsl time test it again to make sure that bugs are fixed before uploading and post me ...

for uploading on ur website and xda server... it's best, as a server.... but try to keep the traffic down on any 1 site.. to avoid theand slow downloading speed...

3. U can create a thread for ur rom and for dev db, send a pm to any moderator and ask him also....as u can open it i guess...

and it would be best that u keep the 1 page reserved for rom info, screenshots, instructions for installation...

changelog and features....

and it's on u to decide that for ques and ans. and bugs reporting to be in the rom thread or u want to create a new thread for it....

so best of luck for final testing and post me when it's done.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
How to add new languages to my ROM?

So basically I want to add languages like Arabic, Farsi, etc. to my ROM (i.e make it multi csc), do you have any idea on how I can do this? Because a couple of people requested me to add their native languages but I don't know how to do it.. :o

EDIT: I've successfully added Farsi and Arabic language today :cool:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] phyowaiummg:
Release Date

: Probably on 20th October 2013

Finally

​
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] AltamashAN:
Sami bro, if you do add more languages, please add urdu language too.

thank you in anticipation.

Sorry for bad English.
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
I will try to add Urdu as well.. I will let you know if I succeeded or not :good:

Yeah dude, if everything works as I've planned then I will release it on Sunday (20th Oct) or else I will release it on Wed (23rd Oct)

Thanks man! My ROM is 98% completed; but it took me some time to make that custom boot animation and I wanted to include that also in my ROM, so did you find out what made my boot animation to cause this Display issue in the first place? :o
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Jeroenvk94:
Maybe it screwed something in the /media folder

Verstuurd van mijn GT-I9070 met Tapatalk
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
No mate.. Its not like that... Everything else in my media folder are ok; this issue occurs only when I add my boot animation.. if I remove it then it becomes okay again.. And I honestly have no idea how or why this happens :silly:

I just removed "ro.config.hw_quickpoweron=true" from my build.prop.. for some reason it still skips the boot animation..

This is really weird! :eek:
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] :
Maybe it's about bootanimation file or perms, did you try another file ?

Perms : rw-r-r

Owners : root:root

Here google's
[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] ADDICT.ANK:
Use this desc.txt and replace it with the original desc.txt present in your bootanimation..

And post me..