yashsingh1/xdaforums huggingface dataset:
[Gen8 Android Development] ArcSmurf:
Been looking at stock/cm7 dpi setting and seems to say its 160, but if use this in ics build.prop i get a top notification bar and no navigation buttons :(

Anyone have any thougts?
[Gen8 Android Development] bizcuite:
Nice!! I like to see this!! :)

I don't know why ATM, but there is an "over-limit" with dpi who switch between tablet and phone modes.

If i can find the condition write in the code and change the value, i think you can used all dpi that you want.

Can anyone confirm the limit to switch between tablet and phone modes?

Bizcuite
[Gen8 Android Development] ArcSmurf:
Looking around found this in one of the xda posts

Tablet mode can be entered by changing the DPI of the device to 128 or less, but putting it below 120 causes bootloops. I am still testing my mod, but it appears to work on any ICS rom for the player 5. All you have to do is flash the zip file in recovery over the rom you want to apply it to. No wipes required and setting the DPI above 128 returns the player to Phone UI.

So my 160 DPI switched to phone UI
[Gen8 Android Development] Guanfy:
I tried out your build.prop following your instructions and my market remained the same. Still locked down with no apps.
[Gen8 Android Development] wilsey:
@ArcSmurf @Guanfy

Have another fix for market here which should work, will post it up shortly :)
[Gen8 Android Development] bizcuite:
A precision:

don't touch :ro.board.platform=

Or you will have a black screen after boot :D

Bizcuite
[Gen8 Android Development] bizcuite:
Another thing, i think have a fix for soft button hides because of your dpi is to high.

// For small-screen devices (read: phones) that lack hardware navigation buttons
private void addNavigationBar() {
if (mNavigationBarView == null) return;

prepareNavigationBarView();

WindowManagerImpl.getDefault().addView(
mNavigationBarView, getNavigationBarLayoutParams());
}

I must modify this code.

Biz.
[Gen8 Android Development] wilsey:
Quick fix for market problems, Still not great but more apps showing!

Make sure you are using Bizcuite latest release with gapps installed,

Then modify open your build.prop and modify to these values :

ro.product.model=GT-P1000

ro.product.brand=samsung

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=GT-P1000-user 2.3.5 GINGERBREAD XXJVT release-keys

ro.build.fingerprint=samsung/GT-P1000/GT-P1000:2.3.5/GINGERBREAD/XXJVT:user/release-keys

Then download 'LCD Density Modder Pro 2.4.2' (Google it), and install to your Tab

Once installed, Open and click 'Fix Market Compatibility Issues'

Follow the instructions, Set your DPI to 160 MDPI and downloaded the modded store and googleservicesframework, reboot and test :)
[Gen8 Android Development] Mavasilisk:
Thats right. With the one exception that the market will recognize the tab as Gingerbread and ICS-only compatible apps will not show up but its not a bad beginning as for now we cant download even browsers.
[Gen8 Android Development] wilsey:
Working on that now, Few things stopping full market, build.prop, dpi and also missing permission files etc
[Gen8 Android Development] bizcuite:
Can you try this if you have pb with dpi and phonemode (no softbutton).

I have made a fix. I have no problem with it, can you make me a report please.

I don't know if LCD Density modder fix the problem, if yes, try without it please.

Just rename the file without ".zip" and push it in system/app/ (backup your old systemUI.apk)

Bizcuite
[Gen8 Android Development] Mavasilisk:
Ive tried lcd modder once and it caused the device to pass out. It was soft restarting-freezing-soft restarting-freezing until I hard rebooted it.
[Gen8 Android Development] wilsey:
Just in the middle of formatting and re-installing, will try without fixes and your new systemUI.apk once complete :)
[Gen8 Android Development] wilsey:
This didn't make a difference on my system, The A101 didn't really have the DPI problem as the rest... But hopefully help others :)

Oh... BTW :laugh:

COMPLETE FULL MARKET :D

Small guide shortly, alot of changes to make, I will upload a zip for you to include in next release also Bizcuite if you want :)
[Gen8 Android Development] wilsey:
I did this from a fll format but you shouldn't need to

Needed :

Latest Biscuite Release along with Gapps, Both must work and open Play store at least once.

'LCD Density Modder Pro 2.4.2' (google)

Marketfix.zip (attached)

'Working ADB'

Now that you all that, extract the modded files.zip into your adb directory, this should give you 3 items

build.prop

fix_permissions

permissions folder

Now open build.prop and find the line

ro.sf.lcd_density = 120

simply change the value 120 to whatever value you like (128? maybe fixed with Bizcuite latest systemUI.apk)

Save and exit.

Now open a cmd prompt in the adb folder and issue this commands separably

adb push build.prop /system/build.prop

adb push permissions /system/etc/permissions/

adb push fix_permissions /system/bin/fix_permissions

adb shell fix_permissions

adb install LCD_Density_Modder_Pro+2.4.2.apk

adb reboot

Once rebooted, Open LCD Modder Pro and select Fix market Compatibility issues

Then Select DPI value MDPI-160

Download Modded Play Store

Download Modded GSF

Then click install Mods

And reboot once the prompt says to.

Once rebooted You will now have full access to the Play store, Remeber to use a Gmail account to access it ;)

For people having issues with superuser, Open the superuser and update it, even if says latest version, UPDATE!! Will fix it continually asking for superuser requests :)

Bizcuite, You need to include all the permissions files, Build.prop tweaks and fix_permissions into your next release :)

Hope This helps

BTW, Install Nova Prime Launcher if you can, It is far zipper on my A101 :)
[Gen8 Android Development] bizcuite:
Can you give by ls -l, the rights that i must apply in all folders above please?

I will put this in my script to create image file for the new version.

For my SystemUI fix, Can A70S users made me report please? (A101 and A70S2 hasn't this pb, because A70S has phone resolution, and considere like this by android)

Just rename the file without ".zip" and push it in system/app (save old systemUI before that).

Your must have always the soft button, if not, the fix isn't a success. Change your dpi to see this in build.prop(dpi density > 128).

Many thanks for your help Wisley.

Bizcuite
[Gen8 Android Development] bizcuite:
If you speak about rootexplorer, i have installed an old backup. I have no fix for this : /

I haven't install your fix atm, but i hope it works on all tabs.

Bizcuite
[Gen8 Android Development] Mavasilisk:
People without adb knowledge or unable to run it can simply copy-paste and overwrite the files from above with Root Explorer or some similar root file manager.
[Gen8 Android Development] bizcuite:
I have seen that you used a base from i9100, SGS2. The GPU is a mali (and other GPU i don't remember which, ty Samsung).

Look if you can have any application only for PVR SGX540/530 (an app like benchmark or a graphic app only for SGS1).

I haven't any named of app to give you, but i think that it's better to try.

Or try directly with a build.prop from SGS1 i9000 if you want.

Bizcuite.
[Gen8 Android Development] wilsey:
Any fingerprint edits should work now, the main reason was the permissions folder and dpi :)

I will try it with the i9000 settings and report back
[Gen8 Android Development] Guanfy:
I tried out the new SystemUI.apk file... I don't really see any difference. The screen size still isn't quite right. If anything the only difference that I see is that the tab is now running a bit slower and more laggy than before.

---------- Post added at 08:23 AM ---------- Previous post was at 07:58 AM ----------

I tried to follow you guide, but I can't download the modded market and gsf files. The Great Firewall is preventing me. Is there any way you could harvest those apks so that I could install them manually?. I also tried the temp method, but after the fast reboot the SystemUI crashes and the settings don't change.
[Gen8 Android Development] wilsey:
Here you go...Dont know if this is allowed, If not shall remove it!!

Copy to the System/App folder
[Gen8 Android Development] Guanfy:
so this is what I need for the modded market and gfs? I can't download either due to internet restrictions from being in China. Do I need to push these files to specific places or can I drop them to the root of my system and then install?
[Gen8 Android Development] wilsey:
Do these commands from adb

adb push Phonesky.apk /system/app/Phonesky.apk

adb push GoogleServicesFramework.apk /system/app/GoogleServicesFramework.apk

adb reboot

Hopefully that should get you running
[Gen8 Android Development] Guanfy:
After pushing the two files, do I still need to follow the steps with LCD Modder?
[Gen8 Android Development] wilsey:
Don't think so, after reboot check market..
[Gen8 Android Development] Guanfy:
Tried it, and my play store app just keeps crashing.
[Gen8 Android Development] wilsey:
Open Modder pro

Slide to the right and click Clear Market Data

Slide to the left again and select market fix

select kill play store, then open...
[Gen8 Android Development] Guanfy:
Still crashes.
[Gen8 Android Development] wilsey:
Its late here, 3am

Try fixing permissions

Using root explrer, going into system/app and clicking the files, reinstall

Try differnt things :)
[Gen8 Android Development] bizcuite:
Laggy than before, i think that you must rename the old apk than SystemUI.apkbackup (break the extension, else the old apk will be take in consideration).

After push the file that i madeand change right with a terminal or adb: chmod 0644 /system/app/SystemUI.apk

And make 2 test: one with 120 (minicom report please) and a second with 160 dpi (minicom report). i can see by this way if fix works. (there is a debug "phonestatusbar" or "tabletstatusbar" is the log)

try this without any software who change the screen ;)

Bizcuite
[Gen8 Android Development] Mavasilisk:
Here comes the music. "Clean Player" which is free in the market allows us to play music. Start the app and select the upper left corner then select "/" and locate your music folder. Have fun.

I dont know about you guys but I've many crashes trying to open the browser (actually all of the crashes were caused when I try to open it). Ive tried "Boat Browser" & "Dolphin Browser" and its crashing with them both. What browser are you using and is it crashing? By crashing I mean the whole system to reboot.
[Gen8 Android Development] Guanfy:
I have been using the stock browser without issue. It's slow and not the greatest, but I can do basic browsing on it.
[Gen8 Android Development] Mavasilisk:
I just came to say it too and I saw you did it before me, so I can confirm it. Typing from stock browser now. Its not performing that bad at all especially when I didn't have to add all my favorites.

Did somebody try the player?
[Gen8 Android Development] Guanfy:
I'll get on this tomorrow morning. Just finished bringing a dead computer back to life today. I think i'm all out of computer fixing mana :)
[Gen8 Android Development] Mavasilisk:
We need some stability as it freezes under heavy load (Loading browser,loading games)
[Gen8 Android Development] bizcuite:
When you have installed the last version, have you take a cleaned data_ICS.img? A wipe is necessary. I haven't any pb.

Bizcuite
[Gen8 Android Development] Mavasilisk:
I reformated the tablet and everything is new. Is there any option that I should not touch and which is probably the problem? I have kboot is it cauing the problem?
[Gen8 Android Development] wilsey:
I dont think kboot is the problem, Have been getting few crashes lately also, seems to be a memory management issue, the more apps that load at once the slower it gets and boom, crash, these things have a tiny amount of ram, 256, and all that wouldn't be available to the user? I think i read somewhere 198mb was all that was free
[Gen8 Android Development] Mavasilisk:
What about the zRam? The compressed part of memory in "Performance" settings (as known as "compcache"), should I turn it on or off?

I've installed "Swapper 2“ few minutes ago and its working good til now. I will tell you guys again if there are any crashes. Dunno if its really working but it asked for root rights when I opened few apps.
[Gen8 Android Development] bizcuite:
Just tape "free" in a temrinal or by adb.

And see if swap (zram) is empty or not (if value = 0 swap not active).

http://wiki.cyanogenmod.com/wiki/Swap_and_Compcache

Bizcuite
[Gen8 Android Development] Mavasilisk:
I think "zRam" in this case is "compcache" cuz the compcache is a compressed part of the memory which is written below the settings for zRam. Anyway, I was playing around with "Swapper 2" turned on and the following apps were opened: Music player , Browser with 2 tabs, Play Store , Youtube Player (was checking out game trailer while downloading the game) and Wifi (dunno if Wifi makes sense but anyway it was turned on).

EDIT#1: The launcher was not killed while I was playing around. I've forgot to mention it.
[Gen8 Android Development] ArcSmurf:
Just tried and keep getting "Unfortunately, System UI has stopped" - will revert to original SystemUI.apk

Oops - helps if you spell the file correctly when upload SystemI.apk didn't work!

Still name corrected and cant see any difference - still no buttons on 160 dpi.

Will revert to 128 and try the other market fixes.
[Gen8 Android Development] wilsey:
Biscuite, can you include 512/1gb data images on next release? Also maybe preload app2sd or another alternative?
[Gen8 Android Development] bizcuite:
When i see your message i think that you have a pb with /cache folder...... :D

Right? (say me if you don't know how have information)

Bizcuite (go to bed nearly)
[Gen8 Android Development] Mavasilisk:
Biz, can you pay attention on stability first? I think a stable rom is more important then density. I can play 720p movies on your ROM but sometimes it crashes for nothing. I will be glad to help u with reports and test to fix it up.
[Gen8 Android Development] Guanfy:
+1 on that. Right now it runs ok when I don't turn off the screen, but as soon as I do... a few minutes later it will freeze and/or reboot. If I could figure out how to get minicom working again after boot, I would send in a log to Biz.
[Gen8 Android Development] bizcuite:
I haven't any crash with the rom (i have 512Mo of ram, i know). But i cannot play any 720p video (sgs1 makes video with this format, and cannot play it) i am very surprised that you can play it.

In my youtube video, i play (with difficulty without mxplayer or VLC apps) i play a video of metallica format:h264 - 688x368 -- AC3 - 48KHz.

720p aka 1024x720 is impossible with my rom (i have videos 720p -- AAC 16k mono channel of my daughter in her school encode this with format, and i cannot play it, i can make a you tube of this to prove).

Any user has crash with this ROM? i want that user confirmed it... (my tab was 2days on power on, and no problem with it)

If kboot is the cause of crash, can any gen8 user say me if you have crash+kboot? or crash alone.

If you say nothing i can't nothing for you. My tab isn't the same of yours (the "bad little duck" :D of Gen8).

@Mavasilisk: I want to be sure before make anything on kernel or CM9 code.

Bizcuite
[Gen8 Android Development] bizcuite:
Guanfy i think that the pb whith your tab, HD version, comes from deep sleep=all system is in sleep mode.

You can see sleep mode time with cpu spy.

Bizcuite
[Gen8 Android Development] Guanfy:
Ok. I'll try to get that setup. Right now I am making the 2nd minicom log that you requested yesterday. I'll have the two logs posted in a few minutes.
[Gen8 Android Development] Guanfy:
Ok, here are the results of the two tests that you wanted me to do. After I ran the chmod command, the laggyiness cleaned up and it ran smoothly. At 120 dpi, I didn't have the screen cutoff issue anymore.

At 160 dpi, the SystemUi file crashed, and the tab booted in phone configuration. Logs are attached below.
[Gen8 Android Development] bizcuite:
I don't know if Mavasilisk has same pb (about crash after screen off screen on).

You can make me a logcat (with adb version (NONE with minicom intiramfs ot adb version page 41 or 41) or with a terminal.

just enter in terminal under android or with adb: "logcat > /storage/logcat_biz1.txt"

between screen on - screen off => crash/reboot/others

I think that i can see the bug.

@Mavasilisk or Gen8 users; have you got ant crash/reboot/others with my CM9 image?

Bizcuite
[Gen8 Android Development] Guanfy:
To clarify, you want me to switch to the adb initramfs and then try to capture a log via adb under android with the command you provided?
[Gen8 Android Development] Mavasilisk:
I have never had any crashes after coming out of sleep. I even turn off the screen while watching HD videos 720p or playing games. The device was running 2 days and the only freezes I got were when I open an app which loads heavy ram I think.
[Gen8 Android Development] joaoalex:
hi,

I use kboot and many app's have crashes. One example is dolphin, after open 2/3 tabs at same time the app make an auto close. Some app's like opera mobile browser cause reboot.

Thank's

João
[Gen8 Android Development] bizcuite:
Can you see if your data and image files are full? (i haven't lot of Apps and no crashes).

I must see how transfert cache folders in data image.

Bizcuite
[Gen8 Android Development] wilsey:
Data img is full, thats why i was saying about making bigger ones :) Also try maxaton browser tablet version, Hasn't crashed on me yet :D
[Gen8 Android Development] Mavasilisk:
Can we use data image from CM7 and just rename it data_CM9.img?

EDIT#1: I've read somewhere in the forum that data images can be increased but dont remember where. It was either in CM7 or UrukDroid section I think, cant find it for now.

http://xdaforums.com/showthread.php?t=824154 This is a HOW-TO make a bigger data.img

EDIT#2: I've resized my data.img to 513 (Cant make it 512) and I will check it out now.

EDIT#3: It seems like only 256mb are adressed by the system but it isnt crashing for now.

EDIT#4: I've filled it up with apps and its performing good for now.
[Gen8 Android Development] bizcuite:
You can used CM7 data image.

qemu-img create -f raw ./data_ICS.img 1024M
mkfs.ext4 -qF -O ^huge_file ./data_ICS.img

This must work to make another image file (if i remember me well, i use a script)

Bizcuite

Edit: it's an ext4 partition
[Gen8 Android Development] Mavasilisk:
It looks like the device isnt crashing but the data.img is filling up with some crap (I have 5 apps which are ~10mb avarage and its almost full).

EDIT#1: I think its caching or smth.

EDIT#2: Is the system adressing the whole data.img if u make it 512 mb?
[Gen8 Android Development] bizcuite:
If your data image is not full android continue to install on it. There is no parameter for this ( i have seen nothing about this).

Bizcuite
[Gen8 Android Development] rottenapple88:
I can't install this rom, tablet (101it) says: Kernel not found

i've downloaded the attached files MINICOM_initramfs.cpio.gz and zImage_CM9_V1.0.1.zip

I have renamed in initramfs.cpio.gz and Zimage, then I was going in to the sde menu option > instal kernel and initramfs

i've put those files, press ok and then.. error message: kernel not found (zImage)

what's wrong?
[Gen8 Android Development] bizcuite:
Have you copy paste kernel and initramfs one by one.

If you paste its both it doesn't worked (for me). Rename kernel like zImage.

Try with another computer else.

Bizcuite
[Gen8 Android Development] rottenapple88:
Yes, i've copied one by one and i've renamed the file in zImage.. I use a mac.. later i will try whit windows, thx for the reply
[Gen8 Android Development] Mavasilisk:
Did somebody try with 512 data_ICS.img? I am setting up apps and I would like to know if somebody else is doing the efford to try it too.
[Gen8 Android Development] nikunj87:
Hi Mavasilisk, on my way back from office - will give it a try in a bit. Can you share your build.prop. I have not managed to get access to full market yet and therefore not installed too many apps.

Thanks,
[Gen8 Android Development] Mavasilisk:
There you go. This build.prop was uploaded by forum users so the credits go to them. You can find everything you need at page #47 I think.
[Gen8 Android Development] Bingoig11:
Beware of the case, it should be zImage, not Zimage ;)

---------- Post added at 10:54 PM ---------- Previous post was at 10:52 PM ----------

Noob question, how to generate a 512Mo Data.img?
[Gen8 Android Development] Guanfy:
Biz, don't know if you missed my post or not, but I'm still waiting on instructions from you about the command you wanted me to run from android terminal.
[Gen8 Android Development] ArcSmurf:
Am running with a 1gb image i had from a cm7 backup. So far seems okbut not yet got market running so installing from backup of akps taken vis titanium backup on cm7.

My cm7 occasionally says low space and is normally various files in the tombstone folder in the data area.
[Gen8 Android Development] rottenapple88:
thanks for the help but the file name is right, I was wrong to write just here ;)

nothing, also with windows i've the same error... i'll wait the next relese! :)
[Gen8 Android Development] bizcuite:
Missed :)

I am ill atm, and cannot make anything on rom actually (i work on usb share, know how it work, but, just a little).

EDIT:

Go go go do that :) when you have sent the command, make screen off/on many times, stop log when there is the bug and post the log here please :)

Next release will change nothing.

Check your USB devices connected on your computer (mp3 player, camera....) and uninstall all drivers related with its.

Retry or reinstall others drivers. My kernel cannot make this, it's impossible.

Just an idea, have you try to download again the file, maybe the download is bad.

Don't uncompress it, just rename it.

Try to change the usb cable too.

Bizcuite
[Gen8 Android Development] wilsey:
Hey Bizcuite, Sorry to hear your still unwell, Get better soon :)

Talk about a panic attack last night, went to switch my tab on and got 2 blinking lights and thought i had bricked it somehow! After searching online i read maybe battery had fialed/drained but knowing i had almost full charge coulndt be the problem, It wouldnt charge either! So read abit more, an found out to put a hair dryer to it... As this thing wont boot if cold (Freezing here in the UK) ... So i put a hair dyer to it.. IT BOOTED!!! WTF lol !

Anyways.. Bizcuite, I messed with the init.rc and few other files and went back to using the internal data instead of the data.img and things seem to be a lot better, Power hungry apps etc aren't crashing the tab anymore, and things seem to be a little quicker an smooter... Have been loading apps all morning without any force closes or restarts, Maybe something to do with it ?

Also a nice wee tool i found to throw Gapps onto the tab over adb here incase anyone has problems with the download folder :)
[Gen8 Android Development] bizcuite:
Same problem when my tab is arrived at home. My wife has let my tab next to an opened window in February in France :)

There is a temp sensor on tab.

I cannot make this because HD version doesn't used data in image file (Guanfy has made a test for me). His tab reboot and crash.

I have already made modification on my tab to have all cache folder in data image like divx118 in CM7.

It smells more smooth and stable.

I would like to do an "all in one" CM9 image (without google app, i cannot). I will see this if i cannot fix all GApps installation

You install, it runs.

Thanks for all!!! Your help is great!

Bizcuite
[Gen8 Android Development] Bingoig11:
I cannot get adb to work even when choosing debug NONE at boot...

Droid explorer cannot see the tab, adb shell tells me device not found.

Any ideas?
[Gen8 Android Development] Mavasilisk:
Are you going to upload it soon? I will be glad to try it.
[Gen8 Android Development] wilsey:
Have you ticked to use adb in Settings > Development > USB Debugging ?

You need to turn adb on to use it
[Gen8 Android Development] Bingoig11:
Yep, that's the first thing I've done ;)